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
Read endpoint
An HTTPS URL that returns a page when given its path or URL.
- 2
Update endpoint
An HTTPS URL that takes the page id and accepts the new values.
- 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
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.
Related guides
- Connect your website so fixes can be appliedChoose how Sonnetpilot applies approved SEO changes: WordPress, Shopify, a one-line snippet, GitHub or GitLab, or your own CMS API.
- Install the Sonnetpilot SnippetAdd one line of code (or a server recipe for Next.js, PHP or Express) so approved titles and descriptions show on a custom-coded website.
Something unclear or out of date? Tell us and we'll fix the guide.