Create Signup Form JWT
Generate a signed JWT token encoding program enrollment settings for the collaborator signup form.
Last updated: April 9, 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 |
Example Response:
{
"token": "eyJhbGciOiJIUzI1NiIs..."
}