Skip to content
Documentation

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.

ScopeAccess
forms:readList form summaries
messages:readSearch and read messages and notification states
attachments:readRequest an authorized attachment download
forms:writeCreate forms as an owner or administrator

Read messages

curl
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
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:

Example
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 filterValue
qText search, up to 200 characters
formHistorical form identity UUID
readtrue or false
statusNotification state, such as failed or unknown
from, toISO 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.