Skip to main content

Create Subscriber Token

POST 

/subscribers/tokens

Create a Subscriber Token

Request

Body

required

    reference stringrequired

    A string that uniquely identifies the subscriber. Often it's an email, but can be any other string.

    expire_at integer

    A unixtime (the number of seconds since 1970-01-01 00:00:00) at which the token should no longer be valid. Defaults to 'two hours from now'

    application_id uuid

    Universal Unique Identifier.

    password string

    Set or update the subscriber's password. Omit this field or pass an empty string if you don't want to update the password.

    first_name string

    Set or update the first name of the subscriber.

    last_name string

    Set or update the last name of the subscriber.

    display_name string

    Set or update the display name of the subscriber.

    job_title string

    Set or update the job title of the subscriber.

    time_zone string

    Set or update the time zone of the subscriber.

    country string

    Set or update the country of the subscriber.

    region string

    Set or update the region of the subscriber.

    company_name string

    Set or update the company name of the subscriber.

Responses

The request has succeeded.

Schema

    subscriber_id uuidrequired

    Universal Unique Identifier.

    token uuidrequired

    Universal Unique Identifier.

Loading...