Webhook settings and rules
This page covers everything about Webhooks: their settings, rules, limits, permissions, and the tasks you do in Content Studio. If you're new to Webhooks, start with Webhook, which explains what a Webhook is and the flow from creating one to checking its results.
The examples use the same online clothing store as Getting Started. The "Online Store" Space of the "Cozy Closet" Organization has the Webhook "New Product Translation Alert". When a new product (Content) is registered, this Webhook sends a request to https://example.com/translate, the address of an outside translation program. Products follow the "Product" Content Type, which has a Product Name Field (Field ID productName) and a Price Field (Field ID price). The product "Stainless Tumbler 500ml" costs 18,000 won. For examples that run a Script instead of sending to an address, the page uses the Script "Fill Product Description", which fills in a product's detailed description.
Settings
The settings for a Webhook are split across three sections on the "Create Webhook" screen: Basic, Trigger, and Request. After you create the Webhook, you edit them on the Settings tab of its detail screen. The Settings tab doesn't have the Activate right after creating checkbox. You turn a Webhook on and off from the status menu next to the title on its detail screen (Turn it on or off). The Settings tab has the same layout as the "Create Webhook" screen, except for Activate right after creating.

| Setting | Description | Default | Constraints |
|---|---|---|---|
| Name | A name that tells you which Webhook this is. It's in Basic | None. Required | 1 to 64 characters |
| Activate right after creating | A checkbox that's there only when you create a Webhook. When selected, the Webhook is turned on (Active) the moment it's created and reacts to the changes you set. When cleared, it's created turned off (Inactive) and doesn't react until you turn it on. It's in Basic | Selected | After creation, you turn it on and off from the status menu next to the title on the detail screen (Turn it on or off) |
| Event Topics | The changes to react to. Choose either Trigger for all events or Select specific triggering events. It's in Trigger | Trigger for all events | The changes you can choose are listed in The changes that send a request differ by item |
| Filters | Conditions that screen the item where the change happened, so the Webhook reacts only when they match. Add them one row at a time with the Add filter button. It's in Trigger | None. It reacts every time a chosen change happens | The conditions you can set are in Narrowing the scope with conditions |
| Endpoint | What to do when it reacts. Choose Enter URL to send a request to an address, or choose a Script from the list to run that Script. It's in Request | Enter URL | You set only one of the two: an address or a Script (When it runs a Script instead of a URL) |
| URL | The method and address for sending the request. Fill it in when Endpoint is Enter URL. You can also put placeholders in the address to send to a different address for each item | The method is POST | The rules are in Addresses you can send to |
| Run as | Decides whose name is recorded on the items a Script creates or edits. It appears when you choose a Script in Endpoint | Webhook creator | For details, see Run as only sets the name on the record |
| Custom HTTP headers | Name and value pairs sent along with the request. Add them one row at a time with the Add header button in Request, and choose a type for each row: Secret or Custom | None | The rules are in Headers and basic authentication |
| Use HTTP Basic Auth | Used when the receiving side checks requests with a username and password. It is in Request. Selecting it displays the Username and Password fields. It appears only when Endpoint is Enter URL | Not selected | The rules are in HTTP Basic Auth |
| Content-Type header | Sets the format for sending the request body. It appears below Send a request body when that option is selected | application/vnd.com.weegloo.v1+json | For details, see What the request carries |
| Send a request body | When selected, the request is sent with a body. It's in Request | Selected | If the method is GET, no body is sent even when it's selected |
| Payload | What goes in the body. Choose either Use default payload or Customize the Webhook payload | Use default payload | To set the shape to send yourself, write it in the JSON Editor (Writing the shape to send, and placeholders) |
The Content-Type header has a similar name to the Content Type data template. This field sets the format of the request body and has nothing to do with data templates.
Rules
The changes that send a request differ by item
A Webhook reacts to changes to the Content, Media, Content Types, and Comments in this Space. The changes that can happen to each kind of item are below. For how actions like publishing and archiving change an item's status, see How each action changes the status.
| Change | When it happens | Content | Media | Content Type | Comment |
|---|---|---|---|---|---|
| Create | When it's created | Yes | Yes | Yes | Yes |
| Save | When it's edited and saved | Yes | Yes | Yes | Yes |
| Delete | When it's deleted | Yes | Yes | Yes | Yes |
| Publish | When it's published | Yes | Yes | Yes | No |
| Unpublish | When it's unpublished | Yes | Yes | Yes | No |
| Archive | When it's archived | Yes | Yes | No | No |
| Unarchive | When it's unarchived | Yes | Yes | No | No |
If you choose Trigger for all events, the Webhook reacts to every change in the table above, including changes to Comments. To choose only the changes you need, choose Select specific triggering events. You can choose several changes for one Webhook, and it reacts when any one of them happens.
Sometimes a single action causes two changes at once. A Webhook that has both changes chosen sends two requests.
- A Content Type is published as soon as you create it, or edit and save it. So Publish follows Create or Save (A Content Type is published as soon as you save it).
- Media publishes itself once file processing finishes after you upload it, or edit and save it. So a separate Publish happens after Create or Save (Media publishes itself once processing finishes).
- When a signed-up member (ServiceUser) creates or edits Content in your service, Publish follows Create or Save. When a member deletes their own Content, Unpublish and Delete happen in that order (Publishing Content created by signed-up members).
The conditions you can set for changes to Comments are in Narrowing the scope with conditions. For the rule that no request is sent for replies and Comments deleted along with their original Comment or item, see Comment alerts and Webhooks. Changes made by a Script are explained in By default, Webhooks don't react to changes made by Scripts, and changes that the program receiving the request saves back are explained in It reacts again to changes the receiving program saves.
Narrowing the scope with conditions
Filters screen the item where the change happened, so the Webhook reacts only when the conditions match. Each filter row is made up of what to base it on (Select Field), how to compare (Select operator), and what to compare with (the value). How you enter the value depends on what the row is based on. For a Content Type, choose from the Select Content Type list, and for a person, choose from the Select a user list. For comparisons that take several values, enter the values one at a time and press Enter after each.
You can base a filter on four things.
| Based on | On screen | What it compares | Changes it applies to |
|---|---|---|---|
| Item | Entity ID (sys.id) | The ID of the item where the change happened (a unique name given to each item) | Changes to every kind of item |
| Content Type | Content Type ID (sys.contentType.sys.id) | The template the Content follows | Changes to Content |
| Creator | User ID, created by (sys.createdBy.sys.id) | The person who first created the item | Changes to every kind of item |
| Last editor | User ID, updated by (sys.updatedBy.sys.id) | The person who last edited the item | Changes to every kind of item |
For changes to Comments, the item is the Comment itself. So a Webhook that reacts to Comments can't be narrowed to the Content or Media the Comment is on, or to a Content Type. It can be narrowed only by the Comment ID and by who wrote or edited the Comment.
There are six ways to compare.
| Comparison | On screen | Reacts when |
|---|---|---|
| Equal | Equals | It's the same as the value you entered |
| Not equal | Not Equals | It's different from the value you entered |
| One of a list | In | It's the same as one of the values you entered |
| Not in a list | Not In | It isn't the same as any of the values you entered |
| Matches a pattern | Regexp | It matches the pattern you entered (a regular expression: a pattern, written in symbols, that describes how text is put together) |
| Doesn't match a pattern | Not Regexp | It doesn't match the pattern you entered |
- If you set several filter rows, the Webhook reacts only when all of them are met. With no filters, it reacts every time a chosen change happens.
- A value can be up to 255 characters. For comparisons that take several values, each value can be up to 255 characters.
- You can't set the exact same row twice.
- A pattern must be a valid regular expression to be saved. The pattern has to match the whole value, not only part of it. For example, to react only to items whose ID starts with
3trm, write3trm.*, not3trm. - A row based on something that doesn't apply to the changed item is left out of the check. A Content Type row applies only to changes to Content. For changes to Media, Content Types, and Comments, the check runs as if that row weren't there. For example, if you set a "Product" Content Type condition and choose both Content Create and Media Create, the Webhook reacts not only when you register a product but also every time you upload a photo.
- To narrow changes to Content Types themselves down to "Product" alone, enter the ID of the "Product" Content Type in a row based on the item.
Addresses you can send to
When Endpoint is Enter URL, you set the method and address for the request in the URL field.
- For the method (the kind of request, which tells the receiving side what you're asking it to do), choose one of GET, POST, PUT, PATCH, and DELETE from the dropdown in front of the URL field. The default is POST. A request sent with GET carries no body.
- The address must start with
http://orhttps://. - Private network addresses used only inside a company or home (for example, addresses starting with
10.or192.168.) and addresses that point back to the computer itself (localhost,127.0.0.1) aren't saved. Addresses whose domain can't be found aren't saved either. That's because, when you save, WEEGLOO checks where the address actually points. - You can put placeholders in the address too. For example, if you write
https://example.com/products/{ /payload/sys/id }/translate, then when the tumbler product is registered, the request goes tohttps://example.com/products/3trmXRM3RqbgSnifyg7OGhwhlqvAvq/translate, with that product's ID filled in. Placeholders can go only in the path after the domain or in the values after?. An address with a placeholder in the domain part isn't saved. The rules for how placeholders are replaced are in Writing the shape to send, and placeholders. - Even if the receiving side responds by redirecting to another address, the Webhook doesn't follow the redirect (What counts as success and failure).
What the request carries
If you choose Use default payload under Payload, the request body carries all the information about the item that changed. When the product "Stainless Tumbler 500ml" is registered, the body looks like this. In reality, it carries more information, such as who created the item and when. Below is only part of it.
{
"sys": {
"id": "3trmXRM3RqbgSnifyg7OGhwhlqvAvq",
"type": "Content",
"contentType": {
"sys": { "id": "3trmXRM3RqbgSnifyg7P1we790fAY4", "type": "Refer", "targetType": "ContentType" }
},
"updatedAt": "2026-11-05T01:10:49.387Z",
"version": 1
},
"fields": {
"productName": { "ko-KR": "스테인리스 텀블러 500ml" },
"price": { "ko-KR": 18000 }
}
}sysholds system information, such as the item's ID (id), kind (type), the template it follows (contentType), when it was last edited (updatedAt), and its version number (version).fieldsholds the Field values, split by Field ID and, within each, by language code. In a Space that uses several Locales, the values for every language are included.- In bodies sent for Unpublish, Unarchive, and Delete,
Deletedis added to the front of thetypevalue insys(for example,DeletedContent).
Besides the headers you add yourself, requests sent to an address also carry the two headers below.
| Header | Value it carries |
|---|---|
X-Weegloo-Topic | The change that sent the request. For a product being registered, it's ContentManagement.Content.Create |
X-Weegloo-Webhook-Name | That Webhook's Name |
You choose the body's format in Content-Type header.
- If you choose a JSON format, like the default application/vnd.com.weegloo.v1+json, the body is sent as JSON (a text format widely used for programs to exchange data, which writes name and value pairs inside curly brackets).
- If you choose the form format (
application/x-www-form-urlencoded), the body is sent asname=valuepairs joined with&. Nested values are flattened by joining their names with square brackets, as inproduct[sku]. For the exact notation, see the API reference. - The Content-Type header dropdown offers three formats: Application/vnd.com.weegloo.v1+json, Application/json, and Application/x-www-form-urlencoded.
- When a body is sent, the format chosen in Content-Type header is used instead of any Content-Type you add as a header. The screen also says "Any custom Content-Type header will be ignored".
- If Send a request body isn't selected, the request is sent with no body. No body is sent when the method is GET either. In those cases, the Content-Type header and Payload settings aren't used, and you can't edit those fields on the screen.
Requests a Webhook sends don't come with a separate signature proving where they came from. To let the receiving side confirm that a request came from your Webhook, send a value agreed on with the receiving side in advance, in a Secret header or with HTTP Basic Auth (Headers and basic authentication).
Writing the shape to send, and placeholders
If the receiving program has set a format, as in "I'll accept requests only in this shape", choose Customize the Webhook payload under Payload and write the shape to send in the JSON Editor. Write the shape to send as a JSON object wrapped in curly brackets ({ }). A value that is not an object cannot be saved. At the top right of the JSON Editor, the number of characters entered so far appears along with the number allowed (for example, 0 / 500).
In the shape to send, write a placeholder wherever an item's value should go. A placeholder is notation that marks "put the value of the item that changed here". It takes the form { /payload/경로 }. payload refers to the whole default payload. After it, write the names along the way to the value you want, in order, joined with /.
| Placeholder | Value it points to |
|---|---|
{ /payload/sys/id } | The item's ID |
{ /payload/sys/contentType/sys/id } | The ID of the Content Type the Content follows |
{ /payload/fields/productName/ko-KR } | The Korean value of the Product Name Field. After fields/, write the Field ID and then the language code |
Say the incoming data is the default payload above, and you write the following in the JSON Editor.
{
"id": "{ /payload/sys/id }",
"text": "{ /payload/fields/productName/ko-KR }",
"price": "{ /payload/fields/price/ko-KR }",
"message": "새 상품 등록: { /payload/fields/productName/ko-KR }"
}When the tumbler product is registered, the placeholders are replaced with real values, and the receiving side gets the following body.
{
"id": "3trmXRM3RqbgSnifyg7OGhwhlqvAvq",
"text": "스테인리스 텀블러 500ml",
"price": 18000,
"message": "새 상품 등록: 스테인리스 텀블러 500ml"
}Placeholders are replaced with real values according to these rules.
- If a field's entire value is a single placeholder, the value it points to goes in with its original shape. Numbers go in as numbers, and lists as lists. That's why
priceabove was sent as18000, not"18000". - If you write a placeholder together with other text, the value it points to is turned into text and goes in that spot (
messageabove). - If there's no value at the path, a field whose entire value is a single placeholder gets
null. A placeholder written together with other text is left empty. - Paths are case-sensitive. Write the Field ID (
productName), not the Field name ("Product Name"), and write the language code exactly too. - You can use placeholders in header values too. For example, if you set the value of the header
X-Product-Idto{ /payload/sys/id }, that header carries the product's ID. - You can also use placeholders in the address in the URL field. A placeholder in an address counts as written together with other text, so the value it points to goes in as text. If there's no value, the request goes to the address with that spot left empty. There's an example in Addresses you can send to.
- Values that go into an address are converted into characters allowed in addresses (percent-encoding). A space becomes
%20,/becomes%2F, and&becomes%26, and characters other than English letters are converted the same way (for example,텀becomes%ED%85%80). So the characters in a value aren't read as symbols that divide the address, and they're delivered as part of the value. - The parts you type directly in the URL field are sent exactly as typed. So a part you've already converted, such as
%2B, isn't converted again. If a part you type needs a space or characters other than English letters, convert them yourself beforehand. - The shape to send applies the same way to a Webhook that runs a Script (When it runs a Script instead of a URL).
Headers and basic authentication
Click the Add header button in Custom HTTP headers to add a row for a header that's sent along with the request. A header is a name and value pair. The receiving program uses a secret value in a header to check that the request came from the right sender, or uses a value in a header to tell what kind of request it is. For each row, choose a type from the dropdown at the front. Basic authentication, which checks a username and password, isn't set in a header row but in Use HTTP Basic Auth (HTTP Basic Auth).

