Skip to main content

Create a Validation Invite

POST 

/v1/validation-invites

Create a Validation Invite

Request​

Body

required

    redirectUrlurl

    Url that the hosted form redirects to after the flow is completed

    Possible values: <= 255 characters

    Example: https://example.com/finish
    metadataobject

    You can use this parameter to attach key-value data to a Validation Invite

    languagestring

    Valid RFC 5646 language code

    Example: en-GB
    hostedConfigIdstring

    Hosted configuration id

    Example: hostedconfiguration_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Responses​

Successfully created a Validation Invite

Schema

    data

    object

    idstring
    Example: validationinvite_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    statusstring

    Possible values: [open, expired, complete]

    Example: open
    metadataobjectnullable

    Key-value data that you can attach to an object.

    Example: {"key1":"value1","key2":"value2"}
    languagestring

    Defaults to en-GB

    Example: en-GB
    redirectUrlurl

    Url that the hosted form redirects to after the flow is completed

    Example: https://example.com/finish
    urlurl

    Dynamic Hosted form URL for the validation invite

    Example: https://validation.poweredbypercent.com/validate/validationinvite_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx?token=asasjhd
    createdAtdate-time
    Example: 2020-10-13T17:46:54.000Z
    expiresAtdate-time
    Example: 2020-10-20T17:46:54.000Z
    objectstring
    Example: validation_invite