v1

latestOpenAPI 3.1.02026-07-246014.7 KB

Unsubscribe

Opt outs subscribers from Postscript messaging.

patch/api/v2/compliance/unsubscribe

Headers

X-Postscript-Shop-Tokenstring

Shop API Token. Required for partners. This header should be used only by partners. Shops should include their API token in the Authorization header.

Request body

postscript_subscriber_idstring

ID of the subscriber you'd like to opt out.

phone_numberstring

A phone number of the subscriber you'd like to opt out.

Response

202

messagestring

Example response

{
  "message": "OK"
}