---
title: "Get account-related information"
method: GET
path: "/accounts/me"
tags: ["Account"]
---

# Get account-related information

`GET /accounts/me`

Use this endpoint to retrieve information about the current Oneflow account.

## Headers

- `x-oneflow-api-token` string, required

## Response `200`

Returns the current Oneflow account.

- object — A Oneflow account.
  - `_links` object — Links to related endpoints.
    - `comments` object
      - `href` string, nullable
    - `contracts` object
      - `href` string, nullable
    - `contract` object
      - `href` string, nullable
    - `create` object
      - `href` string, nullable
    - `data_field` object
      - `href` string, nullable
    - `data_fields` object
      - `href` string, nullable
    - `events` object
      - `href` string, nullable
    - `event` object
      - `href` string, nullable
    - `files` object
      - `href` string, nullable
    - `file` object
      - `href` string, nullable
    - `next` object
      - `href` string, nullable
    - `parties` object
      - `href` string, nullable
    - `party` object
      - `href` string, nullable
    - `previous` object
      - `href` string, nullable
    - `publish` object
      - `href` string, nullable
    - `self` object
      - `href` string, nullable
    - `template_types` object
      - `href` string, nullable
    - `template_type` object
      - `href` string, nullable
    - `template` object
      - `href` string, nullable
    - `templates` object
      - `href` string, nullable
    - `workspaces` object
      - `href` string, nullable
    - `workspace` object
      - `href` string, nullable
    - `playbooks` object
      - `href` string, nullable
  - `country_code` string, country_code, required — The country of the contract party.
  - `created_time` string, datetime, nullable, required
  - `date_format` string — The date format of the account.
  - `id` integer, required — The ID of the account.
  - `name` string, required — The Oneflow account's name.
  - `registration_number` string, required — The registration number of the company.
  - `token_info` object, required — Information about the token used for this request
    - `integration` object — The integration this token is connected to
      - `id` integer, nullable — The ID of the integration instance this token belongs to. Returns null if it is a custom API token.
      - `key` string — The string key of the integration. Returns 'custom' if the token is a custom API token.
  - `updated_time` string, datetime, nullable, required

## Other responses

- `400` — Invalid format or content of the request.
- `401` — The API token or the user email is invalid.

---

[API](https://skmtc.net/oneflow/apis/public-api-for-oneflow.md) · [All operations](https://skmtc.net/oneflow/apis/public-api-for-oneflow/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/oneflow/public-api-for-oneflow/versions/0e73a45dec15/schema)
