Get user

Returns one managed user and the connected accounts that belong to that user. Use it to render a connected-accounts view inside your product.
https://api.unipost.dev
GET/v1/users/:external_user_id
Authorization
In header ยท Bearer <token>
Path
string

Authorization

AuthorizationBearer <token>In header
Workspace API key.

Path Params

external_user_idstring
Managed user identifier in your own product.

Response Body

200
external_user_idstring
Your stable user identifier.
accountsarray
Connected social accounts for that user.
accounts[].idstring
Publishable account ID.
accounts[].platformstring
Normalized platform name.
Valuestwitter | linkedin | instagram | facebook | threads | youtube | tiktok | bluesky | pinterest
accounts[].statusstring
Connection health for that account.
Valuesactive | reconnect_required | disconnected
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.