Skip to content

Business Agencies

Updated: Jan 21, 2025

Reading

List all businesses that have access to your business's assets.

Example

Select language

HTTPPHP SDKJavaScript SDKAndroid SDKiOS SDK


GET /v25.0/{business-id}/agencies HTTP/1.1  
Host: graph.facebook.com

Try it in Graph API Explorer

If you want to learn how to use the Graph API, read our Using Graph API guide

Parameters

This endpoint doesn't have any parameters.

Fields

Reading from this edge will return a JSON formatted result:

{
"data": [],
"paging": {},
"summary": {}
}
data

A list of Business nodes.

The following fields will be added to each node that is returned:

FieldDescription
adaccount_permissions list<AdAccountPermission>Adaccount_permissions default
application_permissions list<AppPermission>Application_permissions default
page_permissions list<PagePermission>Page_permissions default
productcatalog_permissions list<ProductCatalogPermission>Productcatalog_permissions default
shared_ca_count int32Shared_ca_count default
paging

For more details about pagination, see the Graph API guide.

summary

Aggregated information about the edge, such as counts. Specify the fields to fetch in the summary param (like summary=total_count).

FieldDescription
total_count unsigned int32Total number of businesses.

Error Codes

Error CodeDescription
200Permissions error
190Invalid OAuth 2.0 Access Token
104Incorrect signature

Creating

You can't perform this operation on this endpoint.

Updating

You can't perform this operation on this endpoint.

Deleting

/{business_id}/agencies

You can dissociate a Business from a Business by making a DELETE request to /{business_id}/agencies.

Parameters

ParameterDescription
business numeric string or integerThe agency's business. required

Return Type

Struct  {
success: bool,
}

Error Codes

Error CodeDescription
100Invalid parameter

Unofficial mirror for reference/search purposes. All content originates from developers.facebook.com — see the source link at the top of each page. Machine-readable indexes: llms.txt · llms-full.txt · About