Messages: Delete a message
gapify_delete_messagePermanently delete a message and its attachments from a conversation using account, conversation, and message IDs.
Instructions
Delete a message and its attachments from a conversation [Messages]
DELETE /api/v1/accounts/{account_id}/conversations/{conversation_id}/messages/{message_id}
Auth: User API key (header api-access-token).
Destructive: this permanently deletes the resource.
Text values may be written in Persian (Farsi) or any other language and are sent unchanged; IDs, numbers and phone numbers may use Persian or Arabic-Indic digits.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"account_id": "<account_id>",
"conversation_id": "<conversation_id>",
"message_id": "<message_id>"
},
"name": "gapify_delete_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | The numeric ID of the account | |
| message_id | Yes | The numeric ID of the message | |
| conversation_id | Yes | The numeric ID of the conversation |