Get or create email address
documentedCreate or get an email address for a given object.
POST /sync/v9/emails/get_or_createEmailsno 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.todoist.com/sync/v9/emails/get_or_create" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Accept: application/json" \
-d "obj_type={{$obj_type}}" \
-d "obj_id={{$obj_id}}"