https://api.katapult.io/core/v1/users/current
| Code | Error | When it happens |
|---|---|---|
|
|
missing_api_token
|
No API token was provided in the Authorization header. Ensure a token is provided prefixed with Bearer |
|
|
unauthorized_network_for_api_token
|
Network is not allowed to access the API with this API token |
|
|
invalid_api_token
|
The API token provided was not valid (it may not exist or have expired) |
|
|
token_owner_suspended
|
The user that owns the API token has been suspended |
|
|
invalid_capabilities_token
|
The capabilities token provided was not valid (either not valid, expired or not signed by the correct key) |
|
|
scope_not_granted
|
The scope required for this endpoint has not been granted to the authenticating identity |
|
|
no_user_associated_with_identity
|
There is no user associated with this API token |
|
|
rate_limit_reached
|
You have reached the rate limit for this type of request |
|
|
service_unavailable
|
The service is currently unavailable, please try again later |
This endpoint takes no arguments.
user
object
id
string
first_name
string
last_name
string
avatar_url
string
organizations
array
id
string
name
string
sub_domain
string
api_token_id
string
{
"user": {
"id": "string",
"first_name": "string",
"last_name": "string",
"avatar_url": "string"
},
"organizations": [
{
"id": "string",
"name": "string",
"sub_domain": "string"
}
],
"api_token_id": "string"
}
Sent to https://api.katapult.io/core/v1 as a bearer token and never to Krystal Documentation. It isn't stored anywhere, so paste it again on each endpoint page.
This endpoint takes no parameters — execute it as it stands.