| Type | What you enter | Value kept in call records |
|---|---|---|
| Custom | The header name (Key) and Value | The value as you entered it |
| Secret | The header name (Key) and Value | The value hidden as ********** |
Header names and values
- A name can use only English letters, numbers, and a few symbols such as
-,_, and.. If you type a character that isn't allowed, a message below the field tells you which symbols you can use. Spaces and colons (:) aren't allowed. A name is 1 to 255 characters. - You can't use the same name on two rows, even if only the capitalization differs.
X-Translate-Keyandx-translate-keycount as the same name. - A value is 1 to 4,096 characters and can't be left empty. You can use placeholders in values.
- You can add up to 30 Secret and Custom headers combined.
Who can see Secret values
- Values set as Secret are kept in the Call Log hidden as
**********. You can't see the original value in the call records. - However, anyone who can read the Webhook's settings, that is, anyone with the Manage Webhooks permission, can see the original value. On the Settings tab, the value field of a Secret header is filled in with the stored value, hidden as dots, and clicking the eye icon on the right of the field reveals the original value. Reading this Webhook from a program or through your connected AI tool also returns the original value. So allow Manage Webhooks only to members who may know those secret values (Required permissions).
- A Secret value you've already saved is kept even if you save again without re-entering it. The stored value is looked up by the header name, so if you change the name, you need to enter the value again. When you change the name, the message "The saved value can't be used after changing the header key. Please enter the value again." appears.
HTTP Basic Auth
Select Use HTTP Basic Auth to show the Username and Password fields. The username and password you enter are used to build a basic authentication header (Authorization), which is sent with the request.
- A Webhook can have only one basic authentication setting. While you're using basic authentication, you can't also have a header row named
Authorization. If you add such a row, a message asks you to remove one of the two. - The username and password can each be up to 32 characters. The username can't contain a colon (
:). When you set it up, you must enter both a username and a password. You can't have a password without a username. - In call records, the value of the basic authentication header is kept hidden as
**********. - A saved password can't be read back. Even when you read the Webhook from a program, the password isn't included.
- On the Settings tab, the Password field shows "Using the saved password" instead of the stored password. If you save without touching it, the stored password is kept. To change it, click Change next to the field and enter a new password. Click Cancel to go back to the stored password.
Use HTTP Basic Auth appears only when Endpoint is Enter URL. In a Webhook that runs a Script, Secret and Custom headers are passed to the Script, and basic authentication isn't used (When it runs a Script instead of a URL).
When it runs a Script instead of a URL
When you choose a Script from the Endpoint list, the Webhook runs that Script in this Space instead of sending a request to an address. You can set only one of the two, an address or a Script, and only one Script.
When you choose a Script, Open this Script appears below Endpoint, and the URL field is not displayed. Run as appears as well (Run as only sets the name on the record). The Endpoint list displays only the Scripts for which Read is allowed on the Script tab of your role.

