Sign in

Create activities

documented

Create one or more custom activity events in Ortto’s CDP.

POST /v1/activities/createActivitiesno 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.ap3api.com/v1/activities/create" \
  -X POST \
  -H "X-Api-Key: {{AUTOPILOTHQ_API_KEY}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"activities":[{"activity_id":"{{$activity_id}}","fields":{"str::first":"{{$first}}","str::last":"{{$last}}","str::email":"{{$email}}","bol::p":{{$p_flag}},"str::u-ctx":"{{$context}}"},"attributes":{"str:cm:payment-plan":"{{$payment_plan}}","bol:cm:account-owner":{{$account_owner}},"str:cm:web-browser":"{{$web_browser}}"}}]}'