Skip to content

List Broadcasts

GET /api/broadcasts

Retrieve a list of all broadcasts created by the authenticated user. By default, returns broadcasts from the last 30 days. You can specify a custom date range (maximum 90 days).

Parameter Type Required Description
start_date string No Start date in ISO 8601 format (e.g., 2025-01-01). Defaults to 30 days ago.
end_date string No End date in ISO 8601 format (e.g., 2025-01-31). Defaults to today.

Default (last 30 days):

Terminal window
curl -X GET https://api.awajdigital.com/api/broadcasts \
-H "Authorization: Bearer your_api_token_here" \
-H "Accept: application/json"

With a custom date range:

Terminal window
curl -X GET "https://api.awajdigital.com/api/broadcasts?start_date=2025-01-01&end_date=2025-01-31" \
-H "Authorization: Bearer your_api_token_here" \
-H "Accept: application/json"
{
"success": true,
"broadcasts": [
{
"id": 123,
"name": "api_1_voice_100",
"status": "completed",
"createdAt": "2025-01-15T10:30:00.000+06:00"
},
{
"id": 124,
"name": "api_1_voice_50",
"status": "broadcasting",
"createdAt": "2025-01-14T14:20:00.000+06:00"
}
],
"dateRange": {
"startDate": "2025-01-01",
"endDate": "2025-01-31"
}
}

Date range exceeds 90 days:

{
"success": false,
"message": "Date range cannot exceed 90 days"
}