Here's which of a Webhook's settings are used when it runs a Script.
| Webhook setting | When running a Script |
|---|---|
| Payload | Used. The default payload, or the shape to send you wrote yourself, is passed to the Script, which reads it as { /payload/… } |
| Send a request body | If it isn't selected, no value is passed to the Script |
| Secret and Custom headers | Used. The Script reads their values as { /headers/이름 }, with the header name in lowercase |
| HTTP Basic Auth | Not used. This section doesn't appear when you choose a Script |
| The method and Content-Type header | Not used |
- If the Script has a Payload Schema that sets the format of the values it accepts, the values the Webhook passes must match that format too. If they don't, the Script doesn't run, and a failure is recorded. If Send a request body isn't selected, an empty value is checked, so it won't match a format that requires certain values.
- If the Script doesn't finish within the run time it's given, the run stops and a failure is recorded. For how much time it's given, see Time allowed for a single run.
- Each time a Webhook runs a Script, one of your plan's Script runs is used (Limits).
- When a Webhook runs a Script, nobody's Execute on that Script is checked. Whose permissions the work inside a Script runs with is laid out in Script run permission and delegation.
- A Webhook runs the Script even if the Script's Who can run it from the call URL is set to None. If a Script should react only to the changes you set, set Who can run it from the call URL to None (Run it only from a Webhook or Scheduler).
- The result is recorded in both the Webhook's Call Log and the Script's Execution Log. In the Script's Execution Log, the Trigger column tells you whether a record is from a run by a Webhook. The Trigger field identifies the source of the run with "Direct call", "Webhook", or "Scheduler". For a direct call, it shows the caller; for a Webhook or Scheduler, it shows its name.
- A Script that a Webhook is using can't be deleted. When you delete a Webhook, the execution logs of the Script runs it started are deleted too (Deleting items such as Locale, Tag, and Script).
Run as only sets the name on the record
Run as decides whose name is recorded on the items a Script creates or edits. It appears only when you've chosen a Script, and Webhooks that send requests to an address don't use it.
| Option | Name recorded on items the Script creates or edits |
|---|---|
| Webhook creator (default) | The person who created this Webhook |
| Triggering user | The person who caused the change |
- This setting doesn't widen or narrow what the Script can do. The screen also notes that it "is not a permission boundary". What the Script can do is decided when the Script is saved (Script run permission and delegation).
- Triggering user works only with changes to Content and Media. If the Webhook is set off by a change to a Content Type or a Comment, it doesn't run the Script and records a failure.
By default, Webhooks don't react to changes made by Scripts
Even when a Script creates, edits, or publishes Content or Media, by default Webhooks don't react to that change. So when a Script that fills in the detailed description on product registration edits that product, the edit doesn't make the Webhook run again.
Webhooks react only when a step in the Script's definition that works with Content or Media is set to announce its changes. For how to set this, see the API reference. A chain where a Webhook reacts to a change made by a Script, and the Script that Webhook runs makes another change, can continue up to three times. Webhooks don't react to the change after that.
It reacts again to changes the receiving program saves
Sometimes the program that receives a request at its address saves its results back to the same item. For example, the translation program receives the tumbler product, fills in the English product name, and saves the product. A change an outside program saves like this triggers Webhooks exactly like a change saved in Content Studio. Unlike changes made by a Script, these changes aren't limited to three in a row.
"New Product Translation Alert" reacts only when a product is newly registered (Create), so it doesn't send another request when the translation program saves the product. But if you've also set it to react when a product is edited and saved (Save), or you've chosen Trigger for all events, it sends another request to the same address every time the translation program saves the product. If the translation program saves again every time it receives a request, requests and saves repeat endlessly. If the translation program also publishes after saving, the same thing happens with Webhooks that react to publishing (Publish).
Prevent this loop in one of the following ways.
- Build the receiving program so it doesn't save an item again once it has handled it. For example, it doesn't save a product whose English product name is already filled in.
- Remove the changes the receiving program causes (Save, Publish) from the changes the Webhook reacts to (The changes that send a request differ by item).
- Let a Script in this Space call the outside program and save the result. By default, Webhooks don't react to changes made by a Script (When it runs a Script instead of a URL).
Requests are sent separately, after the change is done
- A Webhook sends its request after the change is saved. Even if the receiving side fails or doesn't respond, the original change, such as registering a product, still completes. You can't use a Webhook to block or undo the original change.
- If several Webhooks react to the same change, each one sends its own request.
- The order in which requests arrive isn't fixed. Requests for changes that happened one after another can arrive in a different order from the one they happened in. If order matters, have the receiving side work out the order from the body's
updatedAt(when the item was last edited) orversion(the version number). - No requests are sent, and no call records are kept, for changes that happen while the Webhook is turned off (Inactive). Turning it back on doesn't send requests for the changes made while it was off.
- When you edit the settings, the new settings apply to requests sent after you save.
- On the Free, Basic, and Pro plans, once the Organization's external call transfer volume for this month is used up, Webhooks that send requests to an address stop. No call records are kept then either. Webhooks that run a Script don't stop and keep running the Script. But the outside service calls and email sending inside that Script stop (All Spaces in an Organization share the run count). Once the Script run count is used up, Webhooks that run a Script record a failure without running it. For when the limits lift again, see When you exceed transfer volume or storage space.
What counts as success and failure
A Webhook that sends to an address decides success or failure by the response code the receiving side returns (a result number that tells how the receiving side handled the request).
| Receiving side's response | Result |
|---|---|
| A response in the 200s | Success |
| A response in the 300s (a response that redirects to another address) | Success. The Webhook doesn't follow the redirect |
| A response in the 400s or 500s | Failure |
| Couldn't connect, or no response within 15 seconds | Failure |
| A response that's too large | Failure. The request has already reached the receiving side by then. |
A Webhook that runs a Script succeeds when the Script finishes without errors. It fails if the Script ends with a response code of 400 or higher or with an error, is stopped for going over its time, or doesn't run for one of the reasons covered in When it runs a Script instead of a URL.
- Failed requests aren't sent again. A change whose request failed stays undelivered to the receiving side, so the receiving side has to check for it separately. For the steps to find the cause and respond, see Monitoring external integrations.
- The Successful Calls(%) column in the Webhook list shows the share of successful calls among all calls since the Webhook was created. This percentage stays the same even after call records are deleted. If there have been no calls yet, a dash appears instead of a number.

