@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api D7SMS
@base https://rest-api.d7networks.com/secure
@version 1.0.2
@auth basic
@endpoints 3
@toc balance(1), send(1), sendbatch(1)

@group balance
@endpoint GET /balance
@desc Balance
@returns(200)
@errors {500: Internal Server Error}

@endgroup

@group send
@endpoint POST /send
@desc SendSMS
@required {Body: map # Message Body, Content-Type: any, Accept: any}
@returns(200)
@errors {500: Internal Server Error}

@endgroup

@group sendbatch
@endpoint POST /sendbatch
@desc Bulk SMS
@required {Body: map # Message Body, Content-Type: any, Accept: any}
@returns(200)

@endgroup

@end
