openapi: 3.1.0 info: title: MessageBird Balance Available Numbers Transcriptions API description: The MessageBird Balance API provides developers with access to their account balance information. It returns the current payment type, available amount, and currency for the account associated with the API key. This API is useful for monitoring credit usage, building billing dashboards, and setting up automated alerts when account balances fall below a threshold. version: '1.0' contact: name: MessageBird Support url: https://support.messagebird.com termsOfService: https://www.messagebird.com/en/terms servers: - url: https://rest.messagebird.com description: Production Server security: - accessKey: [] tags: - name: Transcriptions description: Operations for creating and viewing transcriptions of call recordings. paths: /recordings/{recordingId}/transcriptions: get: operationId: listTranscriptions summary: List transcriptions for a recording description: Retrieves all transcriptions associated with a specific recording. tags: - Transcriptions parameters: - $ref: '#/components/parameters/recordingIdParam' responses: '200': description: A list of transcriptions content: application/json: schema: $ref: '#/components/schemas/TranscriptionList' '401': description: Unauthorized '404': description: Recording not found post: operationId: createTranscription summary: Create a transcription description: Creates a new transcription request for a recording. Transcriptions are generated asynchronously. tags: - Transcriptions parameters: - $ref: '#/components/parameters/recordingIdParam' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/TranscriptionCreate' responses: '201': description: Transcription request created content: application/json: schema: $ref: '#/components/schemas/TranscriptionResponse' '400': description: Bad request '401': description: Unauthorized '404': description: Recording not found components: schemas: TranscriptionResponse: type: object properties: data: type: array items: $ref: '#/components/schemas/Transcription' TranscriptionList: type: object properties: data: type: array items: $ref: '#/components/schemas/Transcription' pagination: $ref: '#/components/schemas/Pagination' TranscriptionCreate: type: object properties: language: type: string description: The language of the recording for transcription. Transcription: type: object properties: id: type: string description: The unique identifier of the transcription. recordingId: type: string description: The unique identifier of the recording. status: type: string description: The status of the transcription. enum: - created - transcribing - done - failed createdAt: type: string format: date-time description: The date and time when the transcription was created. updatedAt: type: string format: date-time description: The date and time when the transcription was last updated. Pagination: type: object properties: totalCount: type: integer description: The total number of items available. pageCount: type: integer description: The total number of pages. currentPage: type: integer description: The current page number. perPage: type: integer description: The number of items per page. parameters: recordingIdParam: name: recordingId in: path required: true description: The unique identifier of the recording. schema: type: string securitySchemes: accessKey: type: apiKey in: header name: Authorization description: Access key authentication in the form of 'AccessKey {accessKey}'. externalDocs: description: Balance API Documentation url: https://developers.messagebird.com/api/balance/