Unsubscribes

Create Unsubscribe

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
numberstringRequired
Responses
chevron-right
200

Success

application/json
post
/unsubscribes

Get Unsubscribe for Number

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
numberstringRequired
Responses
chevron-right
200

Success

application/json
get
/unsubscribes/{number}

List Unsubscribes

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
pagenumberOptional
pageSizenumberOptional
sortBystringOptional
sortDirectionstring · enumOptionalPossible values:
querystringOptional
Responses
chevron-right
200

Success

application/json
get
/unsubscribes

Bulk Unsubscribes

post

This endpoint allows users to unsubscribe subscribers in bulk. The endpoint would accept array of objects with key "number", which is the phone number of the subscriber to unsubscribe and of type string.

undefined

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Bodyobject[]
numberstringRequired
Responses
chevron-right
200

Success

application/json
post
/unsubscribes/bulk

Last updated

Was this helpful?