Sign in

Create lead form test data

documented

Create test data for a lead form.

POST /ad_accounts/{ad_account_id}/lead_forms/{lead_form_id}/testAdsno 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 "{{$baseUrl}}/ad_accounts/{{$ad_account_id}}/lead_forms/{{$lead_form_id}}/test" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"answers": ["{{$answer_1}}", "{{$answer_2}}"]}'
Create lead form test data · Pinterest · OpenIntegrations