Sign in

Unsubscribe contact from list (by email)

documented

Unsubscribe contacts from a specific list by email address (request body should include {"email":"..."}).

POST /lists/{list_id}/unsubscribe.jsonListsno 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://campayn.com/api/v1/lists/{{$list_id}}/unsubscribe.json" \
  -X POST \
  -H "Authorization: TRUEREST apikey={{CAMPAYN_API_KEY}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"id": "{{$contact_id}}"}'