---
title: "Register websocket v4"
method: POST
path: "/v4/mm/websocket"
tags: ["Websocket"]
---

# Register websocket v4

`POST /v4/mm/websocket`

## Request

- Base URL: `https://cash.api.prophetx.co/partner`
- URL: `https://cash.api.prophetx.co/partner/v4/mm/websocket`
- Auth: API key in header `Authorization`

Please use this endpoint to register websocket client (NOTE: for CFTC terminology)

## Request body

- PusherRegisterPusherRequest
  - `socket_id` string
  - `subscriptions` TypesSubscription[]
    - `ids` string[]
    - `type` string

## Response `200`

OK

- MarketMakerRegisterPusher
  - `auth` string
  - `data` PusherRegisterPusherResponse
    - `authenticated` TypesAuthenticatedInfo
      - `auth` string
      - `user_data` string
    - `authorized_channel` TypesAuthorizedInfo[]
      - `auth` string
      - `binding_events` TypesBindingEvent[]
        - `name` string
        - `type` string
      - `channel_name` string
      - `scope` TypesChannelScope
        - `event_id` integer
        - `sub_type` string
    - `channel_count` integer
    - `channel_limit` integer
    - `rejected` TypesRejectedSubscription[]
      - `id` string
      - `reason` string
      - `type` string
    - `status` string
    - `subscriptions` TypesSubscription[]
      - `ids` string[]
      - `type` string
    - `success` boolean
    - `updated_at` integer

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `500`: Internal server error

## Changes

- **2026-11-03** `37e7808f6c3a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/prophetx/apis/external-market-maker-api/changes/v4/mm/websocket/post.md)

---

[API](https://skmtc.dev/prophetx/apis/external-market-maker-api.md) - [All operations](https://skmtc.dev/prophetx/apis/external-market-maker-api/llms.txt) - [OpenAPI document](https://skmtc.dev/prophetx/apis/external-market-maker-api/revisions/37e7808f6c3a?raw)
