Skip to navigation

Get the current session

Get the current session.

Credential: Customer session

Before you call

  • A customer session for the same partner, integration, customer, wallet and chain.

Browser Origin must exactly match the integration allowlist; backend calls omit Origin.

Confirm with Sinbad that this endpoint is enabled in your environment.

Errors

StatusCodeWhat to do
400VALIDATION_ERRORCorrect the fields reported in details before retrying.
401UNAUTHENTICATEDCreate a new customer session or use a valid server credential.
403FORBIDDENCheck credential ownership, integration and the supplied Origin.
429RATE_LIMITEDWait for Retry-After before retrying.
503UPSTREAM_ERRORRetry with backoff; preserve the same idempotency key for a repeated mutation.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Response

Current authenticated customer context
kindenum
Allowed values:
partnerIdstring
integrationIdstring
userIdstring
partnerUserIdstring
sessionIdstring
walletAddressstring
chainIdinteger
expiresAtdatetime
kycStatusstring or null

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error
503
Service Unavailable Error