Skip to main content
Regenerates a pre-authentication code for an existing application. This allows partners to issue fresh direct-access links without creating a new application — useful when a user leaves the form and returns later via the partner platform.

Authentication

Requires an API key with applications:create scope.

Path parameters

string
required
The application ID (UUID) returned by Create Application.

Response

Returns 201 Created on success.
string
The newly generated pre-authentication code. Expires 72 hours after creation.
Full URL with the new pre-auth code embedded. Redirect the user here to bypass email verification. Uses your custom domain when one is active.
string
ISO 8601 timestamp for when the pre-auth code expires.
string
UUID of the primary participant the code was issued for.
boolean
true if the participant has already verified their email. In this case the pre-auth code still works, but verification would not have been required anyway.

Examples

Response:
This endpoint is designed for the re-entry flow: a user starts an application, leaves the form, and later returns via the partner platform. Instead of creating a duplicate application, call this endpoint to get a fresh pre-auth link for the same application.
The already_verified field indicates whether the participant has already completed email verification. If true, the pre-auth code is still valid but redundant — the user would not be prompted for verification regardless.

Errors