List accounts
Early access. Tell us what you're building and we'll set you up. Contact us
GET
api.lempile.com/api/v1/accountsThe workspace's connected accounts, every network together. An Instagram account has provider: "instagram"; one Instagram restricted shows restriction (why, and since when). Read from Lempile's database: no browser opens.
Scope: accounts.read.
Authentication
X-API-KEY header·A Lempile API key, made in the dashboard under Access tokens.Responses
200The accounts.
›
application/json
objectanyAlwayslistcountintegeritemsarray of object›Show fieldsHide fields
idstringproviderstringdisplay_namestringpublic_identifierstringstatusstringrestrictionobject | nullWhy Instagram restricted the account, and since when.
connected_atstringcreated_atstring
401A missing or invalid API key answers { "error": "unauthorized", "message" }. errors/disconnected_account (problem JSON): Instagram signed the account out; connect it again.
›
{ "error": "unauthorized", "message" }. errors/disconnected_account (problem JSON): Instagram signed the account out; connect it again.application/json
errorstringrequiredmessagestring
402subscription_required (in error): the workspace has no active trial or subscription.
›
subscription_required (in error): the workspace has no active trial or subscription.application/json
errorstringrequiredmessagestring
Was this page helpful?