RelayAPI

Trigger manual sync for an ad account

Enqueues a full external sync (Graph fetch + ad/campaign upserts + metrics refresh) on the ads queue and returns immediately. Poll the list/analytics endpoints for results.

POST
/v1/ads/accounts/{id}/sync
AuthorizationBearer <token>

API key (rlay_live_* or rlay_test_*)

In: header

Path Parameters

id*string

Resource ID

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/ads/accounts/string/sync"
{  "status": "queued"}
{  "error": {    "code": "string",    "message": "string",    "details": {      "property1": null,      "property2": null    }  }}

Found something wrong? Help us improve this page.

Submit an Issue
Requires a GitHub account.View repo