Skip to content

Delete a contact

DELETE
/api/v2/contacts/{id}
curl --request DELETE \
--url https://api.sipstack.com/api/v2/contacts/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'x-api-key: <x-api-key>'

Soft-deletes the contact (contacts:write) — history and opt-out state are preserved. Idempotent; a second delete returns 404.

id
required
string format: uuid

Contact deleted.

Media type application/json
object
success
boolean
message
string
Example
{
"message": "Contact deleted"
}

Missing or invalid API key.

Media type application/json

Inline error shape used by the messaging API and management endpoints.

object
success
boolean
error
string
Example
{
"success": false,
"error": "Recipient phone number (to) is required"
}

Contact not found in your organization.

Media type application/json

Inline error shape used by the messaging API and management endpoints.

object
success
boolean
error
string
Example
{
"success": false,
"error": "Recipient phone number (to) is required"
}