Task Management
Create Task List Template
post/v2/company/{company_id}/task_list_templates
Request
- Base URLhttps://api.7shifts.com
- Auth
- OAuth 2Authorization codehttps://app.7shifts.com/oauth2/authorizeClient credentialsPasswordToken URLhttps://app.7shifts.com/oauth2/token
- or API key in cookie 7session
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
company_idinteger required
Company ID
Headers
x-api-versionstring
An API version
Example:2022-05-01
7shifts API version
x-company-guidstring uuid
Company GUID
Request body
Example request
{
"recurrence": "RRULE:FREQ=WEEKLY;INTERVAL=1;WKST=MO",
"due": "2020-01-01",
"time_frame": {
"start": "09:00:00",
"end": "23:59:59"
}
}Response
Created a new task list template
Example response
{
"data": {
"due": "2020-01-01",
"recurrence": "RRULE:FREQ=WEEKLY;INTERVAL=1;WKST=MO",
"time_frame": {
"start": "09:00:00",
"end": "23:59:59"
}
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.