Create leads export
documentedRequest an export of leads collected from lead ads.
POST /ad_accounts/{ad_account_id}/leads_exportAdsno implementation yet0 runsNo 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.pinterest.com/v5/ad_accounts/{{$ad_account_id}}/leads_export" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"lead_form_id": "{{$lead_form_id}}", "export_format": "{{$export_format}}", "fields": ["{{$field1}}", "{{$field2}}"]}'