Skip to main content
GET
/
v1
/
schedules
List schedules
curl --request GET \
  --url https://{instance}.omniapp.co/api/v1/schedules \
  --header 'Authorization: Bearer <token>'
{
  "pageInfo": {
    "hasNextPage": true,
    "nextCursor": "<string>",
    "pageSize": 123,
    "totalRecords": 123
  },
  "records": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "schedule": "<string>",
      "disabledAt": "2023-11-07T05:31:56Z",
      "name": "<string>",
      "timezone": "<string>",
      "identifier": "<string>",
      "dashboardName": "<string>",
      "ownerName": "<string>",
      "lastCompletedAt": "2023-11-07T05:31:56Z",
      "lastStatus": "<string>",
      "destinationType": "<string>",
      "format": "<string>",
      "recipientCount": 123,
      "content": "<string>",
      "slackRecipientType": "<string>",
      "systemDisabledAt": "2023-11-07T05:31:56Z",
      "systemDisabledReason": "<string>",
      "alert": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Can be either an Organization API Key or Personal Access Token (PAT).

Include in the Authorization header as: Bearer YOUR_TOKEN

Query Parameters

q
string

Search term for filtering schedules by name, dashboard name, or owner name (case-insensitive).

status
enum<string>

Filter schedules by delivery status.

Available options:
success,
error,
canceled,
none
destination
enum<string>

Filter schedules by destination type.

Available options:
email,
slack,
webhook,
sftp
scheduleType
enum<string>

Filter by schedule type.

Available options:
alert,
schedule
contentType
enum<string>

Filter schedules by content type.

Available options:
dashboard,
single tile
sortField
enum<string>
default:scheduleName

The field to sort results by.

Available options:
scheduleName,
dashboardName,
ownerName,
lastRun,
lastRunStatus
sortDirection
enum<string>
default:desc

The direction to sort results.

Available options:
asc,
desc
cursor
integer
default:1

The page number for offset-based pagination.

pageSize
integer
default:20

The number of results to include on each page.

Required range: 1 <= x <= 100
ownerId
string<uuid>

Filter schedules by the owner's user ID. Use the List users endpoint to retrieve user IDs.

embedEntity
string

Filter schedules by embed entity:

  • If used as the only filter, list all schedules in the embed entity
  • If used with ownerId, list only schedules for the specified user if they are associated with the embedEntity. The response will be empty if the specified ownerId doesn't have the entity.
  • Can be combined with other filters for more specific results

Response

Paginated schedule list

pageInfo
object

Pagination information for paginated responses.

records
object[]

List of schedule records.