openapi: 3.0.1 info: title: 'Brushfire API: Version 2025-07-22 AccessCodes Regions API' version: '2025-07-22' description: 'The Brushfire REST API provides programmatic access to the Brushfire event ticketing and registration platform. It covers events, ticket types, sections and seats, attendees, orders, the shopping cart and checkout flow, groups, sessions and check-in, promotions and access codes, payment profiles, and webhooks (Hooks). Authenticate by sending your App Key (requested at https://developer.brushfire.com/key) in the Authorization header. The API is date-versioned: send the desired version in the api-version request header (for example, 2025-07-22). This document is the live specification published at api.brushfire.com/swagger.' contact: name: Brushfire Developers url: https://developer.brushfire.com servers: - url: https://api.brushfire.com description: Brushfire API (date-versioned via the api-version header) tags: - name: Regions paths: /regions: get: tags: - Regions summary: List all countries and regions with their Code for use in other calls responses: '200': description: OK content: application/json: schema: type: array items: $ref: '#/components/schemas/RegionDetailOutput' text/json: schema: type: array items: $ref: '#/components/schemas/RegionDetailOutput' '400': description: Bad Request content: application/json: schema: $ref: '#/components/schemas/ApiModelError' text/json: schema: $ref: '#/components/schemas/ApiModelError' security: - apiKey: [] components: schemas: ApiModelError: type: object properties: Errors: type: array items: $ref: '#/components/schemas/StringStringKeyValuePair' nullable: true Message: type: string nullable: true Data: nullable: true StackTrace: type: string nullable: true additionalProperties: false RegionDetailOutput: type: object properties: Code: type: string nullable: true Name: type: string nullable: true ISO: type: integer format: int32 nullable: true Regions: type: array items: $ref: '#/components/schemas/RegionDetailOutput' nullable: true additionalProperties: false StringStringKeyValuePair: type: object properties: Key: type: string nullable: true Value: type: string nullable: true additionalProperties: false securitySchemes: apiKey: type: apiKey description: The App Key you received from https://developer.brushfire.com/key name: Authorization in: header