API reference
Fetch one connected account by id.
https://api.betterpost.dev/v1/connect/integrations/{id}| Name | Description |
|---|---|
id | The account id, for example acc_2x9c4v7b1n8m3k5j0h6g2f4d. |
curl -s https://api.betterpost.dev/v1/connect/integrations/acc_2x9c4v7b1n8m3k5j0h6g2f4d \
-H "x-access-key: $BETTERPOST_API_KEY"200 OK
{
"success": true,
"integration": {
"id": "acc_2x9c4v7b1n8m3k5j0h6g2f4d",
"platform": "twitter",
"platformUserId": "sbx_4829105736",
"username": "@demo_brand",
"displayName": "Demo Brand",
"imageUrl": "https://api.dicebear.com/9.x/initials/svg?seed=%40demo_brand",
"profileId": null,
"authStatus": "active",
"sandbox": true,
"createdAt": "2026-10-21T14:05:40.031Z"
}
}| Status | Code | When |
|---|---|---|
200 | Success. | |
401 | unauthorized | Missing or unknown API key. |
404 | not_found | No such account in this project, or it was disconnected. |
429 | rate_limited | More than 120 requests per minute. |