Send phonebook
post
Authorizations
x-auth-tokenstringRequired
Body
messagestringRequired
phonebookIdstringRequired
senderIdstringRequired
Responses
201Success
application/json
post
/public/sms/send-phonebook201Success
Last updated
Last updated
POST /public/sms/send-phonebook HTTP/1.1
Host: api.marsol.ly
x-auth-token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 57
{
"message": "text",
"phonebookId": "text",
"senderId": "text"
}{
"requestId": "text",
"accepted": 1,
"rejected": [
"text"
],
"duplicates": [
{
"number": "text",
"repeats": "text"
}
]
}POST /public/sms/send-phonebook HTTP/1.1
Host: api.marsol.ly
x-auth-token: your_api_token_here
Content-Type: application/json
{
"message": "text",
"phonebookId": "text",
"senderId": "text"
}{
"requestId": "string",
"accepted": 0,
"rejected": [
"string"
],
"duplicates": [
{
"number": "string",
"repeats": "string"
}
]
}