Skip to main content
DELETE
/
{instance}
/
delete-message
Delete Message
curl --request DELETE \
  --url https://app.hypersender.com/api/sms/v1/{instance}/delete-message \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "message": "action performed successfully",
  "status": "success"
}'
{}
Delete a message from the database and removes the message content from the list of threads.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept
string

Path Parameters

instance
string
required

Instance UUID copied from hypersender dashboard

Example:

"{{ instance_id }}"

Query Parameters

messageId
string

Body

application/json · object

Response

No Content

The response is of type object.

I