Call records are kept for 1 hour on success and 3 days on failure
Every time a Webhook sends a request or tries to run a Script, one record is added to the Call Log tab on that Webhook's detail screen.
- Records of successful calls are deleted automatically after 1 hour, and records of failed calls after 3 days. Successful records disappear first, so the list can look as if it holds only failures. Keep anything you need for a long time separately, on the receiving side.
- Requests that weren't sent because the Webhook was Inactive or the external call transfer volume was used up aren't recorded.
- The values of Secret headers and of the header built from HTTP Basic Auth are kept hidden as
**********. - Long bodies are shortened in the records. The cutoff is 65,536 characters for a sent request and 8,192 characters for a received response. If the body is JSON, the middle part of each long value is shortened, rather than the body as a whole. The receiving side gets the full, unshortened body.
- A record of a Script run keeps the values passed to the Script and the values the Script returned (or what went wrong, if it failed), instead of a destination address.
- Deleting a Webhook also deletes its call records.
The steps for viewing the records are in View call records.
Limits
| Item | Limit |
|---|---|
| Length of Name | 1 to 64 characters |
| Length of one filter value | 255 characters |
| Number of headers | 30, Secret and Custom combined |
| Length of a header name (Key) | 1 to 255 characters |
| Length of a header Value | 1 to 4,096 characters |
| HTTP Basic Auth | One per Webhook. The username and password can each be up to 32 characters |
| Size of a shape to send that you write yourself | 1 MiB. In Content Studio, the JSON Editor shows the number of characters you can enter as 500 |
| Time to wait for the receiving side's response | 15 seconds |
| How long call records are kept | 1 hour on success, 3 days on failure |
| Length of the body kept in call records | 65,536 characters for a sent request, 8,192 characters for a received response |
| Reactions chained from changes made by Scripts | Three times |
| Number of Webhooks | Varies by plan. Check the "Webhook" row in Pricing |
| External call transfer volume | Varies by plan. Check the "External calls" row in the same table. It's shared with Scripts' outside service calls and email sending |
| Script run count | Varies by plan. Check the "Script executions" row in the same table. Each time a Webhook that runs a Script runs it, one run is counted |
Plan limits apply per Organization and are shared by every Space in that Organization. For what happens when you go over a limit and how it lifts again, see What happens when you go over a limit. You can see how much you've used so far in Keeping an eye on usage and limits.
Required permissions
| What you want to do | Required permission |
|---|---|
| View the Webhook list and settings, create, edit, turn on or off, and delete | Manage Webhooks in the role (SpaceRole) you have in that Space |
| View call records | Manage Webhooks |
| Set a Script as the Endpoint | Manage Webhooks, and Read on that Script (Scripts without Read do not appear in the Endpoint list) |
| Have a Webhook run a Script | No permission is checked (Script run permission and delegation) |
| Cause a change that a Webhook reacts to | You only need permission to make that change. No permission on the Webhook is needed |
- You turn on Manage Webhooks on the Settings tab of the role screen. You need this item even to only view the Webhook list and settings (Settings permissions on the Settings tab).
- Manage Webhooks takes effect only when members work with their own accounts. You can't work with Webhooks using a Space Access Token (Settings permissions work only for people).
- Anyone with Manage Webhooks can make this Space's Scripts run in response to changes. They can also read the original values of Secret headers. Allow this permission only to members who really need it.
Tasks in Content Studio
The first task, Create a Webhook, gives the basic steps for creating the clothing store's first Webhook, "New Product Translation Alert". After it come the steps for changing that Webhook's scope and the shape it sends, turning it on and off, and deleting it, along with the steps for creating a Webhook that runs a Script. You open the Webhook screen from Webhooks in the left menu. To find where this menu is, see Where the other settings in a Space are.
Create a Webhook
These are the steps for creating the Webhook "New Product Translation Alert" in the "Online Store" Space. Say the translation program that will receive the requests is at https://example.com/translate.
- In the left menu, click Webhooks.
- Click the Create button at the top right of the list. The "Create Webhook" screen opens.
- Enter
New Product Translation Alertin the Name field. - Make sure Activate right after creating is selected.
- Leave Event Topics at its default, Trigger for all events.
- Leave Endpoint set to Enter URL.
- Enter
https://example.com/translatein the URL field. Leave the method at its default, POST. - Click the Create button at the top right of the screen.
The rules for the addresses you can enter in the URL field are in Addresses you can send to.
The screenshot in Settings shows the "Create Webhook" screen with this name and address entered.
When you click Create, the detail screen of "New Product Translation Alert" opens. Click Webhooks in the left menu to open the list. If "New Product Translation Alert" shows as Active, the Webhook has been created. You can see what the list looks like at this point in What counts as success and failure.
This Webhook sends requests not only when you register a product but also when you upload a photo or leave a Comment, because you created it with Trigger for all events. The steps for narrowing it to send requests only when a product is registered are in Send requests only when a "Product" is registered.
Once it's created, try registering a new product in the clothing store (Creating and publishing Content). When you register a product, the Webhook sends a request to https://example.com/translate. You can check whether the request got through, and how the translation program responded, on that Webhook's Call Log tab (View call records).
The steps for pausing it, changing its address, or deleting it are in Turn it on or off, Edit the settings, and Delete a Webhook. For who can create and manage Webhooks, see Required permissions.
Send requests only when a "Product" is registered
If you created "New Product Translation Alert" with the default, Trigger for all events, it sends requests not only when you register a product but also when you upload a photo or leave a Comment. These are the steps for narrowing it to send requests only when new Content made with the "Product" Content Type is registered.
- In the left menu, click Webhooks.
- In the list, click "New Product Translation Alert". That Webhook's detail screen opens.
- Click the Settings tab.
- Under Event Topics, choose Select specific triggering events.
- In the table that appears, select only the box where the Content row meets the Create column. The table's rows are Content Type, Content, Media, and Comment, and its columns are Create, Save, Archive, Unarchive, Publish, Unpublish, and Delete. You can't select boxes for changes that don't happen to that kind of item.
- Under Filters, click the Add filter button.
- In the Select Field box of the new row, select Content Type ID (sys.contentType.sys.id).
- In the Select operator box, select Equals.
- In the Select Content Type list in the value box, select "Product".
- Click the Save button at the top right of the screen.





