Skip to main content
GET
/
user-roles
cURL
curl --request GET \
  --url https://api.usepylon.com/user-roles \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "slug": "<string>"
    }
  ],
  "pagination": {
    "cursor": "<string>",
    "has_next_page": true
  },
  "request_id": "<string>"
}

Authorizations

Authorization
string
header
required

Authorization: Bearer

Response

data
object[]

The data payload of the response.

pagination
object
request_id
string

The request ID for tracking.