File: /home/fdguitar/www/v1/.scribe/endpoints.cache/01.yaml
## Autogenerated by Scribe. DO NOT MODIFY.
name: SMS
description: |-
API endpoints for sending SMS
endpoints:
-
httpMethods:
- POST
uri: api/sms
metadata:
groupName: SMS
groupDescription: |-
API endpoints for sending SMS
subgroup: ''
subgroupDescription: ''
title: 'Send a sms'
description: ''
authenticated: true
custom: []
headers:
Authorization: 'Bearer {YOUR_AUTH_KEY}'
Content-Type: application/json
Accept: application/json
urlParameters: []
cleanUrlParameters: []
queryParameters: []
cleanQueryParameters: []
bodyParameters:
phone:
name: phone
description: "The phone number of user . (don't use + or 00)"
required: true
example: '221778803582'
type: string
custom: []
message:
name: message
description: 'The message content (max to 255 chars).'
required: true
example: 'Your OTP code is 269800'
type: string
custom: []
cleanBodyParameters:
phone: '221778803582'
message: 'Your OTP code is 269800'
fileParameters: []
responses:
-
status: 200
content: |-
{
"success": true,
"message": "Sms sent",
}
headers: []
description: ''
custom: []
responseFields: []
auth:
- headers
- Authorization
- 'Bearer ef41aZ8ghcbv65a6VDE3dPk'
controller: null
method: null
route: null
custom: []