v1Resources/Locations/getList a location's publish targets

List a location's publish targets

Where a post for this location can go: its own connected profiles and its client's brand-level pages. Send a target's connectionId in a post's connectionIds to publish to exactly those. Google account-level logins, archived (removed) connections and other locations' or clients' connections are never listed. A connection that needs reconnecting is listed with canPublish: false; it's accepted, but publishing to it fails until the owner reconnects.

get/api/v1/locations/{id}/publish-targets
posts:read
Query parameters
idstringrequired
Response
dataobjectoptional
targetsarray of objectoptional
connectionIdstringoptional
The id to send in a post's connectionIds.
platformstringoptional
The platform this target publishes to.
levelstring (location | brand)optional
"location" for this location's own profile, "brand" for a client-wide page.
namestringoptional
The profile or page name.
canPublishbooleanoptional
False when the connection needs reconnecting before it can publish.
reasonstring (reconnect_required)optional
Why canPublish is false: "reconnect_required".
Errors
401Missing, invalid, expired, or revoked API key.
403The key lacks the required scope, or isn't authorized for this client/location.
404The resource wasn't found, or doesn't belong to your agency.
429Too many requests. Retry after the number of seconds in the Retry-After header.
get/api/v1/locations/{id}/publish-targets
Your API key
id *
{}

Guides that use this resource