Make agent from contact
documentedConvert a contact to an agent.
POST /api/v2/contacts/{id}/make_agentContactsno 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://{{FRESHDESK_DOMAIN}}/api/v2/contacts/{{$contact_id}}/make_agent" \
-X PUT \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-d '{ "occasional": {{$occasional}}, "group_ids": [{{$group_id}}], "role_ids": [{{$role_id}}] }'