Skip to main content
GET
Get account roles

Authorizations

Authorization
string
header
required

All of WotNot's APIs use Bearer token authentication. Send your account token as Bearer <token>. You can find it in Settings > Account Settings > Developer. Keep it on your server: anyone who has it can call the API as your account.

Headers

Content-Type
enum<string>
required

Always set this to application/json.

Available options:
application/json

Path Parameters

account_id
string
required

The ID of your WotNot account.

Response

Returns ok set to true, the account's roles, and pagination.

roles
object[]
required

The user roles in the account.

ok
boolean
required

true when the request worked. Errors return false.

Example:

true

pagination
object
required

Where this page sits in the full list of roles.

Last modified on October 22, 2026