Update Subscription

Updates a subscription. Setting active to true reactivates, false unsubscribes. Updating the email will migrate the subscription to the new email address.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

The id of the Subscription

Body Params

Body Params

string

The email for the subscription. When provided, the subscription is migrated to this email (can fail with 422).

integer

The id of the subscriber who the subscription should be associated with. If left blank, OptiPub will automatically associate this subscription with a subscriber who shares the email.

string

The IP address that the subscription was started from.

variables
array of strings

The variables to save with the subscription. These variables must exist within your variables configuration page.

variables
boolean

Whether the subscription should be active or not.

tag_ids
array of integers

Array of tag ids to associate with subscription

tag_ids
string

Comma-separated list of case-sensitive tag names to add to the subscription

string

Comma-separated list of case-sensitive tag names to remove from the subscription

Responses

422

Email migration failed (e.g. the target email already has a conflicting subscription).

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Choose an example:
application/json