List ad accounts for a social account
Authorization
Bearer AuthorizationBearer <token>
API key (rlay_live_* or rlay_test_*)
In: header
Query Parameters
social_account_id?string
Filter by social account ID
workspace_id?string
Filter by workspace ID
q?string
Search by name or platform account ID
Length
length <= 200cursor?string
limit?integer
Default
20Range
1 <= value <= 100Response Body
application/json
application/json
application/json
curl -X GET "https://api.relayapi.dev/v1/ads/accounts"{
"data": [
{
"id": "string",
"social_account_id": "string",
"platform": "meta",
"platform_ad_account_id": "string",
"name": "string",
"currency": "string",
"timezone": "string",
"status": "string"
}
],
"next_cursor": "string",
"has_more": true
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}Found something wrong? Help us improve this page.