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

# Get your application's registered audiences

> The audiences a key-binding JWT's `aud` must be one of; any other is refused with `audience_not_registered`.



## OpenAPI

````yaml /api-reference/openapi.json get /acceptance/audiences
openapi: 3.1.0
info:
  title: baselayer-api-service
  version: 0.1.0
servers:
  - url: https://api.baselayer.com/
security: []
paths:
  /acceptance/audiences:
    get:
      tags:
        - Acceptance
      summary: Get your application's registered audiences
      description: >-
        The audiences a key-binding JWT's `aud` must be one of; any other is
        refused with `audience_not_registered`.
      operationId: acceptance_audiences_get
      responses:
        '200':
          description: The registered audiences.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1.AcceptanceAudiences'
            application/vnd.baselayer.v1+json:
              schema:
                $ref: '#/components/schemas/v1.AcceptanceAudiences'
          headers:
            ETag:
              description: >-
                A hash of the sorted audiences, quoted; send it back as
                `If-Match` to replace them.
              schema:
                type: string
        '404':
          description: The application no longer exists.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
                title: ResourceNotFound
                description: Could not locate the resource for the given URI.
                examples:
                  - type: resource_not_found
                    code: 1
                    message: Could not locate the resource for the given URI.
                    metadata: {}
        '422':
          description: The request is invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
                title: ValidationFailed
                description: The request is invalid.
                examples:
                  - type: validation_failed
                    code: 7112
                    message: The request is invalid.
                    metadata: {}
      security:
        - APIKeyHeader: []
components:
  schemas:
    v1.AcceptanceAudiences:
      description: The audiences a key-binding JWT's `aud` must be one of.
      properties:
        audiences:
          description: The registered audiences, sorted ascending.
          items:
            type: string
          title: Audiences
          type: array
      required:
        - audiences
      title: AcceptanceAudiences (v1)
      type: object
    Error:
      properties:
        type:
          type: string
          title: Type
          description: >-
            Stable snake_case name of the error. Branch on this, never on
            `message`.
        code:
          type: integer
          title: Code
          description: Integer catalog code of the error.
        message:
          type: string
          title: Message
          description: For a human reading a log; not stable and not localized.
        metadata:
          additionalProperties: true
          type: object
          title: Metadata
          description: Context documented per `type`.
        request_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Request Id
          description: The `X-Request-ID` of the failed request.
      type: object
      required:
        - type
        - code
        - message
      title: Error
      description: The one body of every error a KYA route answers.
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key

````

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