POST
/
v1
/
contacts
/
delete
Delete contact
curl --request POST \
  --url https://app.loops.so/api/v1/contacts/delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "<string>",
  "userId": "<string>"
}'
{
  "success": true,
  "message": "Contact deleted."
}

Request

Body

You can delete a contact by using either their email or userId value.
email
string
The contact’s email address.
userId
string
The contact’s userId value.

Response

Success

success
boolean
required
message
string
required
“Contact deleted.”

Error

If a matching contact is not found, a 404 Not Found will be returned. All other errors will be 400 Bad Request.
success
boolean
required
message
string
required
An error message describing the problem with the request.
{
  "success": true,
  "message": "Contact deleted."
}