> This page is for APIs.

> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes.

# recording.updated

GET /

Receive recording.updated events

Reference: https://signalwire.com/docs/apis/relay/client/fabric/recording-updated

## AsyncAPI Specification

```yaml
asyncapi: 2.6.0
info:
  title: recording.updated
  version: subpackage_recordingUpdated.recording.updated
  description: Receive recording.updated events
channels:
  /:
    description: Receive recording.updated events
    publish:
      operationId: subpackage_recordingUpdated.recording.updated-publish
      summary: recording.updated
      message:
        name: onRecordingUpdatedRecordingUpdatedEvent
        title: recording.updated
        payload:
          $ref: '#/components/schemas/recording.updated_recordingUpdatedEvent'
servers:
  production:
    url: wss://relay.signalwire.com/
    protocol: wss
    x-default: true
components:
  schemas:
    ChannelsRecordingUpdatedMessagesRecordingUpdatedEventJsonrpc:
      type: string
      enum:
        - '2.0'
      description: JSON-RPC version. Always `2.0`.
      title: ChannelsRecordingUpdatedMessagesRecordingUpdatedEventJsonrpc
    ChannelsRecordingUpdatedMessagesRecordingUpdatedEventMethod:
      type: string
      enum:
        - signalwire.event
      description: Always `signalwire.event`.
      title: ChannelsRecordingUpdatedMessagesRecordingUpdatedEventMethod
    ChannelsRecordingUpdatedMessagesRecordingUpdatedEventParamsEventType:
      type: string
      enum:
        - recording.updated
      description: The event type — identifies which event this is.
      title: ChannelsRecordingUpdatedMessagesRecordingUpdatedEventParamsEventType
    Fabric.RecordingInfo:
      type: object
      properties:
        id:
          type: string
          description: The recording ID.
        state:
          type: string
          description: The recording state, such as `recording`, `paused`, or `completed`.
        started_at:
          type: number
          format: double
          description: When the recording started, as a Unix timestamp in seconds.
        duration:
          type: number
          format: double
          description: Recording duration in seconds. Present once the recording has ended.
        ended_at:
          type: number
          format: double
          description: >-
            When the recording ended, as a Unix timestamp in seconds. Present
            once the recording has ended.
      required:
        - id
        - state
        - started_at
      description: >-
        A Call Fabric room recording, as carried on the `recording.*` events and
        in a room session's `recordings` collection.
      title: Fabric.RecordingInfo
    Fabric.RecordingEventParams:
      type: object
      properties:
        room_id:
          type: string
          description: The room ID.
        room_session_id:
          type: string
          description: The room session ID.
        recording:
          $ref: '#/components/schemas/Fabric.RecordingInfo'
          description: The recording, with its current state.
      required:
        - room_id
        - room_session_id
        - recording
      description: >-
        Payload of the `recording.*` events: the room and the recording that
        changed state.
      title: Fabric.RecordingEventParams
    ChannelsRecordingUpdatedMessagesRecordingUpdatedEventParams:
      type: object
      properties:
        event_type:
          $ref: >-
            #/components/schemas/ChannelsRecordingUpdatedMessagesRecordingUpdatedEventParamsEventType
          description: The event type — identifies which event this is.
        event_channel:
          type: string
          description: >-
            The channel the event was delivered on — for Calling events, the
            `protocol`

            string your connection received from `signalwire.connect`.
        timestamp:
          type: number
          format: double
          description: >-
            When the event was emitted, as a Unix timestamp in seconds. Always
            present.
        project_id:
          type: string
          description: >-
            Your project ID. Present on Calling events and most Call Fabric
            events; absent on `call.joined`, `call.left`, `member.joined`, and
            `member.left`.
        space_id:
          type: string
          description: >-
            Your space ID. Present on Calling events and most Call Fabric
            events; absent on `call.joined`, `call.left`, `member.joined`, and
            `member.left`.
        params:
          $ref: '#/components/schemas/Fabric.RecordingEventParams'
          description: The event-specific payload.
      required:
        - event_type
        - event_channel
        - timestamp
        - params
      description: The event envelope.
      title: ChannelsRecordingUpdatedMessagesRecordingUpdatedEventParams
    recording.updated_recordingUpdatedEvent:
      type: object
      properties:
        jsonrpc:
          $ref: >-
            #/components/schemas/ChannelsRecordingUpdatedMessagesRecordingUpdatedEventJsonrpc
          description: JSON-RPC version. Always `2.0`.
        id:
          type: string
          description: >-
            Event id — a unique UUID generated for each event. Events are
            notifications: you do not reply to them.
        method:
          $ref: >-
            #/components/schemas/ChannelsRecordingUpdatedMessagesRecordingUpdatedEventMethod
          description: Always `signalwire.event`.
        params:
          $ref: >-
            #/components/schemas/ChannelsRecordingUpdatedMessagesRecordingUpdatedEventParams
          description: The event envelope.
      required:
        - jsonrpc
        - id
        - method
        - params
      description: >-
        Fires when a recording's state changes, for example when it is paused or
        resumed.
      title: recording.updated_recordingUpdatedEvent

```