Skip to content
Letterhead Letterhead Letterhead Help Center
Admin Tools

Create a subscription

POST
/api/v3/contacts/{email}/subscriptions
curl --request POST \
--url https://api.tryletterhead.com/api/v3/contacts/example/subscriptions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "api": true, "channel": "annas-channel", "status": 2 }'

Subscribes the contact to a channel. Requires status and either channel (a channel slug) or channelId (the channel’s numeric id, a legacy alternative — channel takes precedence when both are supplied).

email
required
string

The contact’s email address, URL-encoded.

Media type application/json
object
api

Required. Set to true to authenticate with an API key.

boolean
channel

A channel slug. Required unless channelId is supplied.

string
channelId

A channel’s numeric id (legacy alternative to channel).

integer
status
required
integer
Example
{
"api": true,
"channel": "annas-channel",
"status": 2
}

Subscription created

Still can’t find what you need? Contact support.