Block bulk & automated messages to a contact. Incoming messages are not blocked.
|phone_number||Phone number starting with the country code with or without leading plus. e.g.
HTTP status codes
|200||Request was successful.|
|400||Validation error or request body was incorrectly formatted.|
|401||Authentication failed. Check
|404||Requested API endpoint not found.|
|429||The rate limit has been reached.|
|500-511||There was a problem processing the request on our server. Try again later.|
|errors||Array of object
||Only present when status is
curl --location --request POST 'https://api.sociocs.com/contact/block/16175551212' \ --header 'apikey: [your api key]'