POST
/
customers
/
{id}
/
unsubscribe_embeds
Create an unsubscribe embed
curl --request POST \
  --url https://api.pocketflows.com/customers/{id}/unsubscribe_embeds \
  --header 'Authorization: Basic <encoded-value>'
{
  "id": "<string>",
  "url": "<string>",
  "customer": "<string>"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The ID of the customer that's unsubscribing

Response

200 - application/json

The created UnsubscribeEmbed object

id
string
required

The ID of the unsubscribe embed

url
string
required

The URL to embed the unsubscribe form

customer
string
required

The ID of the customer that's unsubscribing