User data /oauth

Scope-protected endpoints a third-party application calls on behalf of a user.

Get the authorized user

GET /oauth/user

🔒 User token

Profile of the user who authorized your application, including wallets, KYC status and the YouTube ids of channels with an accepted connect request. Available to any user token — no specific scope is required.

Example call

curl "$BASE_URL/oauth/user" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Accept: application/json"
const response = await fetch(`${baseUrl}/oauth/user`, {
  method: 'GET',
  headers: {
    Accept: 'application/json',
    Authorization: `Bearer ${accessToken}`,
  },
});

const data = await response.json();
import requests

response = requests.get(
    f"{base_url}/oauth/user",
    headers={
        "Accept": "application/json",
        "Authorization": f"Bearer {access_token}",
    },
)

data = response.json()
$client = new GuzzleHttp\Client();

$response = $client->request('GET', "{$baseUrl}/oauth/user", [
    'headers' => [
        'Accept' => 'application/json',
        'Authorization' => "Bearer {$accessToken}",
    ],
]);

$data = json_decode((string)$response->getBody(), true);

Responses

200

The user

{
    "id": 84213,
    "email": "creator@example.com",
    "first_name": "Anna",
    "last_name": "Schmidt",
    "type": "default_user",
    "lang": "en",
    "phone": "+35799123456",
    "wallet": "4200123456",
    "wallets": [
        {
            "id": 9912,
            "region": "cyprus",
            "currency": "USD",
            "number": "4200123456"
        }
    ],
    "kyc_status": 3,
    "is_confirmed": true,
    "is_company": false,
    "created_at": "2026-08-01 12:00:00",
    "country_id": 82,
    "country": {
        "id": 82,
        "youtube_id": "DE",
        "code": "DE",
        "code_alpha3": "DEU",
        "name": "Germany"
    },
    "channels": [
        "UC_x5XG1OV2P6uZZ5FSM9Ttw"
    ],
    "mcn_id": 12
}
27 fields
FieldTypeDescription
id integer
email string
first_name string
last_name string
type string

Account type. default_user is returned for every account outside the payroll model — main_company and freelancer only appear on labels where it is enabled.

main_company · freelancer · default_user
lang string
phone string
wallet string

Number of the Cyprus USD wallet, null when it is not available to the user.

wallets object[]

Wallets available to the user. Wallets in regions switched off for the user are left out.

wallets[].id integer
wallets[].region string

Accounting region this wallet belongs to.

cyprus · garna-cy
wallets[].currency string

Currency of this wallet.

USD · EUR
wallets[].number string
kyc_status integer

Identity verification status: 1 new, 2 pending, 3 approved, 4 rejected, 5 permanently rejected, 6 invalid document, 7 manual review. Never null: the column is NOT NULL.

1 · 2 · 3 · 4 · 5 · 6 · 7
is_confirmed boolean
is_company boolean
created_at string

Registration date as Y-m-d H:i:s — this one field is not ISO 8601.

country_id integer
country object
country.id integer
country.youtube_id string
country.code string

ISO 3166-1 alpha-2 code.

country.code_alpha3 string

ISO 3166-1 alpha-3 code.

country.name string
channels string[]

YouTube ids of connected channels — those whose connect request is linked or approved. This is a narrower set than GET /oauth/user/channels, which lists every channel of the user.

mcn_id integer
contractor_specialty string

Specialty from the contractor agreement, as the name of the value rather than a number. Present only for accounts that have such an agreement.

QA · DIGITAL_MARKETING · FRONTEND · BACKEND · BUSINESS_ANALYSIS · SALES_MANAGER · DESIGN · GRAPHIC_DESIGN · FINANCIAL_ASSISTANCE · DEPARTMENT_RELATIONS · PRODUCT_DEVELOPMENT · PROJECT_MANAGEMENT · LEGAL_ASSISTANCE · CREATIVE · OTHER · CONTENT_CREATION · IT · SUPPORT
401

Token missing, expired or revoked — start the authorization flow again

{
    "message": "Unauthenticated."
}
1 fields
FieldTypeDescription
message string

Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints.

429

