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

# Get your organization

> The organization the API key belongs to. Every key can call this, whatever its scopes.



## OpenAPI

````yaml /openapi/public-v1.json get /public/v1/organization
openapi: 3.1.1
info:
  title: WeTicket API
  description: >-
    Read the data of your organization from your own software: events,

    timeslots, ticket types, orders and tickets.


    Create an API key in the WeTicket dashboard (Settings, Integrations) and
    send

    it with every request as `Authorization: Bearer <key>`. Keep the key on your

    server: anyone who has it can read what its scopes allow. Requests are

    limited per key; a `429` response tells you to wait for the number of
    seconds

    in its `Retry-After` header.
  version: 1.1.1
servers:
  - url: https://api.weticket.io
security:
  - ApiKey: []
tags:
  - name: Endpoint
paths:
  /public/v1/organization:
    get:
      tags:
        - Endpoint
      summary: Get your organization
      description: >-
        The organization the API key belongs to. Every key can call this,
        whatever its scopes.
      operationId: PublicGetOrganization
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationResponse'
        '401':
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '404':
          description: Not Found
        '429':
          description: Too Many Requests
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
components:
  schemas:
    OrganizationResponse:
      required:
        - id
        - name
        - slug
        - country
        - currency
        - timezone
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        slug:
          type: string
        country:
          type: string
          description: ISO 3166-1 alpha-2 country code, for example `NL`.
        currency:
          type: string
          description: ISO 4217 currency code all amounts of this organization are in.
        timezone:
          type: string
          description: IANA time zone, for example `Europe/Amsterdam`.
    ProblemDetails:
      type: object
      properties:
        type:
          type:
            - 'null'
            - string
        title:
          type:
            - 'null'
            - string
        status:
          type:
            - 'null'
            - integer
          format: int32
        detail:
          type:
            - 'null'
            - string
        instance:
          type:
            - 'null'
            - string
  securitySchemes:
    ApiKey:
      type: http
      description: An API key from the WeTicket dashboard, starting with wt_live_.
      scheme: bearer

````

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