Skip to content

Identify the calling key

GET
/me
curl --request GET \
--url https://app.whatsetter.com/api/v1/me \
--header 'Authorization: Bearer <token>'

Returns the workspace and scopes of the API key. Use it to test your integration.

Key identity

Media typeapplication/json
object
data
object
team_id
string
key
object
id
string
name
string
scopes
Array<string>
Examplegenerated
{
"data": {
"team_id": "example",
"key": {
"id": "example",
"name": "example",
"scopes": [
"example"
]
}
}
}

Missing, unknown or revoked API key

Media typeapplication/json
object
error
object
code
string
message
string
Examplegenerated
{
"error": {
"code": "example",
"message": "example"
}
}