Skip to main content
POST
/
v1beta1
/
create_firms_notification_subscription
Create Firms Notification Subscription
curl --request POST \
  --url https://traderapi.us-east-1.privatelink.preprod.polymarketexchange.com/api/v1beta1/create_firms_notification_subscription \
  --header 'Content-Type: application/json' \
  --data '
{
  "firms": [
    "<string>"
  ],
  "resume_token": "aSDinaTvuI8gbWludGxpZnk=",
  "resume_time": "2023-11-07T05:31:56Z"
}
'
{
  "notifications": [
    {}
  ],
  "resume_token": "aSDinaTvuI8gbWludGxpZnk="
}

Body

application/json

Request to start a participant/account/firm hierarchy update subscription.

firms
string[]

A list of firms by fully qualified resource name to filter upon. Optional.

resume_token
string<byte>

Bookmark to resume the subscription if the stream must be restarted.

resume_time
string<date-time>

Timestamp from which to resume the subscription if the stream must be restarted.

Response

A successful response (streaming).

Subscription response containing firm notifications.

notifications
object[]

Participant/account/firm hierarchy updates found.

resume_token
string<byte>

A resume token that can be used to resume the stream upon a new connection.