After you save, the Webhook sends requests only when a product is registered. It doesn't send requests when someone uploads a photo or leaves a Comment.
Send in the shape the translation program wants
Say the translation program accepts only the product ID and the product name to translate, under the names id and text.
-
In the left menu, click Webhooks.
-
In the list, click "New Product Translation Alert".
-
Click the Settings tab.
-
Under Payload, make sure Send a request body is selected.
-
Choose Customize the Webhook payload.
-
Enter the following in the JSON Editor.
{ "id": "{ /payload/sys/id }", "text": "{ /payload/fields/productName/ko-KR }" } -
Click the Save button at the top right of the screen.

When the tumbler product is registered, the translation program receives { "id": "3trmXRM3RqbgSnifyg7OGhwhlqvAvq", "text": "스테인리스 텀블러 500ml" }. The rules for how placeholders are replaced are in Writing the shape to send, and placeholders.
Send the translation program's key in a Secret header
Say the translation program requires every request to carry a secret value it issued in advance, in the X-Translate-Key header.
- In the left menu, click Webhooks.
- In the list, click "New Product Translation Alert".
- Click the Settings tab.
- In Custom HTTP headers, click the Add header button.
- In the type dropdown of the new row, select Secret.
- Enter
X-Translate-Keyin the Key field. - In the Value field, enter the secret value issued by the translation program.
- Click the Save button at the top right of the screen.


