The accounts endpoint allows you to retrieve your account information.

See the Getting Started section for details on retrieving a short lived token you can use to submit requests to this endpoint.

Listing account

GET /account

The Authorization header is required, with the value set to Bearer {access_token}.

Request example

curl --request GET ""\
    --header "Accept: application/json"\
    --header "Authorization: Bearer 22rpvk7jjdqfci6rjbrl24x5m"
curl ""\
     --header "Accept: application/json" \
    --header "Authorization: Bearer 22rpvk7jjdqfci6rjbrl24x5m"

Response example

Status code: 200 OK

  "id": "yu75urhhxbhztiimoqpmrvmyzi",
  "created_at": "2020-09-02T17:38:00.779588Z",
  "default_team_id": null,
  "email": "[email protected]",
  "last_seen_at": "2021-10-16T19:58:47.841053Z",
  "name": "Dave Cramer",
  "updated_at": "2021-10-16T19:58:47.841053Z"
Response item Type Description
id string Unique identifier for the account
created_at string Date/time of when the team was created, in RFC3339 format
email string email address.
default_team_id string The account’s default team. If null, the account’s default team is their personal team (which has the same ID as the account).
last_seen_at string Time at which the account was last seen in either the API of web dashboard in RFC3339 format
name string Name of team (empty when is_personal is true)
updated_at string Date/time of when the team was last updated, in RFC3339 format