Skip to main content

Get a role

Fetch one role in the curated v1 shape. Scope: roles:read.

GET/api/v1/roles/{id} 🔒 API key

Fetches a single role (job). Scope: roles:read. A role the key cannot see returns 404 (no existence leak).

Path parameters

ParameterTypeDescription
idstringThe role id.

Example request

curl https://app.talent-ray.com/api/v1/roles/role_eng_be \
  -H "Authorization: Bearer tr_YOUR_KEY"

Response

200 OK — a single role object (same shape as the items in List roles).

Status codes

StatusMeaning
200Success.
401No valid API key.
403insufficient_scope — the key lacks roles:read.
404Not found, or not visible to the key.
429Rate limit exceeded.