Skip to content
GitHub
Try the demo

Key

Get Me

GET
/me
curl --request GET \
--url http://localhost:3000/api/v1/me \
--header 'Authorization: Bearer <token>'

Who the key signs in, where, and what it may do.

Successful Response

Media typeapplication/json
MeOut
object
id
required
Id
string
name
required
Name
string
username
required
Username
string
workspace
required
WorkspaceOut
object
id
required
Id
string
name
required
Name
string
key
required
KeyOut
object
name
required
Name
string
scope
required
Scope
string
Allowed values: read write
boards
required
Boards
Any of:
Array<string>
expires_at
required
Expires At
string

Example

{
"key": {
"scope": "read"
}
}

No key, or a key that stopped working

Media typeapplication/json
Error

Every error of v1; clients must ignore codes they do not know.

object
error
required
ErrorDetail
object
code
required
Code
string
message
required
Message
string

Example generated

{
"error": {
"code": "example",
"message": "example"
}
}

The key may not do this, or keys are switched off

Media typeapplication/json
Error

Every error of v1; clients must ignore codes they do not know.

object
error
required
ErrorDetail
object
code
required
Code
string
message
required
Message
string

Example generated

{
"error": {
"code": "example",
"message": "example"
}
}

Not found, or not among what the key reaches

Media typeapplication/json
Error

Every error of v1; clients must ignore codes they do not know.

object
error
required
ErrorDetail
object
code
required
Code
string
message
required
Message
string

Example generated

{
"error": {
"code": "example",
"message": "example"
}
}

Over a budget; see Retry-After

Media typeapplication/json
Error

Every error of v1; clients must ignore codes they do not know.

object
error
required
ErrorDetail
object
code
required
Code
string
message
required
Message
string

Example generated

{
"error": {
"code": "example",
"message": "example"
}
}