This value is kept hidden in the call records, but anyone with the Manage Webhooks permission can see the original value on the Settings tab or from a program (Who can see Secret values).
Add basic authentication
Say the translation program requires basic authentication, which checks a username and password. The username is cozy-closet, and the password is the value issued by the translation program.
- In the left menu, click Webhooks.
- In the list, click "New Product Translation Alert".
- Click the Settings tab.
- Select Use HTTP Basic Auth.
- Enter
cozy-closetin the Username field. - In the Password field, enter the password you were issued.
- Click the Save button at the top right of the screen.


Create a Webhook that runs a Script
These are the steps for creating the Webhook "Auto-fill Product Description", which has the Script "Fill Product Description" fill in a product's detailed description whenever a new product is registered. Say you've already created "Fill Product Description". For how to create a Script, see Script.
- In the left menu, click Webhooks.
- Click the Create button at the top right of the list. The "Create Webhook" screen opens.
- Enter
Auto-fill Product Descriptionin the Name field. - Make sure Activate right after creating is selected.
- Set Event Topics and Filters as in Send requests only when a "Product" is registered.
- Click Endpoint.
- In the list, select "Fill Product Description".
- Leave Run as set to Webhook creator.
- Click the Create button at the top right of the screen.

When you click Create, the detail screen of "Auto-fill Product Description" opens. From now on, "Fill Product Description" runs every time a product is registered. When the Script edits that product, this Webhook doesn't run again (By default, Webhooks don't react to changes made by Scripts).
Turn it on or off
These are the steps for pausing "New Product Translation Alert" while the translation program is under maintenance. If you turn it off instead of deleting it, its settings stay as they are, so you can turn it back on and use it once the maintenance is over.
- In the left menu, click Webhooks.
- In the list, click "New Product Translation Alert".
- Click the status menu (Active) next to the title on the detail screen.
- In the menu that opens, select Inactive. The "Deactivate Webhook" confirmation window opens, with the message "This Webhook won't run on any event until you activate it again."
- In the confirmation window, click Deactivate.



