Describe the caller's token
GET
/v1/me
const url = 'http://127.0.0.1:8080/v1/me';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://127.0.0.1:8080/v1/me \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The caller.
Media typeapplication/json
object
token_id
required
string format: uuid
kind
required
string
org_id
required
string format: uuid
user_id
string format: uuid
handle
string
role
string
session_id
string format: uuid
project_id
string format: uuid
scopes
required
Array<string>
via
Set when a linked Slack user acts through the bot (ADR-0010).
string
Example
{ "kind": "user", "role": "viewer", "via": "slack"}No valid bearer token.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
Example generated
{ "error": { "code": "example", "message": "example" }}A rate limit or quota stopped the request. Retry-After gives seconds to wait.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
Example generated
{ "error": { "code": "example", "message": "example" }}Headers
Section titled “Headers”Retry-After
integer