PedibeeHelp

Submit a form

Send one submission to a form. The fields can have any names.

POST/api/v1/forms/:id/submissions
Scopeforms:write

Stores one submission, finds or creates the contact from the email field, fills the contact's blank fields and answers with where each field went. See how fields reach the contact.

Pedibee trusts what your server sends. Unlike the form's web address, this call does not take web addresses or merge tags out of the values, and has no per-person limit on automation events. If your server passes on text that a visitor typed, clean it before you use it in an email. A form set not to add people to contacts only stores the submission.

Path parameters

Prop

Type

Body

Prop

Type

Fields that look like secrets (password, card_number, cvv and the like) are not stored.

Example request

curl -X POST "https://api.pedibee.com/api/v1/forms/66f1c2a9e4b0a1b2c3d4e201/submissions" \
  -H "Authorization: Bearer $PEDIBEE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "externalId": "contact_8841",
    "pageUrl": "https://northwind.io/contact",
    "fields": { "email": "jane@northwind.io", "first_name": "Jane", "budget": "5000", "message": "Call me" }
  }'

Response

201 Created
{
  "id": "6703f1c2a9e4b0a1b2c3d4e5",
  "formId": "66f1c2a9e4b0a1b2c3d4e201",
  "status": "PROCESSED",
  "reason": null,
  "via": "API",
  "contactId": "66f1c2a9e4b0a1b2c3d4e5f6",
  "contactCreated": true,
  "pageUrl": "https://northwind.io/contact",
  "receivedAt": "2026-11-13T10:00:00.000Z",
  "fieldKeys": ["email", "first_name", "budget", "message"],
  "externalId": "contact_8841",
  "notified": true,
  "data": { "email": "jane@northwind.io", "first_name": "Jane", "budget": "5000", "message": "Call me" },
  "fields": {
    "email": { "to": "contact.email", "result": "to_contact" },
    "first_name": { "to": "contact.name", "result": "to_contact" },
    "budget": { "to": null, "result": "submission_only" },
    "message": { "to": null, "result": "submission_only" }
  },
  "duplicate": false
}

status is PROCESSED (linked to a contact), NO_CONTACT or RECEIVED (stored, and still being linked). With NO_CONTACT, reason is NO_EMAIL, INVALID_EMAIL, CONTACT_LIMIT, FAILED or CONTACTS_OFF (the form is set not to add people to contacts).

Each field's result is one of:

ResultMeaning
to_contactThe value was passed to the place in to. It is saved only if the contact had nothing there.
submission_onlyThe value is kept on the submission.
invalidThe value didn't fit the place in to. reason says why.
removedThe field looked like a secret and was not stored.

A repeated externalId answers 200 with the first submission and duplicate: true.

Errors

StatusWhen
400fields is missing or not an object, a value is nested, or a size limit is passed.
402The month's form submissions are used up.
403The key doesn't have forms:write, the form is turned off, or the request came from a browser.
404No form has this id in your workspace.
401The API key is missing, invalid, revoked or expired.
429Too many requests. Wait for the seconds in Retry-After.

On this page