Create Signup Form JWT
Generate a signed JWT token encoding program enrollment settings for the collaborator signup form.
Last updated: October 26, 2026
Create Signup Form JWT
POST /siren/v1/collaborators/create-signup-form-jwt
Generates a signed JWT token for use with the collaborator signup form. The token encodes program enrollment settings so the public signup endpoint can apply them without exposing admin configuration to the client.
Request Body:
| Field | Type | Required | Description |
|---|---|---|---|
programIds | integer[] | Yes | Program IDs that new signups will be enrolled in |
statusOnSignup | string | Yes | Status to assign to new collaborators (active or pending) |
approveExisting | boolean | Yes | Whether to auto-approve existing collaborators who sign up again |
distributorIds | integer[] | No | Distributor IDs new signups join, on Siren Essentials and up |
groupIds | integer[] | No | Collaborator group IDs new signups join, on Siren Plus and Pro |
The token has no expiry. Programs, distributors, and groups must exist.
Example Response:
{
"token": "eyJhbGciOiJIUzI1NiIs..."
}