Choose or change site address
claim_siteChoose the address of the user's site, or change it. Rarely needed: the first create_page creates the site by itself, at the address derived from the Instagram handle (toto.cooks -> toto-cooks.saypage.page). get_account shows the current one.
No site yet: creates it at
subdomain(or the handle's address).A site already: moves it to
subdomain. Every page changes address; the old address redirects to the new one for a year and stays reserved meanwhile, so links already shared keep working, and a site can move at most 3 times a year. Ask the user first, and remind them to update the link in their Instagram bio.No
subdomain, or the current one: changes nothing.outcomesays which: created, moved or unchanged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subdomain | No | The address wanted, e.g. totocooks for totocooks.saypage.page; omitted: the one derived from the Instagram handle |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||