application/json
TypeScript Definitions
Use the request body type in TypeScript.
1 <= length <= 4096application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/projects/string/ads/accounts" \ -H "Content-Type: application/json" \ -d '{ "platform": "meta", "externalId": "string", "accessToken": "string" }'{ "id": "string", "projectId": "string", "platform": "meta", "externalId": "string", "name": "string", "currency": "string", "timezone": "string", "backfillDays": -9007199254740991, "syncStatus": "pending", "lastSyncStartedAt": "string", "lastSyncSucceededAt": "string", "lastSyncErrorAt": "string", "lastSyncError": "string", "nextSyncAt": "string", "createdAt": "string"}{ "error": { "type": "invalid_request", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "unauthenticated", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "permission_denied", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "not_found", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "internal", "code": "string", "message": "string", "param": "string" }}