Get connect session

Returns the current status of a hosted Connect session. Use it when polling for completion during onboarding.
https://api.unipost.dev
GET/v1/connect/sessions/:session_id
Authorization
In header ยท Bearer <token>
Path
string

Authorization

AuthorizationBearer <token>In header
Workspace API key.

Path Params

session_idstring
Connect session ID such as cs_abc123.

Response Body

200
idstring
Connect session ID.
statusstring
Session state such as "pending", "completed", or "expired".
managed_account_idstring | null
Resulting UniPost account when the flow completes.
external_user_idstring
Your user identifier associated with the flow.
401
error.codestring
Usually "UNAUTHORIZED" or "NOT_FOUND".
error.normalized_codestring
Lowercase alias such as "unauthorized" or "not_found".
error.messagestring
Human-readable error message.
request_idstring
Request identifier for debugging and support.
404
error.codestring
Usually "UNAUTHORIZED" or "NOT_FOUND".
error.normalized_codestring
Lowercase alias such as "unauthorized" or "not_found".
error.messagestring
Human-readable error message.
request_idstring
Request identifier for debugging and support.
500
error.codestring
Usually "UNAUTHORIZED" or "NOT_FOUND".
error.normalized_codestring
Lowercase alias such as "unauthorized" or "not_found".
error.messagestring
Human-readable error message.
request_idstring
Request identifier for debugging and support.