> 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.

# call.layout.list

GET /

List available layouts

Reference: https://signalwire.com/docs/apis/relay/client/fabric/call-layout-list

## AsyncAPI Specification

```yaml
asyncapi: 2.6.0
info:
  title: call.layout.list
  version: subpackage_callLayoutList.call.layout.list
  description: List available layouts
channels:
  /:
    description: List available layouts
    publish:
      operationId: subpackage_callLayoutList.call.layout.list-publish
      summary: call.layout.list response
      message:
        name: onCallLayoutListResponse
        title: call.layout.list response
        payload:
          $ref: '#/components/schemas/call.layout.list_callLayoutListResponse'
    subscribe:
      operationId: subpackage_callLayoutList.call.layout.list-subscribe
      summary: call.layout.list
      message:
        name: callLayoutList
        title: call.layout.list
        payload:
          $ref: '#/components/schemas/call.layout.list_callLayoutListRequest'
servers:
  production:
    url: wss://relay.signalwire.com/
    protocol: wss
    x-default: true
components:
  schemas:
    ChannelsCallLayoutListMessagesCallLayoutListResponseJsonrpc:
      type: string
      enum:
        - '2.0'
      description: JSON-RPC version. Always `2.0`.
      title: ChannelsCallLayoutListMessagesCallLayoutListResponseJsonrpc
    Fabric.FabricLayoutListResult:
      type: object
      properties:
        code:
          type: string
          description: >-
            Result code as a string. `"200"` is success. Failures use `"400"`
            (bad request),

            `"403"` (permission denied, or the operation does not apply to this
            call),

            `"404"` (not found), `"409"` (conflict), or `"500"` (internal
            error). When the

            request could not be delivered, `code` is a named string instead,
            such as

            `"response_timeout"`, `"invalid_params"`, `"not_available"`,
            `"parse_error"`, or

            `"unknown:<n>"`.
        message:
          type: string
          description: >-
            Human-readable description of the result. Always `"Success"` on
            success; on failure it describes the error, for example `"Permission
            denied"`.
        layouts:
          type: array
          items:
            type: string
          description: The names of the layouts available for the room.
      required:
        - code
        - layouts
      description: >-
        The result of `call.layout.list`: the standard `FabricResult` fields
        plus the available layout names.
      title: Fabric.FabricLayoutListResult
    JsonRpcErrorCode0:
      type: string
      enum:
        - '-32000'
      title: JsonRpcErrorCode0
    JsonRpcErrorCode1:
      type: string
      enum:
        - '-32001'
      title: JsonRpcErrorCode1
    JsonRpcErrorCode2:
      type: string
      enum:
        - '-32002'
      title: JsonRpcErrorCode2
    JsonRpcErrorCode3:
      type: string
      enum:
        - '-32003'
      title: JsonRpcErrorCode3
    JsonRpcErrorCode4:
      type: string
      enum:
        - '-32004'
      title: JsonRpcErrorCode4
    JsonRpcErrorCode5:
      type: string
      enum:
        - '-32005'
      title: JsonRpcErrorCode5
    JsonRpcErrorCode6:
      type: string
      enum:
        - '-32600'
      title: JsonRpcErrorCode6
    JsonRpcErrorCode7:
      type: string
      enum:
        - '-32601'
      title: JsonRpcErrorCode7
    JsonRpcErrorCode8:
      type: string
      enum:
        - '-32602'
      title: JsonRpcErrorCode8
    JsonRpcErrorCode9:
      type: string
      enum:
        - '-32603'
      title: JsonRpcErrorCode9
    JsonRpcErrorCode10:
      type: string
      enum:
        - '-32700'
      title: JsonRpcErrorCode10
    JsonRpcErrorCode:
      oneOf:
        - $ref: '#/components/schemas/JsonRpcErrorCode0'
        - $ref: '#/components/schemas/JsonRpcErrorCode1'
        - $ref: '#/components/schemas/JsonRpcErrorCode2'
        - $ref: '#/components/schemas/JsonRpcErrorCode3'
        - $ref: '#/components/schemas/JsonRpcErrorCode4'
        - $ref: '#/components/schemas/JsonRpcErrorCode5'
        - $ref: '#/components/schemas/JsonRpcErrorCode6'
        - $ref: '#/components/schemas/JsonRpcErrorCode7'
        - $ref: '#/components/schemas/JsonRpcErrorCode8'
        - $ref: '#/components/schemas/JsonRpcErrorCode9'
        - $ref: '#/components/schemas/JsonRpcErrorCode10'
      title: JsonRpcErrorCode
    JsonRpcError:
      type: object
      properties:
        code:
          $ref: '#/components/schemas/JsonRpcErrorCode'
          description: >-
            The error code — a negative integer identifying the failure. See
            `JsonRpcErrorCode` for the full list of values and meanings.
        message:
          type: string
          description: A human-readable description of what went wrong.
        original_request:
          type: object
          additionalProperties:
            description: Any type
          description: >-
            An echo of the request that failed — the full JSON-RPC frame you
            sent

            (`jsonrpc`, `id`, `method`, `params`). Always present.
        requester_nodeid:
          type: string
          description: >-
            The node that sent the failed request. Present only on some routing
            errors.
        requester_identity:
          type: string
          description: >-
            The identity of the requester. Present only on some routing errors;
            same value as `requester_nodeid`.
        responder_nodeid:
          type: string
          description: >-
            The node that was handling the request. Present only on some routing
            errors.
        responder_identity:
          type: string
          description: >-
            The identity of the responder. Present only on some routing errors;
            same value as `responder_nodeid`.
        last_hop_timeout:
          type: boolean
          description: >-
            `true` when the request timed out on its final hop inside
            SignalWire. Present only on some timeout errors.
      required:
        - code
        - message
        - original_request
      description: >-
        A JSON-RPC 2.0 error object, delivered on the `error` field of a
        `JsonRpcResponse` when

        a request fails at the protocol level (bad version, authentication,
        scope, params, or

        your project's connection limit). It replaces `result` — a frame carries
        one or the other, never both.
      title: JsonRpcError
    call.layout.list_callLayoutListResponse:
      type: object
      properties:
        jsonrpc:
          $ref: >-
            #/components/schemas/ChannelsCallLayoutListMessagesCallLayoutListResponseJsonrpc
          description: JSON-RPC version. Always `2.0`.
        id:
          type: string
          description: The id of the request this responds to.
        result:
          $ref: '#/components/schemas/Fabric.FabricLayoutListResult'
          description: The method result. Present when the request succeeded.
        error:
          $ref: '#/components/schemas/JsonRpcError'
          description: >-
            Present instead of `result` when the request failed at the protocol
            level.
      required:
        - jsonrpc
        - id
      description: >-
        A JSON-RPC response frame correlated to a request by `id`. On success
        the frame carries

        `result` (the method result). If the request fails at the protocol level
        — an

        incompatible version, failed authentication, insufficient scope, invalid
        params, or your

        project's connection limit — the frame carries `error` instead of
        `result`. Many

        method-level failures (for example most Calling failures) are reported
        the other way: a

        normal `result` whose own `code` is not `"200"`. Each method documents
        which form its

        failures take.


        An `error` returned for `signalwire.connect` is followed by the service
        closing the

        WebSocket; open a new connection to try again. The same happens when

        `signalwire.reauthenticate` sends credentials that are rejected, except
        for a

        Subscriber Access Token. Errors on any other request leave the
        connection open.
      title: call.layout.list_callLayoutListResponse
    ChannelsCallLayoutListMessagesCallLayoutListRequestJsonrpc:
      type: string
      enum:
        - '2.0'
      description: JSON-RPC version. Always `2.0`.
      title: ChannelsCallLayoutListMessagesCallLayoutListRequestJsonrpc
    ChannelsCallLayoutListMessagesCallLayoutListRequestMethod:
      type: string
      enum:
        - call.layout.list
      description: The name of the JSON-RPC method being invoked.
      title: ChannelsCallLayoutListMessagesCallLayoutListRequestMethod
    Fabric.Target:
      type: object
      properties:
        node_id:
          type: string
          description: The node the target's call leg lives on.
        call_id:
          type: string
          description: The call ID the target was created through.
        member_id:
          type: string
          description: >-
            The member ID of the target. Equals `call_id` for a call leg that is
            not in a conference.
      required:
        - node_id
        - call_id
        - member_id
      description: >-
        Addresses a call leg in a Call Fabric session. Call Fabric identifies
        legs explicitly

        with `{node_id, call_id, member_id}`. Capture these from your
        `call.state` and member

        events and echo them back on later requests.
      title: Fabric.Target
    Fabric.LayoutListParams:
      type: object
      properties:
        self:
          $ref: '#/components/schemas/Fabric.Target'
          description: The call leg you're operating from — your own leg on this call.
        target:
          $ref: '#/components/schemas/Fabric.Target'
          description: >-
            The call leg addressing the room whose layouts to list — required.
            Normally set `target` equal to `self`.
      required:
        - self
        - target
      description: Parameters for `call.layout.list`.
      title: Fabric.LayoutListParams
    call.layout.list_callLayoutListRequest:
      type: object
      properties:
        jsonrpc:
          $ref: >-
            #/components/schemas/ChannelsCallLayoutListMessagesCallLayoutListRequestJsonrpc
          description: JSON-RPC version. Always `2.0`.
        id:
          type: string
          description: Request id, echoed on the correlated response.
        method:
          $ref: >-
            #/components/schemas/ChannelsCallLayoutListMessagesCallLayoutListRequestMethod
          description: The name of the JSON-RPC method being invoked.
        params:
          $ref: '#/components/schemas/Fabric.LayoutListParams'
          description: The method's input parameters.
      required:
        - jsonrpc
        - id
        - method
        - params
      description: >-
        A JSON-RPC request frame. `Method` is the method name; `Params` is the
        method's input.
      title: call.layout.list_callLayoutListRequest

```