Skip to main content
Cognito Forms logo

Cognito Forms

Lets an agent work with Cognito Forms, an online form builder: list your forms, read a form's schema (to learn its internal field names), and list, get, create, update or delete entries (submissions).

What it can do

MethodWhat it does
cognitoforms_forms_listList forms in the account (id + name).
cognitoforms_form_getGet a form's schema, including internal field names.
cognitoforms_entries_listList entries for a form (OData filter / orderby / top / skip).
cognitoforms_entry_getGet one entry by id.
cognitoforms_entry_createCreate an entry from field values.
cognitoforms_entry_updateUpdate an entry's field values.
cognitoforms_entry_deleteDelete an entry.
cognitoforms_requestGeneric passthrough to any endpoint for full coverage.

When creating or updating entries, the fields object is keyed by the form's internal field names - read them first with cognitoforms_form_get.

How to get your key

The API authenticates with an Authorization: Bearer <key> header (it also accepts ?access_token=<key>).

  1. Sign in at Cognito Forms.
  2. Open Account -> Integrations (cognitoforms.com/account/integrations).
  3. Copy your API key. The API is available on paid plans.
  4. Paste it into FlyMyAI.

Fields to fill in FlyMyAI

FlyMyAI fieldWhere it comes from
COGNITOFORMS_API_KEYCognito Forms -> Account -> Integrations -> API key

Troubleshooting

  • 401 Unauthorized - the key is wrong or missing. Re-copy it from Account -> Integrations.
  • 403 Forbidden - the REST API is not enabled on your plan. Upgrade to a plan that includes API access.
  • 400 Bad Request on create / update - a field name does not match the form schema. Use the internal field names from cognitoforms_form_get.
  • 404 Not Found - the form id or entry id is wrong. List forms / entries first to get valid ids.
We love our partners - FlyMy.AI builds with the best. Thanks, Cognito Forms!