POST
/
campaigns
/
{id}
/
embeds
curl --request POST \
  --url https://api.pocketflows.com/campaigns/{id}/embeds \
  --header 'Authorization: Basic <encoded-value>'
{
  "id": "<string>",
  "url": "<string>",
  "expires_at": "<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 campaign

Response

200 - application/json

The created CampaignEmbed object. Can be used to modify the campaign

The response is of type object.