Skip to main content
curl -X POST "https://api.adrelay.dev/v1/connections/sync" \
  -H "X-API-Key: $ADRELAY_API_KEY"
{
  "synced": 2,
  "connections": [
    {
      "id": "conn_abc123",
      "platform": "google_ads",
      "status": "ACTIVE",
      "last_synced_at": "2026-03-21T10:00:00Z"
    },
    {
      "id": "conn_def456",
      "platform": "meta_ads",
      "status": "ACTIVE",
      "last_synced_at": "2026-03-21T10:00:01Z"
    }
  ]
}
Sync refreshes OAuth tokens if needed, verifies platform access, and updates each connection’s status. Connections where access has been revoked will be updated to REVOKED status.