cURL
curl https://api.neuraldraft.io/v1/social-accounts \
-H "Authorization: Bearer ndsk_live_yourkey"const accts = await nd.socialAccounts.list();accts = requests.get("https://api.neuraldraft.io/v1/social-accounts",
headers={"Authorization": f"Bearer {key}"}).json()["data"]<?php
$accts = json_decode((string) $client->get('social-accounts', [
'headers' => ['Authorization' => 'Bearer '.$key],
])->getBody(), true)['data'];{
"data": [
{
"id": "sac_2N1AbCdEfGhI",
"platform": "facebook",
"username": "Lakeside Yoga",
"platform_user_id": "10221456712",
"is_active": true,
"expires_at": "2026-06-19T00:00:00Z",
"connected_at": "2026-02-14T09:33:00Z"
},
{
"id": "sac_2N1JkLmNpQrS",
"platform": "instagram",
"username": "lakeside.yoga",
"platform_user_id": "17841412345",
"is_active": true,
"expires_at": "2026-06-19T00:00:00Z",
"connected_at": "2026-02-14T09:34:00Z"
}
]
}{
"type": "https://api.neuraldraft.io/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"detail": "API key missing or invalid.",
"code": "unauthorized",
"instance": "req_2Nh4PqRsTuVw"
}Social
List connected social accounts
Read-only.
GET
/
social-accounts
cURL
curl https://api.neuraldraft.io/v1/social-accounts \
-H "Authorization: Bearer ndsk_live_yourkey"const accts = await nd.socialAccounts.list();accts = requests.get("https://api.neuraldraft.io/v1/social-accounts",
headers={"Authorization": f"Bearer {key}"}).json()["data"]<?php
$accts = json_decode((string) $client->get('social-accounts', [
'headers' => ['Authorization' => 'Bearer '.$key],
])->getBody(), true)['data'];{
"data": [
{
"id": "sac_2N1AbCdEfGhI",
"platform": "facebook",
"username": "Lakeside Yoga",
"platform_user_id": "10221456712",
"is_active": true,
"expires_at": "2026-06-19T00:00:00Z",
"connected_at": "2026-02-14T09:33:00Z"
},
{
"id": "sac_2N1JkLmNpQrS",
"platform": "instagram",
"username": "lakeside.yoga",
"platform_user_id": "17841412345",
"is_active": true,
"expires_at": "2026-06-19T00:00:00Z",
"connected_at": "2026-02-14T09:34:00Z"
}
]
}{
"type": "https://api.neuraldraft.io/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"detail": "API key missing or invalid.",
"code": "unauthorized",
"instance": "req_2Nh4PqRsTuVw"
}Authorizations
Project API key. Pass as Authorization: Bearer ndsk_live_.... Manage
keys via /projects/me/api-keys. Test-mode keys use
the ndsk_test_ prefix.
Response
Connected accounts.
Show child attributes
Show child attributes
⌘I