Tokenet API
    Tokenet API
    • Tokenet API
    • Introduction
    • Signing a Request
    • Rate Limiting
    • Realtime Event Streams (SSE)
    • Orders
      • List supported custodians
        GET
      • List active orders
        GET
      • Create order
        POST
      • Get order
        GET
      • Update order
        PUT
      • Cancel order
        POST
      • List available assets
        GET
      • List available custodians
        GET
      • Calculate prices
        POST
      • Export active orders CSV
        GET
    • Mark To Market
      • List mark-to-market requests
        GET
      • Create mark-to-market request
        POST
      • Get mark-to-market request
        GET
      • Accept mark-to-market request
        POST
      • Reject mark-to-market request
        POST
      • Retry mark-to-market request
        POST
      • Get mark-to-market request transfer preview
        GET
      • Export mark-to-market requests CSV
        GET
      • Preview mark-to-market request modal
        POST
      • Preview mark-to-market transfer
        POST
    • Order Requests
      • Create order request
        POST
      • Update order request
        PATCH
    • Notifications
      • List organization notifications
      • Mark notification as read
    • Positions
      • Accept position rerate
      • Reject position rerate
      • List positions
      • Get position by order public ID
      • Get position
      • Create position return
      • Complete return asset transfer
      • Release return collateral
      • Create position recall
      • Create position rerate
      • Get asset portfolio dashboard stats
      • Export positions CSV
      • List pending positions
      • List returning positions
      • Preview position return transfer
    • Transfers
      • List transfers
      • Get transfer
    • Reports
      • List activity report
      • Export activity report CSV
      • List collateral report
      • Export collateral report CSV
      • Get counterparty exposure report
      • Export counterparty exposure report CSV
      • Get fee charge and accrual report
      • Export fee charge and accrual report CSV
      • Export transfers report CSV
      • List transfers report
    • Chats
      • Create chat group
      • Get chat group details
      • Create mark review message
      • Accept chat action
      • Reject chat action
      • List chat participants
      • List chat threads
      • List chat messages
      • Create chat message
      • Mark chat thread read
      • Open direct chat thread
      • List chat users
    • Schemas
      • AcceptInvitationBody
      • AccountResource
      • ActivityReportEmployeeResource
      • ActivityReportOrganizationResource
      • ActivityReportPositionResource
      • ActivityReportResource
      • AddOrganizationAccountBody
      • AddOrganizationAccountResource
      • AnchorageAPIKeyResponseBody
      • AnchorageBalanceItem
      • AnchorageBalanceResponseBody
      • AnchorageBalanceWallet
      • AnchorageCredentialsField
      • AnchorageDepositAddress
      • AnchoragePage
      • AnchoragePublicKeyResponseBody
      • AnchorageVault
      • AnchorageVaultAccount
      • AnchorageVaultWallet
      • AnchorageVaultWalletsResponseBody
      • AnchorageVaultsResponseBody
      • AnchorageWalletAsset
      • AnchorageWalletBalance
      • ApiCredentialResponseBody
      • ApiCredentialWithKeyResponseBody
      • AssetPortfolioDashboardStatsResource
      • AuditLogEntryResponseBody
      • AvailableAssetResource
      • AvailableCustodianResource
      • BitGoReadinessResponseBody
      • BitGoSetupStatusResponseBody
      • BitGoWallet
      • BitGoWalletAssetBalance
      • BitGoWalletRefreshResponseBody
      • BitGoWalletTransfer
      • BitGoWalletTransfersResponseBody
      • BitGoWalletWebhookIngestionResponseBody
      • BitGoWalletsResponseBody
      • BitGoWebhookVerificationResponseBody
      • CalculatePrices
      • CalculatePricesRequest
      • CalculatePricesResponseBody
      • CancelOrderResource
      • CancelOrderResponseBody
      • ChangePasswordBody
      • ChangePasswordResponseBody
      • ChatGroupDetailsResource
      • ChatMessageActionResource
      • ChatMessageResource
      • ChatParticipantOptionResource
      • ChatParticipantOrganizationResource
      • ChatParticipantResource
      • ChatTabCountResource
      • ChatThreadLastMessageResource
      • ChatThreadResource
      • ClientFeatureFlagStateResource
      • ClientRuleResource
      • CollateralReportRowResource
      • ConfigureAnchorageKeysBody
      • ConfigureAnchorageKeysResource
      • ConfigureAnchorageResponseBody
      • ConfigureAnchorageVaultIDBody
      • ConfigureAnchorageVaultIDResource
      • ConfigureBitGoAccessTokenBody
      • ConfigureBitGoAccessTokenResource
      • ConfigureBitGoEnterpriseBody
      • ConfigureBitGoEnterpriseResource
      • ConfigureBitGoHotWalletSignerKeychain
      • ConfigureBitGoHotWalletSignerMaterialBody
      • ConfigureBitGoHotWalletSignerMaterialResource
      • ConfigureBitGoResponseBody
      • ConfigureProviderBitGoAccessTokenBody
      • ConfigureProviderBitGoAccessTokenResource
      • ConfigureProviderBitGoEnterpriseBody
      • ConfigureProviderBitGoEnterpriseResource
      • CounterpartyExposureReportRowResource
      • CreateAPICredentialBody
      • CreateAccountResponseBody
      • CreateChatGroupBody
      • CreateChatGroupResponseBody
      • CreateChatMessageBody
      • CreateChatMessageResponseBody
      • CreateM2MRequestBody
      • CreateM2MResponseBody
      • CreateMarkChatThreadBody
      • CreateMarkChatThreadResponseBody
      • CreateOrderBody
      • CreateOrderRequest
      • CreateOrderRequestBody
      • CreateOrderRequestResponseBody
      • CreateOrderResource
      • CreateOrderResponseBody
      • CreateOrganizationBody
      • CreateOrganizationResource
      • CreateOrganizationResponseBody
      • CreatePositionRerateBody
      • CreatePositionReturnBody
      • EmailNotificationCategoryResource
      • EmailNotificationEventResource
      • EmailNotificationSettingsResource
      • ErrorDetail
      • ExecuteTransferBody
      • ExecuteTransferResponseBody
      • FeatureFlagResource
      • FeatureFlagRevisionResource
      • FeeChargeAndAccrualReportRowResource
      • FieldMask
      • GetAccountResponseBody
      • GetAdminFeatureFlagsResponseBody
      • GetAssetPortfolioDashboardStatsResponseBody
      • GetChatGroupDetailsResponseBody
      • GetCounterpartyExposureReportResponseBody
      • GetFeatureFlagHistoryResponseBody
      • GetFeatureFlagsResponseBody
      • GetFeeChargeAndAccrualReportResponseBody
      • GetM2MRequestBody
      • GetOrderResponseBody
      • GetOrganizationResponseBody
      • GetPositionResponseBody
      • GetTransferResponseBody
      • GetUserSettingsResponseBody
      • InvitationResponseBody
      • InviteAccount
      • InviteAccountBody
      • ListAPICredentialLogsResponseBody
      • ListAPICredentialsResponseBody
      • ListAccountsResponseBody
      • ListActivityReports
      • ListAvailableAssetsResponseBody
      • ListAvailableCustodiansResponseBody
      • ListChatMessagesResponseBody
      • ListChatParticipantsResponseBody
      • ListChatThreadsResponseBody
      • ListClientRulesResponseBody
      • ListCollateralReport
      • ListM2MRequestsBody
      • ListNotificationsResponseBody
      • ListOrdersResponseBody
      • ListOrganizationsResponseBody
      • ListOrganizationsWithAnchorageCredentialsResponseBody
      • ListPendingPositionsResponseBody
      • ListPositions
      • ListPositionsResponseBody
      • ListReturningPositionsResponseBody
      • ListTransfersReportResponseBody
      • ListTransfersResponseBody
      • LoginBody
      • LoginResponseBody
      • M2MColumnPreferencesResource
      • M2MPositionPreviewResource
      • M2MPositionPreviewResponseBody
      • M2MPreviewPartyResource
      • M2MRequestActionBody
      • M2MRequestResource
      • M2MTransferPreviewResource
      • M2MTransferPreviewResponseBody
      • MarkNotificationReadResponseBody
      • MembershipResource
      • NotificationResource
      • OpenDirectChatThreadBody
      • OpenDirectChatThreadResponseBody
      • OrderResource
      • OrganizationAnchorageCredentialsResource
      • OrganizationResource
      • PendingPositionActionGuidanceResource
      • PendingPositionResource
      • PermissionResource
      • PortfolioLastDealResource
      • PositionAccrualSegmentResource
      • PositionAccrualSummaryResource
      • PositionActionAvailabilityResource
      • PositionRecallResource
      • PositionRecallResponseBody
      • PositionRerateResource
      • PositionRerateResponseBody
      • PositionResource
      • PositionReturnResource
      • PositionReturnResponseBody
      • PositionReturnTransferLegResource
      • PositionReturnTransferPartyResource
      • PositionReturnTransferPreviewResource
      • PositionReturnTransferPreviewResponseBody
      • PreviewM2MTransferBody
      • ProviderLifecycleResource
      • RESTErrorModel
      • RequestPasswordChangeBody
      • RequestPasswordChangeResponseBody
      • ResolveChatActionBody
      • ResolveChatActionResponseBody
      • RoleResource
      • RollbackFeatureFlagBody
      • RollbackFeatureFlagResponseBody
      • StartLoginResponseBody
      • TransferPartyRef
      • TransferResource
      • TransfersReportRowResource
      • TripartyActionGuidanceResource
      • TripartyReadinessResource
      • TripartyReferencesResource
      • TripartyRequiredActionResource
      • TripartyResource
      • UpdateAccountBody
      • UpdateAccountResource
      • UpdateAccountResponseBody
      • UpdateClientRuleBody
      • UpdateClientRuleResource
      • UpdateClientRuleResponseBody
      • UpdateEmailNotificationCategoryResource
      • UpdateEmailNotificationSettingsResource
      • UpdateFeatureFlagBody
      • UpdateFeatureFlagResource
      • UpdateFeatureFlagResponseBody
      • UpdateM2MColumnPreferencesResource
      • UpdateOrderBody
      • UpdateOrderRequest
      • UpdateOrderRequestBody
      • UpdateOrderRequestResponseBody
      • UpdateOrderResource
      • UpdateOrderResponseBody
      • UpdateOrganizationBody
      • UpdateOrganizationResource
      • UpdateOrganizationResponseBody
      • UpdatePasswordBody
      • UpdatePasswordResponseBody
      • UpdateUserSettingsBody
      • UpdateUserSettingsResource
      • UpdateUserSettingsResponseBody
      • UpdateUserSettingsResponseResource
      • UserSettingsResource
      • ValidateTripartyBody
      • ValidateTripartyResponseBody
      • VerifyBitGoWebhookNotificationBody
      • VerifyBitGoWebhookNotificationResource
      • VerifyLoginOTPBody
      • VerifyOTPBody
      • VerifyOTPResponseBody

    Realtime Event Streams (SSE)

    The External API provides realtime event streams over
    Server-Sent Events (SSE).
    An SSE stream is a long-lived HTTP GET request: the server keeps the
    connection open and pushes events as they occur.

    Available streams#

    StreamEndpointEvent type
    NotificationsGET /api/v1/organizations/{name}/notifications:streamnotification.created
    Chat eventsGET /api/v1/organizations/{name}/chatEvents:streamchat.updated
    Both streams are scoped to your organisation: you only receive events for
    the organisation your credential belongs to, and {name} must match it.

    Authentication#

    SSE endpoints accept the same authentication as regular API calls — Ed25519 API key headers. Sign the request exactly as described in Signing a Request:
    the canonical payload is built from the GET method, the path, the raw
    query string (empty if none), and the timestamp.
    GET|/api/v1/organizations/acme/notifications:stream||1716643200000
    The signature is verified once, when the connection is established. The
    stream then stays open without re-authentication. Each reconnect is a new
    request and needs a fresh timestamp and signature.

    Stream protocol#

    On connect, the server responds with Content-Type: text/event-stream and
    immediately sends a readiness event:
    event: ready
    data: {"status":"connected"}
    After that, events are delivered as they occur. Every 20 seconds the server
    sends a comment line (: keepalive) to keep the connection alive through
    proxies and load balancers — SSE clients ignore comment lines automatically.

    notification.created#

    Emitted when a new notification is created for your organisation:
    event: notification.created
    data: {"organization_id":"9a3f7e9a-...","notification":{...}}
    The notification object has the same shape as items returned by the
    notification list endpoint.

    chat.updated#

    Emitted when a chat thread in your organisation receives an update:
    event: chat.updated
    data: {...}

    Example#

    (curl -N disables output buffering; sign stands for your Ed25519
    signing step from Signing a Request.)

    Reconnection guidance#

    Expect disconnects. Network hiccups, deploys, and idle proxies will
    occasionally drop the connection. Treat reconnection as the normal case:
    reconnect with exponential backoff and jitter, re-signing the request
    each time.
    Streams are not replayed. Events emitted while you were disconnected
    are not redelivered on reconnect. After reconnecting, fetch the current
    state from the corresponding REST endpoint (e.g. the notification list)
    to catch up, then continue consuming the stream.
    One credential, one nonce sequence. The connection request consumes a
    timestamp nonce like any other request. If the same credential is used
    for both a stream and regular API calls from different processes, see the
    nonce coordination note in Signing a Request — Replay protection.
    Modified at 2026-06-16 11:15:56
    Previous
    Rate Limiting
    Next
    List supported custodians
    Built with