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 |
|
|
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"
}'