Skip to main content

Create prospect

Create prospect for given email and activity.

Request Body required
    name string

    full name of the user

    email string required

    email of the user

    phone string

    phone number of the user

    activity string required

    activity for which user is subscribing, e.g. newsletter, waitlist, blogs etc

    status subscription status required

    Possible values: [STATUS_UNSPECIFIED, STATUS_UNSUBSCRIBED, STATUS_SUBSCRIBED]

    Default value: STATUS_UNSPECIFIED

    subscription status for this activity. Allowed values - 1 for UNSUBSCRIBED; 2 for SUBSCRIBED;

    source string

    source of this user addition e.g. platform, website, admin etc

    verified boolean

    verification status of this user addition e.g. true, false

    metadata object

    additional info as key value pair

Responses

A successful response.


Schema
    prospect object
    id string
    name string
    email string
    phone string
    activity string
    status subscription status

    Possible values: [STATUS_UNSPECIFIED, STATUS_UNSUBSCRIBED, STATUS_SUBSCRIBED]

    Default value: STATUS_UNSPECIFIED

    changed_at date-time
    source string
    verified boolean
    created_at date-time
    updated_at date-time
    metadata object
Loading...