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

# Create Webhook Subscription

> Create a webhook subscription (Professional plan or higher). Returns the signing secret once. Authenticate with your Bearer API key (or manage from your dashboard).



## OpenAPI

````yaml /openapi.json post /api/webhook-subscriptions
openapi: 3.1.0
info:
  title: RBA Exchange Rates API
  description: >-
    Official Reserve Bank of Australia (RBA) exchange rate data through a modern
    REST API. Transforms publicly available RBA data into clean JSON endpoints
    for Australian businesses and developers who need reliable AUD exchange
    rates.
  version: 1.0.0
  license:
    name: MIT
  contact:
    url: https://www.exchangeratesapi.com.au
servers:
  - url: https://api.exchangeratesapi.com.au
    description: Production API
security: []
paths:
  /api/webhook-subscriptions:
    servers:
      - url: https://auth.exchangeratesapi.com.au
        description: Auth/account host
    post:
      summary: Create Webhook Subscription
      description: >-
        Create a webhook subscription (Professional plan or higher). Returns the
        signing secret once. Authenticate with your Bearer API key (or manage
        from your dashboard).
      operationId: createWebhookSubscription
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - url
              properties:
                url:
                  type: string
                  format: uri
                  description: >-
                    HTTPS endpoint to receive deliveries. Public host only (no
                    localhost/private IPs).
                currencies:
                  type: array
                  items:
                    type: string
                  description: >-
                    Optional list of currency codes to receive. Omit for all
                    currencies.
                description:
                  type: string
                  description: Optional label.
            example:
              url: https://hooks.example.com/rba
              currencies:
                - USD
                - JPY
              description: Prod hook
      responses:
        '200':
          description: Subscription created
          content:
            application/json:
              example:
                success: true
                signingSecret: >-
                  3f9c4e2a1b7d8f60a5c3e1d9b2f4a6c83f9c4e2a1b7d8f60a5c3e1d9b2f4a6c8
                warning: >-
                  Store this signing secret securely. It will not be shown
                  again.
                subscription:
                  id: a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6
                  url: https://hooks.example.com/rba
                  currencies:
                    - USD
                    - JPY
                  description: Prod hook
        '400':
          description: Invalid url or currencies
        '401':
          description: Missing or invalid API key (or dashboard session)
        '403':
          description: Plan does not include webhooks, or subscription limit reached
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: API key authentication using Bearer token

````