If Inactive shows next to the title and in the Status column of the list, the Webhook is off. To turn it back on, select Active in the same menu. It turns on right away, with no confirmation window. Changes that happened while it was off aren't sent, even after you turn it back on (Requests are sent separately, after the change is done).
Edit the settings
These are the steps for updating the address of "New Product Translation Alert" after the translation program's address changes to https://example.com/translate/v2.
- In the left menu, click Webhooks.
- In the list, click "New Product Translation Alert".
- Click the Settings tab.
- Change the address in the URL field to
https://example.com/translate/v2. - Click the Save button at the top right of the screen.


- The edited settings apply to requests sent after you save.
- If someone else saved the same Webhook first in the meantime, a "Version Conflict" dialog opens when you save. It says "Someone else has modified this item since you started editing. Your changes may overwrite their work." and displays Cancel, Discard My Changes & Reload, and Overwrite with My Changes.
View call records
These are the steps for checking the requests "New Product Translation Alert" sent recently and the responses it received.
- In the left menu, click Webhooks.
- In the list, click "New Product Translation Alert". The detail screen opens on the Call Log tab.
- Click the row of the call you want to check. The "Webhook call log detail" window opens.

For each call, the table on the Call Log tab shows Called at, Call Result (the response code), Event action (the change that sent the request), Duration, and Request ID. Use the Result field at the top to see only successful calls or only failed ones. Click the refresh icon at the top right of the table to reload the list, including calls sent a moment ago.

