Sign in

Create Custom User Status

documented

Create a custom user status.

POST /api/v1/custom-user-status.createContent Managementno 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://{{ROCKET_CHAT_HOST}}/api/v1/custom-user-status.create" \
  -X POST \
  -H "X-Auth-Token: {{OAUTH2_ACCESS_TOKEN}}" \
  -H "X-User-Id: {{$user_id}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"name": "{{$name}}", "statusType": "{{$statusType}}"}'