Delete note
DELETE
/api/v1/ext/contacts/{id}/notes/{note_id}
Delete one note.
Auth: Bearer access_token
Scope: contacts.write
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | number | yes | The contact id. |
| note_id | path | string | yes | The note id from List notes. |
Responses
| Status | When |
|---|---|
200 | OK |
401 | Missing or invalid token |
403 | Missing scope |
404 | Note does not exist or is not owned by the installer (same response for both) |
RequestResponses
curl -X DELETE "https://backend.mysmsgateway.app/api/v1/ext/contacts/{id}/notes/{note_id}" \
-H "Authorization: Bearer <ACCESS_TOKEN>"OK
{
"success": true,
"message": "Note deleted"
}Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Path parameters
The contact id.
The note id from List notes.
Request URL
DELETEhttps://backend.mysmsgateway.app/api/v1/ext/contacts/%7Bid%7D/notes/%7Bnote_id%7D
Previous
« Add note
Next
Get DND »
