Build a page based off of a template

First you need to be setup on Team Management and a template created: Apply templates to booking pages - YouCanBook.me Support

From the API you can GET the template Id: https://api.youcanbook.me/v1/profiles?fields=subdomain,id

Then you can POST to https://api.youcanbook.me/v1/profiles

With the minimum:
{
“subdomain” : “{newsubdomain}”,
“templateId”: “{templateId}”
}

You can pass in any additional information you need to update for the page, like title and team members, whatever you want.

I thought this was pretty cool, so wanted to share it here.

1 Like

How do you pass the additional information? We have tried to change several values, without any success. For example, onDutyToken does not seem to be able to change.

Terribly long delay here. You can come back with a PATCH to make any changes that you need to the page.