The top of the detail window shows Called at, Status, Duration, Event (for example, Content > Create), Called URL, and Request ID, and the bottom shows the headers and bodies of the Request and Response side by side. To pass this call on to someone else exactly as it is, click Copy cURL. To get the whole record as a file, click Download .json. For the steps to find the cause of a failure from the records and respond, see Monitoring external integrations.
Delete a Webhook
These are the steps for deleting "New Product Translation Alert", which you no longer use. If you only want to pause it, turn it off instead of deleting it (Turn it on or off).
- In the left menu, click Webhooks.
- In the list, click "New Product Translation Alert".
- Click the Delete button at the top right. The "Delete Webhook" confirmation window opens, with the message "Do you want to delete this Webhook? This action cannot be undone."
- In the confirmation window, click Delete.

A deleted Webhook can't be restored. Its call records, and the execution logs of the Script runs it started, are deleted along with it (Deleting items such as Locale, Tag, and Script).
Troubleshooting
| Problem | Cause | What to do |
|---|---|---|
| You registered a product, but no request was sent, and nothing shows in the Call Log | The Webhook is Inactive, product registration (Content Create) isn't chosen, or the product didn't match the filters. The same happens when this month's external call transfer volume is used up on the Free, Basic, and Pro plans | Check Status in the list, and Event Topics and Filters on the Settings tab. Check the transfer volume in Keeping an eye on usage and limits |
| You entered an address, but it won't save | It doesn't start with http:// or https://, it points to a private network or to the computer itself, or its domain can't be found | Change it to an address that opens on the internet (Addresses you can send to) |
| You set a "Product" condition, but requests are sent when you upload photos too | A Content Type condition applies only to changes to Content | Remove the Media changes in Event Topics |
| A request is sent every time someone leaves a Comment | Trigger for all events includes changes to Comments | Use Select specific triggering events to choose only the changes you need |
| You uploaded one photo, but two requests were sent | Media publishes itself after it's uploaded, so Create and Publish happen one after the other | Choose only the one of the two changes you need |
| The receiving side got the request, but it's recorded as a failure | The receiving side didn't respond within 15 seconds, or the response was too large (What counts as success and failure) | Change the receiving side so it responds first and does slow processing afterward, or make the response it returns smaller |
| The receiving side responded with a redirect to another address, but the Webhook didn't follow it | Responses in the 300s aren't followed and are recorded as successes | Write the final address in the URL field |
| A failed request isn't sent again | Failed requests aren't resent | Check for missed changes separately on the receiving side (Responding to a failure) |
| You can't find the record of a request sent yesterday | Records of successful calls are deleted after 1 hour, and records of failed calls after 3 days | Keep anything you need for a long time separately, on the receiving side |
null is sent where a placeholder is, or that spot is empty | The path is wrong, or the item doesn't have that value | Check the path's capitalization, the Field ID, and the language code (Writing the shape to send, and placeholders) |
| A number is sent as text | You wrote the placeholder together with other text | In a field that should send a number, write only a single placeholder |
| A header won't save | Its name has a character that isn't allowed, two rows have the same name with only the capitalization different, or the value is empty | Fix it to follow the rules in Headers and basic authentication |
| After you rename a Secret header, you have to enter its value again | The stored value is looked up and kept by header name | Enter the value again |
| The Script doesn't run, and a failure is recorded | The values passed don't match the Script's Payload Schema, this month's Script run count is used up, or the Webhook reacted to a change to a Content Type or Comment with Triggering user set | Make the shape to send match that format, check the Limits, or change Run as to Webhook creator |
| A Webhook doesn't react to a product the Script edited | By default, changes made by a Script don't trigger Webhooks | See By default, Webhooks don't react to changes made by Scripts |
| Requests for the same product keep being sent endlessly | The receiving program saves the product again every time it gets a request, and the Webhook reacts to that save too | Make the receiving program skip saving items it has already handled, or remove that change in Event Topics (It reacts again to changes the receiving program saves) |
| You can't delete a Script | A Webhook is using that Script. Webhooks that are turned off count too | Change that Webhook's Endpoint, or delete that Webhook (Deleting items such as Locale, Tag, and Script) |
| You can't create a new Webhook | The Organization has reached the number of Webhooks it can create | Delete Webhooks you don't use, or switch to a higher plan (When you exceed a count limit) |
| You can't create a Webhook with a Space Access Token | Tokens can't work with Webhooks | Do it in Content Studio, or use a Personal Access Token (Settings permissions work only for people) |
| Requests for changes that happened one after another arrive out of order | The order in which requests arrive isn't fixed | Have the receiving side work out the order from the body's updatedAt or version |
Related docs
- Webhook: Covers, with diagrams, what a Webhook is and the flow from creating one to checking its call records.
- Monitoring external integrations: Covers how to use call records to find failed requests and respond to them.
- Script: Covers how to create and manage a Script, which a Webhook can run instead of sending to an address.
- Role and permission rules: Covers how to turn on the Manage Webhooks permission, and permission delegation for Scripts.
- Comment rules: Covers the rules for Webhooks that react to changes to Comments.
- Status and version rules: Covers how changes like publishing, unpublishing, and archiving change an item's status.
- Pricing: Covers the limits on the number of Webhooks, external call transfer volume, and the Script run count.
- API reference: Covers technical specs, such as the request formats you need to work with Webhooks and call records from a program.
