API keys and webhooks
Create and revoke API keys, and add webhooks that send a signed request to another service when published content changes.
The API screen connects scripts and other services to the content of your site. An API key lets a service read or change your content. A webhook sends a signed request to a service when published content changes.
Open API under Settings. The screen has the tabs API keys, Webhooks, and MCP server. Each tab shows the number of items in brackets. To connect an AI assistant on the MCP server tab, see MCP server.
The screen needs administrator access to the site and a role with the API Settings permission. Without this access, the screen shows a message that administrator access is required. If your plan does not include API access, the screen shows API access is not included in your plan. Upgrade to create API keys and webhooks.
For the requests, the response format, and how to verify a webhook signature, see the API documentation.
Create an API key
Start a key
On the API keys tab, click Create API key. The Create API key panel opens.

The Create API key panel.
- 1Name — A name for the key. Each key on the site needs a different name.
- 2Access — Sets what the key can do with your content.
- 3Custom — Shows a table where you choose Read and Write for each type of content.
- 4Expiry — Sets when the key stops working.
- 5Create — Creates the key and shows it one time.
Name the key
Enter a Name, for example the name of the service that uses the key. Each key on the site needs a different name, including revoked keys.
Choose the access
Under Access, choose one option:
- Read only: the key can read content.
- Read & write: the key can read and change content.
- Custom: choose Read and Write for each type of content.
A key never gets more access than your own role has.
Choose the expiry
Choose the Expiry: 30 days, 90 days, 1 year, or Never. The default is 90 days.
Create the key
Click Create.
Copy the key
The dialog Copy your API key shows the key. Click Copy and store the key in a safe place. Basker shows the key only one time. Select I have copied this credential, then click Done.
A site can have up to 25 keys that are not revoked. To create more, revoke a key first.
Find and change a key
The API keys tab lists each key with its Name, Key, Access, Created by, Created, Last used, and Status. The Key column shows only the start and end of the key. A key is Active, Expired, or Revoked.
- To find a key, enter a name or a person in Search, or choose a status.
- To download the list, click Export CSV. The file does not contain the keys.
- To change a key, click its name. Change the Name or the Access and click Save changes.
- To give a key more time, choose Extend by 90 days or Never under Expiry. You cannot make an expiry earlier.
Revoke an API key
Revoke a key when a service no longer needs it, or when someone else could have a copy of it.
Open the key
On the API keys tab, click the name of the key.
Revoke the key
Click Revoke key. In the dialog, click Revoke key again.
A service that uses a revoked key gets an error at once. You cannot undo a revoke or change a revoked key. To connect the service again, create a new key.
Add a webhook
Start a webhook
On the Webhooks tab, click Add webhook.
Enter the details
Enter a Label and the Endpoint URL of the service that receives the requests. The address must use HTTPS. Basker blocks private and internal addresses.
Choose the events
In the table below the address, each row is a type of content. Select Create, Update, or Delete for each change that the service needs.
Create the webhook
Click Create.
Copy the signing secret
The dialog Copy your signing secret shows the secret. Give it to the service that receives the requests, so that it can confirm that each request comes from Basker. Basker shows the secret only one time. Select I have copied this credential, then click Done.
A webhook sends a request only for published changes. Saving a draft does not send a request.
Test a webhook
Click the label of the webhook to open it. On the Overview tab, click Send test ping. Basker sends a test request. The Deliveries tab shows the result.
Check the deliveries
The Webhooks tab shows the Last delivery, the Success rate, and the Status of each webhook. On the Overview tab of a webhook, Last 24 hours shows the success rate and the number of failed deliveries.
The Deliveries tab lists each request with its Response and its Status: Succeeded, Failed, Retrying, Queued, Sending, or Cancelled. Choose a status or an event to show fewer rows. Click a row to see the Request, the Response, and all Attempts. Basker keeps the delivery log for 30 days.
To send a request again, open the delivery and click Redeliver. The service gets the same delivery ID, so it can find a request that it already processed.
Retries and disabled webhooks
A delivery succeeds when the service answers with a success code within 10 seconds. When a delivery fails, Basker tries again after about 1 minute, 5 minutes, 30 minutes, 2 hours, and 6 hours.
After 20 failed attempts in a row, Basker turns off the webhook and emails the site administrators. The webhook shows Disabled. Fix the service, then click Re-enable.
To stop deliveries for a time, click Pause. Click Resume to start them again.
Rotate the signing secret
Rotate the secret when someone else could have a copy of it.
Start the rotation
Open the webhook. Next to Signing secret, click Rotate.
Keep the old secret for a time
Under Keep previous secret valid for, choose 24 hours, 1 hour, or No grace period. During this time, Basker signs each request with the old and the new secret.
Copy the new secret
Click Rotate. Copy the new secret and give it to the service before the old secret stops working.
The webhook shows Previous secret valid until with the end of the grace period. You cannot rotate the secret again until the grace period ends.
Change or delete a webhook
- To change the label, address, or events, open the webhook and click Edit. Click Save changes.
- To delete a webhook, open it and click Delete webhook. Basker stops the deliveries and deletes the delivery log. You cannot undo this.
Where to go next
Search & Discovery
Tune the search on your site with boosts and synonyms, control what search engines and AI crawlers can reach, and publish llms.txt and Markdown versions of pages
Set up the cookie banner
Turn on the cookie banner, choose a consent mode, and add the legal policy links that the banner and the footer show.