GET
/
unsubscribe_embeds
/
{id}
/
show
curl --request GET \
  --url https://api.pocketflows.com/unsubscribe_embeds/{id}/show \
  --header 'Authorization: Basic <encoded-value>'
"<string>"

You can pass ?campaign_id={campaign_id} to the URL to allow the customer to unsubscribe from a specific campaign. Otherwise it defaults to all current campaigns

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 unsubscribe embed

Response

200 - text/html
The embeddable HTML that will render a UI for unsubscribing from a campaign

The response is of type string.