Add contact to group

Endpoint: https://account.mobilesasa.com/api/group/GroupID/add-contact


The GroupID in the URL is the GroupID of the group you want to add contact to. This is found in the SMS groups in the web platform.

# Headers Params Response
1 Content-Type: application/json

{
"api_key": "api_key",
"ContactPhone":"070707070",
"ContactName": "Kevv Doe"
}

{
"code": 1,
 "message": "Phone added succefully"
}
2 Accept: application/json
3 Authorization: Bearer access_token

Curl example:


curl -X POST \
https://account.mobilesasa.com/api/group/72de5dd0-2479-11e9-8530-ab317d1f95b7/add-contact \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer ' \
  -H 'Content-Type: application/json' \
  -d '{
  "api_key": "your_api_key",
  "ContactPhone": "0707070707",
  "ContactName": "@kevv_db"
}'