Create User
documentedCreate a new user (requester).
POST /itil/requesters.jsonUserno 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)
Based on Freshservice API v1 docs (Create a User) the endpoint is POST https://<your-domain>.freshservice.com/itil/requesters.json with a request body containing a user object. The canonical example payload is {"user": {"name": "John Doe", "email": "john.doe@example.com", "department_users_attributes": {"department_id": "2,3"}}}. Authentication for API calls commonly uses Basic Auth with an API key as the password (e.g., -u apikey:<API_KEY> or -u "apikey:<API_KEY>") as shown in the official samples. Use the following template with keychains to generate a requester.
npx -y keychains@latest curl "https://{{$domain}}.freshservice.com/itil/requesters.json" \
-X POST \
-u "apikey:{{FRESHSERVICE_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"user": {"name": "{{$name}}", "email": "{{$email}}", "department_users_attributes": {"department_id": "{{$department_ids}}"}}}'