Add workbook schedule
Add a schedule to a workbook to export data from the workbook on a periodic basis.
### Usage notes
- Retrieve the **workbookId** by calling the [/v2/workbooks](https://help.sigmacomputing.com/reference/list-workbooks) endpoint.
- Retrieve relevant IDs based on the export contents and destination:
- To export to one or more Sigma users, retrieve the **memberId** by calling the [/v2/members](https://help.sigmacomputing.com/reference/list-members) endpoint.
- To export to one or more Sigma teams, retrieve the **teamId** by calling the [/v2/teams](https://help.sigmacomputing.com/reference/list-teams) endpoint.
- Retrieve the **pageId** by calling the [/v2/workbooks/{workbookId}/pages](https://help.sigmacomputing.com/reference/list-workbook-pages) endpoint.
- Retrieve the **elementId** by first calling the [/v2/workbooks/{workbookId}/pages](https://help.sigmacomputing.com/reference/list-workbook-pages) endpoint, then calling the [/v2/workbooks/{workbookId}/pages/{pageId}/elements](https://help.sigmacomputing.com/reference/list-workbook-page-elements) endpoint.
Authentication
AuthorizationBearer
OAuth authentication of the form <token>.
Path parameters
workbookId
Request
The request body.
target
One or more targets to send the workbook to.
schedule
When to send the workbook export.
configV2
Configuration settings for the export schedule.
config
[Deprecated] Configuration settings for the export.
description
Description of the scheduled export
ownerId
ID of the user (member) to own the export.
Response
The response body.
scheduledNotificationId
Unique identifier of the scheduled export.
workbookId
Unique identifier of the workbook.
schedule
configV2
isSuspended
Whether the schedule is currently suspended.
ownerId
Unique identifier of the user who owns the schedule.
lastUpdatedByUser
Unique identifier of the user who last updated the schedule.
disabledAt
Timestamp when the schedule was disabled, or null if the schedule is active.
disabledBy
Unique identifier of the member who disabled the schedule, or null if the schedule is active.
createdBy
The identifier of the user who created this object.
updatedBy
The identifier of the user or process that last updated this object.
createdAt
When the object was created.
updatedAt
When the object was last updated.

