List ads
Authorization
Bearer AuthorizationBearer <token>
API key (rlay_live_* or rlay_test_). Invite redemption also accepts a server-derived rlay_session_ bearer for a current user session.
In: header
Query Parameters
campaign_id?string
platform?string
Value in
- "meta"
- "google"
- "tiktok"
- "linkedin"
- "pinterest"
- "twitter"
status?string
Value in
- "draft"
- "pending_review"
- "active"
- "paused"
- "completed"
- "rejected"
- "cancelled"
workspace_id?string
Filter by workspace ID
source?string
Default
"all"Value in
- "all"
- "internal"
- "external"
cursor?string
limit?integer
Range
1 <= value <= 100Default
20Response Body
application/json
curl -X GET "https://example.com/v1/ads"{ "data": [ { "ad_account_id": "string", "body": "string", "boost_external_post_id": "string", "boost_post_target_id": "string", "call_to_action": "string", "campaign_id": "string", "created_at": "2019-08-24T14:15:22Z", "daily_budget_cents": 0, "duration_days": 0, "end_date": "2019-08-24T14:15:22Z", "headline": "string", "id": "string", "image_url": "string", "is_external": true, "lifetime_budget_cents": 0, "link_url": "string", "name": "string", "platform": "meta", "platform_ad_id": "string", "start_date": "2019-08-24T14:15:22Z", "status": "draft", "targeting": null, "updated_at": "2019-08-24T14:15:22Z", "video_url": "string" } ], "has_more": true, "next_cursor": "string"}Found something wrong? Help us improve this page.