Unsubscribing a contact using API

Stores that are implementing a custom integration with Remarkety and would like to unsubscribe a contact using an API request, you can use the following method.

Make an HTTP POST request to the following URL:

https://app.remarkety.com/api/v1/stores/{store_id}/contacts/unsubscribe

The {store_id} parameter is found on your Settings -> API Keys page in Remarkety:

Required headers

Header name value
Content-Type application/json
x-token Get an API Key from the API Keys section on your account

 

Request body should have the following fields:

Field name Field type Required
email   yes
reason string No - provide more info on the reason of unsubscribe

JSON body for example:


{
      "email": "example@example.com",
      "reason": "asked support agent to unsubscribe"
}
Have more questions? Submit a request

0 Comments

Article is closed for comments.