List connected accounts with GET /api/v1/integrations. Requires an API key with the read scope or a signed-in workspace member.
Request
List publishing destinations in the specified workspace with their availability and publishing selection. Includes Facebook Pages, Instagram professional accounts, LinkedIn members and organizations, Pinterest boards, TikTok accounts, Threads accounts, X accounts, YouTube channels, and Google Business Profile locations. Set includeAdAccounts=true to also include connected ad accounts and their ads readiness; the default remains publishing accounts only.
| Parameter | In | Type | Required |
|---|---|---|---|
workspaceId |
query | UUID | Yes |
profileId |
query | UUID | No |
ready |
query | "true", "false" |
No |
includeAdAccounts |
query | "true", "false" |
No |
Response
- HTTP 200: an object with
accounts.
The OpenAPI document has each field’s type.
Examples
const accounts = await workspace.accounts.list({ ready: true });accounts = workspace.accounts.list()curl "https://pubnio.com/api/v1/integrations?workspaceId=$WORKSPACE_ID" \
-H "Authorization: Bearer $PUBNIO_API_KEY"pnio integrations listasync () => {
const response = await codemode.request({
method: "GET",
path: "/api/v1/integrations",
query: { workspaceId: codemode.workspaceId },
});
return response.data;
};Errors
It declares no problem of its own.
It declares the problems most operations declare.
Idempotency
None needed: a read is safe to retry.
Limits
- Field lengths and ranges are in the OpenAPI document.