Sign in

Create form

documented

Create a new form.

POST /v1/formsFormsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.marketcircle.net/v1/forms" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"name": "{{$title}}", "details": "{{$description}}", "forContact": {{$forContact}}, "forGroup": {{$forGroup}}, "forOpportunity": {{$forOpportunity}}, "forOrganization": {{$forOrganization}}, "forProject": {{$forProject}}, "customRecordDefinitions": [ {"name": "{{$field1_name}}", "type": "{{$field1_type}}", "required": {{$field1_required}}, "defaultValue": "{{$field1_default}}"}, {"name": "{{$field2_name}}", "type": "{{$field2_type}}", "required": {{$field2_required}}, "defaultValue": "{{$field2_default}}"} ], "customRecordSetDefinitionID": {{$formDefinitionId}} }'