curl --request POST \
--url https://api.open.cx/blocklist/contacts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "[email protected]",
"reason": "<string>"
}
'{
"statusCode": 123,
"message": "<string>",
"error": "<string>"
}Block a contact by email. The AI will stop responding to messages from this contact.
curl --request POST \
--url https://api.open.cx/blocklist/contacts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "[email protected]",
"reason": "<string>"
}
'{
"statusCode": 123,
"message": "<string>",
"error": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Default Response
Was this page helpful?