Get a form
One form with the fields it has sent.
GET
/api/v1/forms/:idScope
forms:readReturns one form and its fields. Each field says where its value is saved.
Path parameters
Prop
Type
Example request
curl "https://api.pedibee.com/api/v1/forms/66f1c2a9e4b0a1b2c3d4e201" \
-H "Authorization: Bearer $PEDIBEE_API_KEY"Response
{
"id": "66f1c2a9e4b0a1b2c3d4e201",
"name": "Contact us",
"enabled": true,
"addToContacts": true,
"listId": null,
"allowedOrigins": ["https://northwind.io"],
"redirectUrl": null,
"browserUrl": "https://api.pedibee.com/f/pkf_3kT9xQ2mVb7LpR4sW8nYc1Zd",
"lastSubmittedAt": "2026-11-13T10:00:00.000Z",
"createdAt": "2026-11-01T09:00:00.000Z",
"fields": [
{ "id": "66f1c2a9e4b0a1b2c3d4e301", "key": "email", "label": "Email", "target": "AUTO", "contactField": null, "resolved": "contact.email" },
{ "id": "66f1c2a9e4b0a1b2c3d4e302", "key": "budget", "label": "Budget", "target": "CUSTOM", "contactField": { "id": "66f1c2a9e4b0a1b2c3d4e401", "key": "deal_size", "label": "Deal size" }, "resolved": "custom.deal_size" },
{ "id": "66f1c2a9e4b0a1b2c3d4e303", "key": "message", "label": "Message", "target": "AUTO", "contactField": null, "resolved": null }
],
"retentionDays": 365
}addToContacts says whether a submission finds or makes a contact. retentionDays is how many days your plan keeps a submission before it is deleted. Contacts are kept.
target is AUTO (found from the field's name), NONE (kept on the submission), or a choice made in the dashboard: EMAIL, NAME, FIRST_NAME, LAST_NAME, TITLE, PHONE or CUSTOM. resolved is where the value goes now, or null when it stays on the submission.
Errors
| Status | When |
|---|---|
403 | The key doesn't have forms:read, or the request came from a browser. |
404 | No form has this id in your workspace. |
401 | The API key is missing, invalid, revoked or expired. |
