Templates are per user. Every endpoint on this page sees only the templates belonging to the authenticated Daysync user — never another member’s, even for a tour or organization administrator. A template’s tour is fixed when it is saved, and it can only ever be applied to a day of that tour.
List templates
schedule.read
Path parameters
Example
data — array of templates:
The organization is resolved from the tour in the path — you do not supply an
org_id.Read a template’s items
schedule.read
Path parameters
Response
data — array of template items:
Save a template
schedule.write
Body
Example
data: { "id": 214 } — the new template’s ID.
Rename a template
schedule.write
Body
Renaming is the only edit this endpoint performs — a template’s items are fixed when it is saved. To change the items, save a new template.
data: { "id": 214 }.
Delete a template
schedule.write
Response data: none (status + message only).
Restore a deleted template
schedule.write
Response data: none. A template that is not deleted returns 400.
Apply a template
schedule.write
Body
Example
data: { "ids": [9101, 9102, 9103] } — the created schedule item IDs, in template order.
A dayId that is not on the template’s tour returns 400. You must still be a member of that tour: a 403 means you no longer are.
Undo an apply
schedule.write
Body
Only items stamped with this template ID are touched, and only ones you can see. Items you created by hand, or from a different template, are left alone.
Response
data: none.
See also: Schedule, Tours, Reference Data.