The rate limit was exceeded. Which limit depends on where the endpoint lives: /payments/* and /oauth/* share one bucket of 300 requests per minute per IP address, while an endpoint of /payment-requests/* that changes something is capped at 60 per minute per OAuth client and per IP, on a counter shared with its siblings — see Overview.

The response carries Retry-After with the number of seconds to wait, plus X-RateLimit-Limit and X-RateLimit-Remaining.

{
    "message": "Too Many Attempts."
}
1 fields
FieldTypeDescription
message string

Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints.

Get common user information

GET /oauth/user/common

🔒 User token (user.common)

Name, contacts, avatar, wallets and default profile of the authorized user.

Example call

curl "$BASE_URL/oauth/user/common" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Accept: application/json"
const response = await fetch(`${baseUrl}/oauth/user/common`, {
  method: 'GET',
  headers: {
    Accept: 'application/json',
    Authorization: `Bearer ${accessToken}`,
  },
});

const data = await response.json();
import requests

response = requests.get(
    f"{base_url}/oauth/user/common",
    headers={
        "Accept": "application/json",
        "Authorization": f"Bearer {access_token}",
    },
)

data = response.json()
$client = new GuzzleHttp\Client();

$response = $client->request('GET', "{$baseUrl}/oauth/user/common", [
    'headers' => [
        'Accept' => 'application/json',
        'Authorization' => "Bearer {$accessToken}",
    ],
]);

$data = json_decode((string)$response->getBody(), true);

Responses

200

Common information

{
    "name": "Anna Schmidt",
    "email": "creator@example.com",
    "lang": "en",
    "is_confirmed": true,
    "avatar": "https://cdn.example/avatar.png",
    "wallet": "4200123456",
    "wallets": [
        {
            "id": 9912,
            "region": "cyprus",
            "currency": "USD",
            "number": "4200123456"
        }
    ],
    "profile": {
        "id": 4471,
        "user_id": 84213,
        "first_name": "Anna",
        "middle_name": null,
        "last_name": "Schmidt",
        "name": "Anna Schmidt",
        "company_name": "ACME LTD",
        "lang": "en",
        "region": "Berlin",
        "city": "Berlin",
        "postcode": "10115",
        "address": "Torstrasse 1",
        "real_region": null,
        "real_city": null,
        "real_postcode": null,
        "real_address": null
    },
    "birthday": "1994-03-17",
    "sex": "female",
    "country_id": 82,
    "country": {
        "id": 82,
        "youtube_id": "DE",
        "code": "DE",
        "code_alpha3": "DEU",
        "name": "Germany"
    },
    "mcn_id": 12
}
23 fields
FieldTypeDescription
name string
email string
lang string
is_confirmed boolean
avatar string
wallet string

Number of the Cyprus USD wallet, null when it is not available to the user.

wallets object[]

Wallets available to the user. Wallets in regions switched off for the user are left out.

wallets[].id integer
wallets[].region string

Accounting region this wallet belongs to.

cyprus · garna-cy
wallets[].currency string

Currency of this wallet.

USD · EUR
wallets[].number string
profile object

Default profile of the user — the full record of 16 keys, not a trimmed version, and null when the user has none. Alongside the legal name it carries the registered address (region, city, postcode, address) and the actual one (real_*), filled only when it differs.

birthday string (date)
sex string

null when the user never filled it in.

male · female · other · null
country_id integer
country object
country.id integer
country.youtube_id string
country.code string

ISO 3166-1 alpha-2 code.

country.code_alpha3 string

ISO 3166-1 alpha-3 code.

country.name string
mcn_id integer
contractor_specialty string

Specialty from the contractor agreement, as the name of the value rather than a number. Present only for accounts that have such an agreement.

QA · DIGITAL_MARKETING · FRONTEND · BACKEND · BUSINESS_ANALYSIS · SALES_MANAGER · DESIGN · GRAPHIC_DESIGN · FINANCIAL_ASSISTANCE · DEPARTMENT_RELATIONS · PRODUCT_DEVELOPMENT · PROJECT_MANAGEMENT · LEGAL_ASSISTANCE · CREATIVE · OTHER · CONTENT_CREATION · IT · SUPPORT
401

Token missing, expired or revoked — start the authorization flow again

{
    "message": "Unauthenticated."
}
1 fields
FieldTypeDescription
message string

Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints.

403

The token does not carry the scope this endpoint requires

{
    "message": "Invalid scope(s) provided."
}
1 fields
FieldTypeDescription
message string

Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints.

429

The rate limit was exceeded. Which limit depends on where the endpoint lives: /payments/* and /oauth/* share one bucket of 300 requests per minute per IP address, while an endpoint of /payment-requests/* that changes something is capped at 60 per minute per OAuth client and per IP, on a counter shared with its siblings — see Overview.

The response carries Retry-After with the number of seconds to wait, plus X-RateLimit-Limit and X-RateLimit-Remaining.

{
    "message": "Too Many Attempts."
}
1 fields
FieldTypeDescription
message string

Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints.

List the user's channels

GET /oauth/user/channels

🔒 User token (user.channels)

Every channel attached to the authorized user, newest first, with its public YouTube statistics — whatever the state of its connect request, so this list can be wider than channels in GET /oauth/user. Returned as a plain array; there is no data envelope on this endpoint.

Example call

curl "$BASE_URL/oauth/user/channels" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Accept: application/json"
const response = await fetch(`${baseUrl}/oauth/user/channels`, {
  method: 'GET',
  headers: {
    Accept: 'application/json',
    Authorization: `Bearer ${accessToken}`,
  },
});

const data = await response.json();
import requests

response = requests.get(
    f"{base_url}/oauth/user/channels",
    headers={
        "Accept": "application/json",
        "Authorization": f"Bearer {access_token}",
    },
)

data = response.json()
$client = new GuzzleHttp\Client();

$response = $client->request('GET', "{$baseUrl}/oauth/user/channels", [
    'headers' => [
        'Accept' => 'application/json',
        'Authorization' => "Bearer {$accessToken}",
    ],
]);

$data = json_decode((string)$response->getBody(), true);

Responses

200

Channels of the authorized user

[
    {
        "youtube_id": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
        "title": "Channel title",
        "image": "https://yt3.example/photo.jpg",
        "published_at": "2026-08-01",
        "views_count": 1,
        "subscribers_count": 1,
        "is_google_user_owner": true
    }
]
7 fields
FieldTypeDescription
[].youtube_id string
[].title string
[].image string
[].published_at string (date)
[].views_count integer
[].subscribers_count integer
[].is_google_user_owner boolean

True when the authorized user is the channel's main owner.

401

Token missing, expired or revoked — start the authorization flow again

{
    "message": "Unauthenticated."
}
1 fields
FieldTypeDescription
message string

Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints.

403

The token does not carry the scope this endpoint requires

{
    "message": "Invalid scope(s) provided."
}
1 fields
FieldTypeDescription
message string

Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints.

429

The rate limit was exceeded. Which limit depends on where the endpoint lives: /payments/* and /oauth/* share one bucket of 300 requests per minute per IP address, while an endpoint of /payment-requests/* that changes something is capped at 60 per minute per OAuth client and per IP, on a counter shared with its siblings — see Overview.

The response carries Retry-After with the number of seconds to wait, plus X-RateLimit-Limit and X-RateLimit-Remaining.

{
    "message": "Too Many Attempts."
}
1 fields
FieldTypeDescription
message string

Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints.

Get a wallet balance

GET /oauth/user/balance

🔒 User token (user.balance)

Balance of one of the user's available wallets. Without wallet, the user's Cyprus USD wallet is used; when that wallet is not available to the user, wallet is required.

Parameters

NameInTypeDescription
wallet query string

Number of a wallet from wallets of the authorized user. A number of a wallet that is not available to the user is rejected with 422, like a number of someone else's wallet.

Example call

curl "$BASE_URL/oauth/user/balance" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Accept: application/json"
const response = await fetch(`${baseUrl}/oauth/user/balance`, {
  method: 'GET',
  headers: {
    Accept: 'application/json',
    Authorization: `Bearer ${accessToken}`,
  },
});

const data = await response.json();
import requests

response = requests.get(
    f"{base_url}/oauth/user/balance",
    headers={
        "Accept": "application/json",
        "Authorization": f"Bearer {access_token}",
    },
)

data = response.json()
$client = new GuzzleHttp\Client();

$response = $client->request('GET', "{$baseUrl}/oauth/user/balance", [
    'headers' => [
        'Accept' => 'application/json',
        'Authorization' => "Bearer {$accessToken}",
    ],
]);

$data = json_decode((string)$response->getBody(), true);

Responses

200

Wallet balance

{
    "user_id": 1,
    "balance": "1500.00",
    "real_balance": "1200.00",
    "credit_balance": "300.00",
    "wallet": {
        "id": 1,
        "region": "cyprus",
        "currency": "USD",
        "number": "4200123456"
    }
}
9 fields
FieldTypeDescription
user_id integer
balance string
real_balance string

Balance available for payouts, excluding credit.

credit_balance string
wallet object
wallet.id integer
wallet.region string

Accounting region this wallet belongs to.

cyprus · garna-cy
wallet.currency string

Currency of this wallet.

USD · EUR
wallet.number string
401

Token missing, expired or revoked — start the authorization flow again

{
    "message": "Unauthenticated."
}
1 fields
FieldTypeDescription
message string

Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints.

403

The token does not carry the scope this endpoint requires

{
    "message": "Invalid scope(s) provided."
}
1 fields
FieldTypeDescription
message string

Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints.

422

Field validation failed, including a reused request_id or an unknown one on status lookup

{
    "message": "The request id has already been taken.",
    "errors": {
        "request_id": [
            "The request id has already been taken."
        ]
    }
}
2 fields
FieldTypeDescription
message string

The first failed message, not a generic sentence. When more than one field failed the count is appended, singular or plural by the number: (and 1 more error), (and 3 more errors). On /oauth* the text is translated to the requested language. Read errors rather than this field.

errors object

Field name → list of messages. Field names match the keys you sent, dotted for arrays (data.0.wallet).

429

The rate limit was exceeded. Which limit depends on where the endpoint lives: /payments/* and /oauth/* share one bucket of 300 requests per minute per IP address, while an endpoint of /payment-requests/* that changes something is capped at 60 per minute per OAuth client and per IP, on a counter shared with its siblings — see Overview.

The response carries Retry-After with the number of seconds to wait, plus X-RateLimit-Limit and X-RateLimit-Remaining.

{
    "message": "Too Many Attempts."
}
1 fields
FieldTypeDescription
message string

Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints.

Get channel access tokens

GET /oauth/user/channel-tokens

🔒 User token (channel.token)

YouTube tokens for channels the user owns. Channels without a stored token are skipped and the remaining entries keep their original positions, so the response is a JSON object keyed by position when the gap is in the middle, and a plain array when nothing (or only trailing entries) is skipped. Parse it as a map and iterate over values — do not assume either shape.

Example call

curl "$BASE_URL/oauth/user/channel-tokens" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Accept: application/json"
const response = await fetch(`${baseUrl}/oauth/user/channel-tokens`, {
  method: 'GET',
  headers: {
    Accept: 'application/json',
    Authorization: `Bearer ${accessToken}`,
  },
});

const data = await response.json();
import requests

response = requests.get(
    f"{base_url}/oauth/user/channel-tokens",
    headers={
        "Accept": "application/json",
        "Authorization": f"Bearer {access_token}",
    },
)

data = response.json()
$client = new GuzzleHttp\Client();

$response = $client->request('GET', "{$baseUrl}/oauth/user/channel-tokens", [
    'headers' => [
        'Accept' => 'application/json',
        'Authorization' => "Bearer {$accessToken}",
    ],
]);

$data = json_decode((string)$response->getBody(), true);

Responses

200

Channel tokens, keyed by position

{
    "0": {
        "youtube_id": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
        "token": "ya29.a0AfH6…",
        "refresh_token": "1//0eXaMpLe…"
    },
    "2": {
        "youtube_id": "UCBR8-60-B28hp2BmDPdntcQ",
        "token": "ya29.a0AfH6…",
        "refresh_token": null
    }
}
3 fields
FieldTypeDescription
{key}.youtube_id string
{key}.token string
{key}.refresh_token string
401

Token missing, expired or revoked — start the authorization flow again

{
    "message": "Unauthenticated."
}
1 fields
FieldTypeDescription
message string

Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints.

403

The token does not carry the scope this endpoint requires

{
    "message": "Invalid scope(s) provided."
}
1 fields
FieldTypeDescription
message string

Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints.

429

The rate limit was exceeded. Which limit depends on where the endpoint lives: /payments/* and /oauth/* share one bucket of 300 requests per minute per IP address, while an endpoint of /payment-requests/* that changes something is capped at 60 per minute per OAuth client and per IP, on a counter shared with its siblings — see Overview.

The response carries Retry-After with the number of seconds to wait, plus X-RateLimit-Limit and X-RateLimit-Remaining.

{
    "message": "Too Many Attempts."
}
1 fields
FieldTypeDescription
message string

Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints.

List positions of the authorized company

GET /oauth/company/positions

🔒 User token (company.positions)

Positions of the authorized company, for use as position_id when inviting employees.

Example call

curl "$BASE_URL/oauth/company/positions" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Accept: application/json"
const response = await fetch(`${baseUrl}/oauth/company/positions`, {
  method: 'GET',
  headers: {
    Accept: 'application/json',
    Authorization: `Bearer ${accessToken}`,
  },
});

const data = await response.json();
import requests

response = requests.get(
    f"{base_url}/oauth/company/positions",
    headers={
        "Accept": "application/json",
        "Authorization": f"Bearer {access_token}",
    },
)

data = response.json()
$client = new GuzzleHttp\Client();

$response = $client->request('GET', "{$baseUrl}/oauth/company/positions", [
    'headers' => [
        'Accept' => 'application/json',
        'Authorization' => "Bearer {$accessToken}",
    ],
]);

$data = json_decode((string)$response->getBody(), true);

Responses

200

Positions

{
    "data": [
        {
            "id": 1,
            "name": "Video editor",
            "description": "Post-production",
            "created_at": "2026-08-01T12:00:00+00:00",
            "updated_at": "2026-08-01T12:00:00+00:00"
        }
    ]
}
6 fields
FieldTypeDescription
data object[]
data[].id integer
data[].name string
data[].description string
data[].created_at string (date-time)
data[].updated_at string (date-time)
401

Token missing, expired or revoked — start the authorization flow again

{
    "message": "Unauthenticated."
}
1 fields
FieldTypeDescription
message string

Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints.

403

The token does not carry the scope this endpoint requires

{
    "message": "Invalid scope(s) provided."
}
1 fields
FieldTypeDescription
message string

Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints.

429

The rate limit was exceeded. Which limit depends on where the endpoint lives: /payments/* and /oauth/* share one bucket of 300 requests per minute per IP address, while an endpoint of /payment-requests/* that changes something is capped at 60 per minute per OAuth client and per IP, on a counter shared with its siblings — see Overview.

The response carries Retry-After with the number of seconds to wait, plus X-RateLimit-Limit and X-RateLimit-Remaining.

{
    "message": "Too Many Attempts."
}
1 fields
FieldTypeDescription
message string

Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints.

Invite employees

POST /oauth/employee-invitations

🔒 User token (employee.invitations)

Invites one or more emails to a position of the authorized company. Requires both the employee.invitations scope and a client bound to a company account — a client on a personal account is refused with 403 and code 2000.

Emails already invited, already employed, or otherwise ineligible fail validation with 422.

Body

FieldTypeDescription
position_id integer required

Position of the authorized company.

emails string[] required

Addresses to invite. An address already invited, already employed or otherwise ineligible fails validation and the whole request is rejected — invitations are never created partially.

Example call

curl -X POST "$BASE_URL/oauth/employee-invitations" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{
    "position_id": 17,
    "emails": [
        "first@example.com",
        "second@example.com"
    ]
}'
const response = await fetch(`${baseUrl}/oauth/employee-invitations`, {
  method: 'POST',
  headers: {
    Accept: 'application/json',
    Authorization: `Bearer ${accessToken}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
        "position_id": 17,
        "emails": [
            "first@example.com",
            "second@example.com"
        ]
    }),
});

const data = await response.json();
import requests

response = requests.post(
    f"{base_url}/oauth/employee-invitations",
    headers={
        "Accept": "application/json",
        "Authorization": f"Bearer {access_token}",
    },
    json={
      "position_id": 17,
      "emails": [
          "first@example.com",
          "second@example.com"
      ]
  },
)

data = response.json()
$client = new GuzzleHttp\Client();

$response = $client->request('POST', "{$baseUrl}/oauth/employee-invitations", [
    'headers' => [
        'Accept' => 'application/json',
        'Authorization' => "Bearer {$accessToken}",
    ],
    'json' => [
        'position_id' => 17,
        'emails' => [
            'first@example.com',
            'second@example.com',
        ],
    ],
]);

$data = json_decode((string)$response->getBody(), true);

Responses

200

Created invitations

{
    "data": [
        {
            "id": 1,
            "email": "employee@example.com",
            "status": 1,
            "created_at": "2026-08-01T12:00:00+00:00",
            "updated_at": "2026-08-01T12:00:00+00:00"
        }
    ]
}
6 fields
FieldTypeDescription
data object[]
data[].id integer
data[].email string
data[].status integer

1 invited — waiting for the person to accept; 2 accepted.

1 · 2
data[].created_at string (date-time)
data[].updated_at string (date-time)
401

Token missing, expired or revoked — start the authorization flow again

{
    "message": "Unauthenticated."
}
1 fields
FieldTypeDescription
message string

Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints.

403

Either the token lacks the employee.invitations scope ({"message": "Invalid scope(s) provided."}), or the client's account is not a company ({"message": "2000"}).

{
    "message": "2000"
}
1 fields
FieldTypeDescription
message string

Numeric error code as a string — see the Errors guide. Rejections that happen before the payment layer carry text instead ("Unauthenticated."), so match the value, never parse it as a number.

422

Field validation failed, including a reused request_id or an unknown one on status lookup

{
    "message": "The request id has already been taken.",
    "errors": {
        "request_id": [
            "The request id has already been taken."
        ]
    }
}
2 fields
FieldTypeDescription
message string

The first failed message, not a generic sentence. When more than one field failed the count is appended, singular or plural by the number: (and 1 more error), (and 3 more errors). On /oauth* the text is translated to the requested language. Read errors rather than this field.

errors object

Field name → list of messages. Field names match the keys you sent, dotted for arrays (data.0.wallet).

429

The rate limit was exceeded. Which limit depends on where the endpoint lives: /payments/* and /oauth/* share one bucket of 300 requests per minute per IP address, while an endpoint of /payment-requests/* that changes something is capped at 60 per minute per OAuth client and per IP, on a counter shared with its siblings — see Overview.

The response carries Retry-After with the number of seconds to wait, plus X-RateLimit-Limit and X-RateLimit-Remaining.

{
    "message": "Too Many Attempts."
}
1 fields
FieldTypeDescription
message string

Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints.

List employee invitations

GET /oauth/employee-invitations

🔒 User token (employee.invitations)

Invitations created by the authorized company, newest first.

Example call

curl "$BASE_URL/oauth/employee-invitations" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Accept: application/json"
const response = await fetch(`${baseUrl}/oauth/employee-invitations`, {
  method: 'GET',
  headers: {
    Accept: 'application/json',
    Authorization: `Bearer ${accessToken}`,
  },
});

const data = await response.json();
import requests

response = requests.get(
    f"{base_url}/oauth/employee-invitations",
    headers={
        "Accept": "application/json",
        "Authorization": f"Bearer {access_token}",
    },
)

data = response.json()
$client = new GuzzleHttp\Client();

$response = $client->request('GET', "{$baseUrl}/oauth/employee-invitations", [
    'headers' => [
        'Accept' => 'application/json',
        'Authorization' => "Bearer {$accessToken}",
    ],
]);

$data = json_decode((string)$response->getBody(), true);

Responses

200

Invitations

{
    "data": [
        {
            "id": 1,
            "email": "employee@example.com",
            "status": 1,
            "created_at": "2026-08-01T12:00:00+00:00",
            "updated_at": "2026-08-01T12:00:00+00:00"
        }
    ]
}
6 fields
FieldTypeDescription
data object[]
data[].id integer
data[].email string
data[].status integer

1 invited — waiting for the person to accept; 2 accepted.

1 · 2
data[].created_at string (date-time)
data[].updated_at string (date-time)
401

Token missing, expired or revoked — start the authorization flow again

{
    "message": "Unauthenticated."
}
1 fields
FieldTypeDescription
message string

Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints.

403

The token does not carry the scope this endpoint requires

{
    "message": "Invalid scope(s) provided."
}
1 fields
FieldTypeDescription
message string

Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints.

429

The rate limit was exceeded. Which limit depends on where the endpoint lives: /payments/* and /oauth/* share one bucket of 300 requests per minute per IP address, while an endpoint of /payment-requests/* that changes something is capped at 60 per minute per OAuth client and per IP, on a counter shared with its siblings — see Overview.

The response carries Retry-After with the number of seconds to wait, plus X-RateLimit-Limit and X-RateLimit-Remaining.

{
    "message": "Too Many Attempts."
}
1 fields
FieldTypeDescription
message string

Human-readable reason. Carries no numeric code — these endpoints are not payment endpoints.