Skip to main content
POST
Create a portal session URL for a contact to manage their mailing list subscripitons

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
contactEmail
string
required

The email of a contact in your project's contact list, who to create the portal session for.

Example:

"john@acme.com"

returnURL
string
required

URL to redirect the user to when they tap on that they're cone editing their lists, or when the session is expired.

Example:

"https://example.com/projects/123456/notification_settings"

Response

200 - application/json

The URL to redirect your user to, and the expiration date of the session.

success
boolean
data
object