cURL
curl --request PATCH \ --url https://api.amisend.com/broadcasts/unsubscribe/{broadcastId}/{contactId} \ --header 'Authorization: Bearer <token>'
{ "message": "Contact unsubscribed successfully" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the broadcast
ID of the contact
Contact unsubscribed successfully
The response is of type object.
object