aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2025-05-31 16:50:12 +0100
committerGravatar Joe Banks <[email protected]>2025-05-31 16:50:39 +0100
commitb831af44050567c2cca670f7252a8bc1794748ea (patch)
treef42419b01936406bc90899a1afd4a7d3c066b3ac
parentUse thread_id for webhook execute on submission (diff)
Update SCHEMA.md with webhook thread_id
-rw-r--r--SCHEMA.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/SCHEMA.md b/SCHEMA.md
index adfa0da..0e0da82 100644
--- a/SCHEMA.md
+++ b/SCHEMA.md
@@ -41,10 +41,11 @@ In this document:
### Webhooks
Discord webhooks to send information upon form submission.
-| Field | Type | Description |
-|-----------|--------|-----------------------------------------------------------------------------------------------------------|
-| `url` | String | Discord webhook URL. |
-| `message` | String | An optional message to include before the embed. Can use certain [context variables](#webhook-variables). |
+| Field | Type | Description |
+|-------------|--------|-------------------------------------------------------------------------------------------------------------|
+| `url` | String | Discord webhook URL. |
+| `message` | String | An optional message to include before the embed. Can use certain [context variables](#webhook-variables). |
+| `thread_id` | String | An optional thread ID to post the webhook into. If not provided, the webhook will be posted in the channel. |
#### Webhook Variables