Private API
The private API requires Pro and a scoped credential. Your public form URL cannot authenticate to it.
Create a credential
Open API and MCP as an owner or administrator. Choose the account, scopes and expiry. Copy the token when it appears: it is shown once. Store it on a trusted server, never in browser code.
| Scope | Access |
|---|---|
forms:read | List form summaries |
messages:read | Search and read messages and notification states |
attachments:read | Request an authorized attachment download |
forms:write | Create forms as an owner or administrator |
Read messages
curl 'https://glueforms.com/api/v1/private/accounts/ACCOUNT_ID/submissions/?page=1' \
-H "Authorization: Bearer $GLUEFORMS_TOKEN"The result contains count, next, previous and results, with up to 25 messages per page. Follow pagination. Use q for text and form for a stable form identity UUID. A configuration ID and historical form identity are different.
Create a form
curl 'https://glueforms.com/api/v1/private/accounts/ACCOUNT_ID/forms/' \
-H "Authorization: Bearer $GLUEFORMS_TOKEN" \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: contact-form-1' \
--data '{"name":"Contact"}'Keep the same Idempotency-Key when retrying this creation. A new form returns 201 and its submission_url. An exact retry returns 200. Reusing the key with a different name returns 409. A previously deleted creation returns 410 and is not recreated.
401 means invalid authentication. 403 means the current scope, role or plan does not allow access. 429 includes a request-rate delay. Revocation and account permissions apply on every call.
Endpoints and filters
Use the same Authorization header for each endpoint:
GET /api/v1/private/accounts/ACCOUNT_ID/forms/
GET /api/v1/private/accounts/ACCOUNT_ID/submissions/
GET /api/v1/private/accounts/ACCOUNT_ID/submissions/MESSAGE_ID/
GET /api/v1/private/accounts/ACCOUNT_ID/attachments/ATTACHMENT_ID/download/Message detail includes fields, timestamps, form identity, attachment metadata and notification states. Attachment download requires attachments:read and redirects to a private URL valid for five minutes. Anyone holding that URL can use it until expiry.
| Message filter | Value |
|---|---|
q | Text search, up to 200 characters |
form | Historical form identity UUID |
read | true or false |
status | Notification state, such as failed or unknown |
from, to | ISO timestamps with timezone. from is inclusive, to exclusive. |
Credentials expire in 1–365 days, with a 90-day default. The initial limit is 100 private requests per minute per token, plus shared IP protection. Reading does not consume submission quota. See the OpenAPI schema for the exact request and response structures.