Add Email to Segment - Public

One-click segment signup. Queues the email to be added to the segment and returns the segment's redirect URL. Identify the subscriber with email, or with the signed submailinghash from an outgoing email. If the hash doesn't resolve to an email, nothing is queued and email is null in the response.

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

The segment ID

Body Params

Body Params

string

The email to add. Required without submailinghash.

string

Signed hash identifying the subscriber, from an outgoing email. Required without email; ignored when email is sent.

Responses

404

The segment was not found.

422

Neither email nor submailinghash was sent, or email is invalid.

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