Skip to content

Connect your own CMS or API

Updated

Quick answer

Give Sonnetpilot one HTTPS endpoint that finds a page by its path or URL and one that updates it by id, plus the auth header and where the title and description live in your JSON (for example seo.title). Sonnetpilot tests the read endpoint with your homepage before saving and only sends the mapped fields.

Where
Website menu → Setup → Website Connection → Custom code → Your own CMS or API
On this page

How to do it

  1. 1

    Read endpoint

    An HTTPS URL that returns a page when given its path or URL.

  2. 2

    Update endpoint

    An HTTPS URL that takes the page id and accepts the new values.

  3. 3

    Map the fields

    Tell Sonnetpilot where the id, title and description live in your JSON, an optional body wrapper, and the auth header.

  4. 4

    Test and save

    Sonnetpilot reads your homepage through the endpoint before saving the connection.

Frequently asked questions

What does Sonnetpilot send to my API?

Only the mapped fields, such as the title and description, for the page being changed.

Can I use HTTP endpoints?

No. Both endpoints must use HTTPS.

Something unclear or out of date? Tell us and we'll fix the guide.