> ## Documentation Index
> Fetch the complete documentation index at: https://docs.overviu.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Get the current team and token

> Returns the team the API token belongs to and the token's name, abilities and when it was last used. Call it to
check that a token works.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/me
openapi: 3.1.0
info:
  title: Overviu API
  version: '1.0'
  description: >-
    Read your listings and availability, and create and manage bookings, from
    your own systems. Authenticate with an API token from **Settings → API
    tokens** in Overviu, sent as `Authorization: Bearer <token>`. Endpoints
    under `/v1/public/{teamSlug}` need no token: they serve what your booking
    site shows. Guides and conventions:
    https://docs.overviu.app/api-reference/introduction
servers:
  - url: https://api.overviu.app/api
    description: Production
security:
  - http: []
tags:
  - name: Account
    description: The team an API token belongs to.
  - name: Listings
    description: The team's listings.
  - name: Availability
    description: Prices and availability for dates.
  - name: Bookings
    description: Create, read, change and cancel the team's bookings.
  - name: Guests
    description: The team's guests.
  - name: Public
    description: What a booking site shows, with no token.
paths:
  /v1/me:
    get:
      tags:
        - Account
      summary: Get the current team and token
      description: >-
        Returns the team the API token belongs to and the token's name,
        abilities and when it was last used. Call it to

        check that a token works.
      operationId: v1.me
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: object
                    properties:
                      team:
                        type: object
                        properties:
                          id:
                            type: integer
                          slug:
                            type: string
                          name:
                            type: string
                        required:
                          - id
                          - slug
                          - name
                      token:
                        type: object
                        properties:
                          name:
                            type: string
                          abilities:
                            type: string
                          last_used_at:
                            type: string
                        required:
                          - name
                          - abilities
                          - last_used_at
                    required:
                      - team
                      - token
                required:
                  - success
                  - data
        '401':
          $ref: '#/components/responses/AuthenticationException'
components:
  responses:
    AuthenticationException:
      description: Unauthenticated
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Error overview.
            required:
              - message
  securitySchemes:
    http:
      type: http
      description: >-
        An API token from **Settings → API tokens** in Overviu, sent as
        `Authorization: Bearer <token>`.
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.