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

    Introduction

    Welcome to the Tokenet External API documentation.
    The Tokenet External API lets automated clients — trading bots, reporting
    pipelines, and any system-to-system integration — interact with Tokenet
    programmatically. Instead of the browser-based login flow, the API uses
    long-lived Ed25519 API keys: every request is signed with your private
    key and verified by the server, with no passwords, sessions, or token
    refreshes involved.
    Key properties of the API:
    Stateless — each request is independently verifiable; no token refresh needed.
    Replay-resistant — a monotonic timestamp nonce prevents request replay.
    Scope-limited — each credential is bound to a role that limits which operations it can perform.
    Auditable — every credential event and authenticated request is recorded in an audit log.

    Getting Started#

    1.
    Obtain an API credential. Credentials are issued by your organisation
    admin through the credential management endpoints. The creation response
    contains your public_key, your private_key, and the credential id.
    2.
    Save the private key immediately. It is shown exactly once and never
    stored on the server. If you lose it, the credential must be rotated to
    generate a new key pair. Keep it in a secrets manager or environment
    variable — never in version control.
    3.
    Sign your requests. Each request carries three headers —
    X-API-Key, X-Timestamp-Ms, and X-Signature — where the signature is
    computed over a canonical METHOD|PATH|VARIABLE|TIMESTAMP_MS payload with
    your Ed25519 private key. See the Signing a Request section for the full
    protocol and ready-to-use client examples in Go, Python, and TypeScript.
    4.
    Discover available endpoints. The machine-readable list of all routes available to this documentation.
    Base URL:
    https://tokenet-ng-api.digitalprimetechnologies.co/

    Authorization#

    Every API credential is bound to an account and a role (e.g.
    execution, viewer). The role determines exactly which operations the
    credential may perform — requests outside its scope are rejected with
    403 insufficient permissions. Follow the principle of least privilege:
    request a role with the minimum permissions your integration needs, and use
    separate credentials for separate systems and environments.
    A credential is accepted only while it is active. Requests are rejected
    with 401 if the credential has been disabled or revoked, if its expiry
    date has passed, or if the request signature or timestamp fails validation.
    Credentials can be rotated at any time without changing their ID, role, or
    permissions — this is the recommended response to a suspected key leak.
    Note: if a request also carries an Authorization: Bearer <token> header,
    JWT authentication takes precedence and the API key headers are ignored.

    Support & Feedback#

    We'd love to hear from you. If you run into issues, have questions about
    integration, or want to suggest improvements to the API or this
    documentation:
    Email: support@digitalprimetechnologies.com
    When reporting an issue, please include the request path, the HTTP status
    code, the detail field from the error response, and a timestamp — this
    helps us trace the request in our logs quickly. Never include your private
    key in a support request.
    Modified at 2026-06-16 11:15:56
    Next
    Signing a Request
    Built with