Update email
documentedUpdate an Email activity (e.g., status, body, or scheduling).
PUT /activity/email/{id}/Activitiesno 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.close.com/api/v1/activity/email/{{$id}}/" \
-X PUT \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{\"status\": \"{{$status}}\", \"subject\": \"{{$subject}}\", \"body_text\": \"{{$body_text}}\", \"body_html\": \"{{$body_html}}\", \"sender\": \"{{$sender}}\", \"date_scheduled\": \"{{$date_scheduled}}\", \"attachments\": [{\"url\": \"{{$attachment_url}}\",\"filename\":\"{{$attachment_filename}}\",\"content_type\":\"{{$attachment_content_type}}\",\"size\": {{$attachment_size}}}]}'