Tokens
Overview
The Tokens API provides endpoints for generating public tokens for form access.
Endpoints
Generate Token
Generate a public access token for a form.
Endpoint: POST /v1/tokens
Authentication: Not required
Request Body:
{
"formId": "form_123",
"expiresIn": 3600
}Response: 201 Created
{
"token": "token_abc123",
"formId": "form_123",
"expiresAt": "2024-01-01T01:00:00Z"
}Usage
Public tokens provide temporary access to forms without requiring API keys.
Use Case
Share forms with limited-time access
Embed forms in third-party applications
Temporary form access for testing
Example
Token Security
Tokens expire after specified time
Single-use tokens (optional)
Rate limited per IP
Revocable
Examples
Generate Token
Next Steps
API Reference - API overview
Forms API - Form management
Authentication - Authentication details
Last updated