Skip to content

getAccount

GET
/accounts/{accountId}
curl --request GET \
--url http://localhost:8080/api/v1/accounts/per_01j9x3k8m2q4r5s6t7v8w9y0z1 \
--cookie hs_session=<hs_session>
accountId
required
string
/^[a-z]{2,3}_[0-9a-hjkmnp-tv-z]{26}$/

Account.

Media typeapplication/json
object
id
required
string
/^[a-z]{2,3}_[0-9a-hjkmnp-tv-z]{26}$/
platform
required
string
Allowed values: instagram facebook line wechat bluesky x douyin xiaohongshu truthsocial
handle
required
string
displayName
string | null
profileUrl
required
string format: uri
deepLinks
required

Client picks app link on mobile when installed, else web.

object
web
required
string format: uri
ios
string
android
string
copyValue

Value to copy when no link exists (e.g. WeChat ID).

string
hintKey

I18n key with instructions, e.g. “platformWechatOpenHint”.

string
personId
required
string
/^[a-z]{2,3}_[0-9a-hjkmnp-tv-z]{26}$/
platformUserId
string | null
avatar
One of:
object
id
required
string
/^[a-z]{2,3}_[0-9a-hjkmnp-tv-z]{26}$/
url
required

Signed URL, valid 24 h.

string
thumbUrl
string
cardUrl
string
posterUrl
string
mime
required
string
width
integer
height
integer
durationMs
integer
blurhash
string
alt
string
fetchTier
required
string
Allowed values: server agent closed
status
required
string
Allowed values: pending ok stale needs_agent login_required not_found error paused closed
statusDetailKey
string | null
fetchIntervalS
integer | null
lastSuccessAt
One of:
string format: date-time
nextFetchAt
One of:
string format: date-time
createdAt
required
string format: date-time

Examples

Exampleseed

Derived from fixtures/seed.json.

{
"avatar": null,
"createdAt": "2026-09-17T09:00:00.000Z",
"deepLinks": {
"android": "https://www.instagram.com/_u/mom.wong.bkk/",
"ios": "instagram://user?username=mom.wong.bkk",
"web": "https://www.instagram.com/mom.wong.bkk/"
},
"displayName": null,
"fetchIntervalS": 10800,
"fetchTier": "agent",
"handle": "mom.wong.bkk",
"id": "acc_01j93283xpmc4y04hy7rmmt7y7",
"lastSuccessAt": "2026-10-17T08:00:00.000Z",
"nextFetchAt": null,
"personId": "per_01j9wst6a8vjc69r66y6fj70t5",
"platform": "instagram",
"platformUserId": null,
"profileUrl": "https://www.instagram.com/mom.wong.bkk/",
"status": "ok",
"statusDetailKey": null
}

Not found.

Media typeapplication/problem+json
object
type
required
string format: uri
title
required
string
status
required
integer
code
required
string
i18nKey
string
detail
string
fields
Array<object>
object
path
required
string
code
required
string
i18nKey
string

Example generated

{
"type": "https://example.com",
"title": "example",
"status": 1,
"code": "example",
"i18nKey": "example",
"detail": "example",
"fields": [
{
"path": "example",
"code": "example",
"i18nKey": "example"
}
]
}