Delete contact
DELETE
/api/v1/ext/contacts/{id}
Soft-delete a contact.
Auth: Bearer access_token
Scope: contacts.write
The contact is soft-deleted — it stops appearing in API results and behaves exactly like one that never existed: a subsequent GET / PATCH / DELETE on its id returns 404 Not Found. Contact myCRMSIM support if you need a contact permanently removed.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | number | yes | Contact id. |
Responses
| Status | When |
|---|---|
200 | Deleted |
404 | Contact does not exist or is not owned by the installer |
RequestResponses
curl -X DELETE "https://backend.mysmsgateway.app/api/v1/ext/contacts/{id}" \
-H "Authorization: Bearer <ACCESS_TOKEN>"Deleted
{
"success": true,
"message": "Contact deleted.",
"data": {
"id": 1234,
"deleted": true
}
}Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Path parameters
Contact id.
Request URL
DELETEhttps://backend.mysmsgateway.app/api/v1/ext/contacts/%7Bid%7D
Previous
« Update contact
Next
Check iMessage »
