Schedule a new webhook to be sent at a specific time in the future (or immediately).
Pro Tip: To verify immediate delivery, use a timestamp in the past (e.g. yesterday).
URL Resolution
When you schedule a hook, you provide a path (e.g. /webhooks/remind).Posthook constructs the full destination URL by combining your Project Domain with this path.
Destination URL = Project Domain + path
For example, if your Project Domain is api.myapp.com and you schedule a hook with path /webhooks/payment, we will POST to https://api.myapp.com/webhooks/payment (Posthook enforces HTTPS).
Usage Patterns
User Engagement: Schedule event reminders and abandoned cart recovery emails.
Auto-Expiry (TTL): Schedule the deletion of temporary resources (e.g. shared links) at the moment of creation.
Recursive Polling: Periodically check a long-running job (e.g. video encoding) until it completes.
Debouncing: Prevent duplicate processing by verifying event freshness.
Authorizations
X-API-Key
string
header
required
Body
application/json
path
string
required
The endpoint path for delivery.
Example:
"/webhooks/reminder"
data
object
required
Arbitrary JSON payload delivered with the hook.
Example:
{ "user_id": "123" }
postAt
string<date-time>
RFC 3339 timestamp in UTC for delivery. Mutually exclusive with postAtLocal + timezone. Timestamps in the past are delivered immediately.
Example:
"2026-03-14T12:00:00Z"
postAtLocal
string
ISO 8601 local datetime without offset, in YYYY-MM-DDTHH:MM:SS format (e.g. 2026-03-15T13:00:00). Must be used with timezone. Mutually exclusive with postAt.
Example:
"2026-03-15T13:00:00"
timezone
string
IANA Time Zone identifier (e.g. America/New_York). Required when using postAtLocal. Forbidden with postAt and postIn.
Example:
"America/New_York"
postIn
string
Relative delay from now as a duration string (e.g., 5m, 2h, 1d12h). Units: d (days), h (hours), m (minutes), s (seconds). Min 1s, max 365d. Mutually exclusive with postAt and postAtLocal. Cannot be used with timezone.
Example:
"1h30m"
retryOverride
object
Per-hook retry configuration. Overrides the project's default retry settings for this hook.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Posthook","colors":{"primary":"#357EDD","light":"#357EDD","dark":"#357EDD"},"logo":{"light":"https://mintcdn.com/posthookinc/c0eJ-T8QkvdIBsBP/logo/light.svg?fit=max\u0026auto=format\u0026n=c0eJ-T8QkvdIBsBP\u0026q=85\u0026s=c4612eddca1a40a6c40a27d3f29caf83","dark":"https://mintcdn.com/posthookinc/c0eJ-T8QkvdIBsBP/logo/dark.svg?fit=max\u0026auto=format\u0026n=c0eJ-T8QkvdIBsBP\u0026q=85\u0026s=7042c7fe8a66a7e9be4453e10129511f","href":"https://posthook.io"},"favicon":"/favicon.svg","api":{"openapi":"openapi.json"},"navbar":{"links":[{"href":"https://github.com/posthook/community","label":"Community"},{"href":"mailto:support@posthook.io","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://posthook.io/app/home"}},"footer":{"socials":{"x":"https://x.com/posthook","github":"https://github.com/posthook"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity"],"display":"header"},"metadata":{"timestamp":false},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"posthookinc","hasAudioNarration":false,"actualSubdomain":"posthookinc","customDomains":["docs.posthook.io"],"gitSource":{"type":"github","owner":"posthook","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{},"buildId":"6ae9436ef43bdafb4937745a:success","clientVersion":"0.0.4344","searchFilterCounts":[{"language":"default","tag":"Documentation","count":24},{"language":"default","tag":"API Reference","count":8},{"language":"default","tag":"Endpoints","count":8},{"language":"default","tag":"Patterns","count":7},{"language":"default","tag":"Features","count":6},{"language":"default","tag":"Core Concepts","count":4},{"language":"default","tag":"Getting Started","count":3},{"language":"default","tag":"Reference","count":3},{"language":"default","tag":"Updates","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/endpoint/create-hook","slug":"/api-reference/endpoint/create-hook","pageMetadata":{"title":"Schedule Hook","openapi":"POST /hooks","description":"Schedule a new hook for delivery at a specific time. Supports UTC, local-time, and relative-delay scheduling modes.","href":"/api-reference/endpoint/create-hook","hidden":false},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Schedule a new hook for delivery at a specific time. Supports UTC, local-time, and relative-delay scheduling modes.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,blockquote:`blockquote`,code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Tip}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Schedule a new webhook to be sent at a specific time in the future (or immediately).`}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Pro Tip`}),`: To verify immediate delivery, use a timestamp in the past (e.g. yesterday).`]})}),`\n`,_jsx(Heading,{level:`2`,id:`url-resolution`,children:`URL Resolution`}),`\n`,_jsxs(_components.p,{children:[`When you schedule a hook, you provide a `,_jsx(_components.code,{children:`path`}),` (e.g. `,_jsx(_components.code,{children:`/webhooks/remind`}),`).`]}),`\n`,_jsxs(_components.p,{children:[`Posthook constructs the full destination URL by combining your `,_jsx(_components.strong,{children:`Project Domain`}),` with this `,_jsx(_components.code,{children:`path`}),`.`]}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Destination URL`}),` = `,_jsx(_components.code,{children:`Project Domain`}),` + `,_jsx(_components.code,{children:`path`})]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`For example, if your Project Domain is `,_jsx(_components.code,{children:`api.myapp.com`}),` and you schedule a hook with path `,_jsx(_components.code,{children:`/webhooks/payment`}),`, we will POST to `,_jsx(_components.code,{children:`https://api.myapp.com/webhooks/payment`}),` (Posthook enforces HTTPS).`]}),`\n`,_jsx(Heading,{level:`2`,id:`usage-patterns`,children:`Usage Patterns`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/patterns/user-engagement`,children:_jsx(_components.strong,{children:`User Engagement`})}),`: Schedule event reminders and abandoned cart recovery emails.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/patterns/auto-expiry`,children:_jsx(_components.strong,{children:`Auto-Expiry (TTL)`})}),`: Schedule the deletion of temporary resources (e.g. shared links) at the moment of creation.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/patterns/polling`,children:_jsx(_components.strong,{children:`Recursive Polling`})}),`: Periodically check a long-running job (e.g. video encoding) until it completes.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/patterns/debouncing`,children:_jsx(_components.strong,{children:`Debouncing`})}),`: Prevent duplicate processing by verifying event freshness.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Schedule Hook","openapi":"POST /hooks","description":"Schedule a new hook for delivery at a specific time. Supports UTC, local-time, and relative-delay scheduling modes.","href":"/api-reference/endpoint/create-hook","hidden":false}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"URL Resolution","slug":"url-resolution","depth":2,"children":[]},{"title":"Usage Patterns","slug":"usage-patterns","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Schedule Hook","description":"Schedule a new hook for delivery at a specific time. Supports UTC, local-time, and relative-delay scheduling modes.","requestBody":"011694b4-3933-47be-b0c0-767f8a207e05","responses":{"201":"85c82e85-2d74-4c75-8ad9-c41aeee881d2"},"method":"post","type":"path","servers":["c974b8af-33dd-4367-ae02-d26536e35c2e"],"security":["042337f0-8d6a-414c-aba3-9e27f84873b7"],"path":"/hooks","baseUrlOptions":["https://api.posthook.io/v1"],"title":"Schedule Hook","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["path","data"],"properties":{"path":{"type":"string","description":"The endpoint path for delivery.","example":"/webhooks/reminder","isRequired":true,"uniqueKey":"path","typeLabel":"string"},"data":{"type":"object","description":"Arbitrary JSON payload delivered with the hook.","example":{"user_id":"123"},"isRequired":true,"uniqueKey":"data","typeLabel":"object"},"postAt":{"type":"string","format":"date-time","description":"RFC 3339 timestamp in UTC for delivery. Mutually exclusive with `postAtLocal` + `timezone`. Timestamps in the past are delivered immediately.","example":"2026-03-14T12:00:00Z","uniqueKey":"postAt","typeLabel":"string\u003cdate-time>"},"postAtLocal":{"type":"string","description":"ISO 8601 local datetime without offset, in YYYY-MM-DDTHH:MM:SS format (e.g. `2026-03-15T13:00:00`). Must be used with `timezone`. Mutually exclusive with `postAt`.","example":"2026-03-15T13:00:00","uniqueKey":"postAtLocal","typeLabel":"string"},"timezone":{"type":"string","description":"IANA Time Zone identifier (e.g. `America/New_York`). Required when using `postAtLocal`. Forbidden with `postAt` and `postIn`.","example":"America/New_York","uniqueKey":"timezone","typeLabel":"string"},"postIn":{"type":"string","description":"Relative delay from now as a duration string (e.g., `5m`, `2h`, `1d12h`). Units: `d` (days), `h` (hours), `m` (minutes), `s` (seconds). Min 1s, max 365d. Mutually exclusive with `postAt` and `postAtLocal`. Cannot be used with `timezone`.","example":"1h30m","uniqueKey":"postIn","typeLabel":"string"},"retryOverride":{"type":"object","description":"Per-hook retry configuration. Overrides the project's default retry settings for this hook.","properties":{"minRetries":{"type":"integer","minimum":1,"maximum":15,"description":"Number of retry attempts (1–15).","isRequired":true,"uniqueKey":"retryOverride.minRetries","typeLabel":"integer"},"delaySecs":{"type":"integer","minimum":5,"maximum":60,"description":"Delay between retries in seconds (5–60).","isRequired":true,"uniqueKey":"retryOverride.delaySecs","typeLabel":"integer"},"strategy":{"type":"string","enum":["fixed","exponential"],"description":"Retry strategy. `fixed` uses a constant delay. `exponential` increases the delay with each attempt.","isRequired":true,"uniqueKey":"retryOverride.strategy","typeLabel":"enum\u003cstring>"},"backoffFactor":{"type":"number","minimum":1.1,"maximum":4,"description":"Multiplier for exponential backoff (1.1–4.0). Defaults to 2.0 if omitted. Only used when strategy is `exponential`.","uniqueKey":"retryOverride.backoffFactor","typeLabel":"number"},"maxDelaySecs":{"type":"integer","minimum":60,"maximum":3600,"description":"Maximum delay between retries in seconds (60–3600). Only used when strategy is `exponential`.","uniqueKey":"retryOverride.maxDelaySecs","typeLabel":"integer"},"jitter":{"type":"boolean","description":"Add random jitter to retry delays to avoid thundering herd.","uniqueKey":"retryOverride.jitter","typeLabel":"boolean"}},"required":["minRetries","delaySecs","strategy"],"uniqueKey":"retryOverride","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"path":"/webhooks/reminder","data":{"user_id":"123"},"postAt":"2026-03-14T12:00:00Z","postAtLocal":"2026-03-15T13:00:00","timezone":"America/New_York","postIn":"1h30m"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"85c82e85-2d74-4c75-8ad9-c41aeee881d2":{"description":"Hook scheduled","headers":{"Posthook-HookQuota-Limit":{"description":"The maximum number of hooks allowed in the current billing period.","schema":{"type":"integer"}},"Posthook-HookQuota-Usage":{"description":"The number of hooks used in the current billing period.","schema":{"type":"integer"}},"Posthook-HookQuota-Remaining":{"description":"The number of hooks remaining in the current billing period.","schema":{"type":"integer"}},"Posthook-HookQuota-Resets-At":{"description":"RFC 3339 timestamp when the quota resets.","schema":{"type":"string","format":"date-time"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"data.id","typeLabel":"string"},"path":{"type":"string","uniqueKey":"data.path","typeLabel":"string"},"domain":{"type":"string","uniqueKey":"data.domain","typeLabel":"string"},"data":{"type":"object","uniqueKey":"data.data","typeLabel":"object"},"postAt":{"type":"string","format":"date-time","uniqueKey":"data.postAt","typeLabel":"string\u003cdate-time>"},"status":{"type":"string","enum":["pending","completed","failed","retry"],"uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"postDurationSeconds":{"type":"number","uniqueKey":"data.postDurationSeconds","typeLabel":"number"},"createdAt":{"type":"string","format":"date-time","uniqueKey":"data.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","uniqueKey":"data.updatedAt","typeLabel":"string\u003cdate-time>"},"attempts":{"type":"integer","uniqueKey":"data.attempts","typeLabel":"integer"},"failureError":{"type":"string","uniqueKey":"data.failureError","typeLabel":"string"},"tryAt":{"type":"string","format":"date-time","uniqueKey":"data.tryAt","typeLabel":"string\u003cdate-time>"},"wasNotified":{"type":"boolean","uniqueKey":"data.wasNotified","typeLabel":"boolean"},"sequenceData":{"type":"object","properties":{"sequenceID":{"type":"string","uniqueKey":"data.sequenceData.sequenceID","typeLabel":"string"},"stepName":{"type":"string","uniqueKey":"data.sequenceData.stepName","typeLabel":"string"},"sequenceLastRunAt":{"type":"string","format":"date-time","uniqueKey":"data.sequenceData.sequenceLastRunAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.sequenceData","typeLabel":"object"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"id":"\u003cstring>","path":"\u003cstring>","domain":"\u003cstring>","data":{},"postAt":"2023-11-07T05:31:56Z","status":"pending","postDurationSeconds":123,"createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","attempts":123,"failureError":"\u003cstring>","tryAt":"2023-11-07T05:31:56Z","wasNotified":true,"sequenceData":{"sequenceID":"\u003cstring>","stepName":"\u003cstring>","sequenceLastRunAt":"2023-11-07T05:31:56Z"}}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"042337f0-8d6a-414c-aba3-9e27f84873b7":{"apiKey":{"type":"apiKey","name":"X-API-Key","in":"header","scopes":[]}}},"servers":{"c974b8af-33dd-4367-ae02-d26536e35c2e":{"url":"https://api.posthook.io/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","name":"X-API-Key","in":"header","scopes":[]},"schema":{"title":"X-API-Key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKey","name":"X-API-Key"}],"title":"apiKey"}]},"originalFileLocation":"openapi.json"},"subdomain":"posthookinc","siteName":"Posthook","title":"Schedule Hook - Posthook","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-16T14:13:11.573Z","originalFileLocation":"api-reference/endpoint/create-hook.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Schedule a new hook for delivery at a specific time. Supports UTC, local-time, and relative-delay scheduling modes.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Posthook\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/posthookinc/ObWxPoHB33brgIdG/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/posthookinc/ObWxPoHB33brgIdG/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/posthookinc/ObWxPoHB33brgIdG/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/posthookinc/ObWxPoHB33brgIdG/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/posthookinc/ObWxPoHB33brgIdG/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/posthookinc/ObWxPoHB33brgIdG/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/posthookinc/ObWxPoHB33brgIdG/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/posthookinc/ObWxPoHB33brgIdG/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/posthookinc/ObWxPoHB33brgIdG/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Schedule Hook - Posthook\">\u003cmeta data-mint-head property=\"og:description\" content=\"Schedule a new hook for delivery at a specific time. Supports UTC, local-time, and relative-delay scheduling modes.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Posthook\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.posthook.io/api-reference/endpoint/create-hook\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://posthookinc.mintlify.site/_mintlify/api/og/v2?division=Endpoints\u0026amp;title=Schedule+Hook\u0026amp;description=Schedule+a+new+hook+for+delivery+at+a+specific+time.+Supports+UTC%2C+local-time%2C+and+relative-delay+scheduling+modes.\u0026amp;theme=ff69b5a3f19d80313f41f17d\u0026amp;signature=b6b6242a759a0fcce6d93d33e8e07515041b48ae761adc868df0dbe8ba3b2222\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Schedule Hook - Posthook\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Schedule a new hook for delivery at a specific time. Supports UTC, local-time, and relative-delay scheduling modes.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://posthookinc.mintlify.site/_mintlify/api/og/v2?division=Endpoints\u0026amp;title=Schedule+Hook\u0026amp;description=Schedule+a+new+hook+for+delivery+at+a+specific+time.+Supports+UTC%2C+local-time%2C+and+relative-delay+scheduling+modes.\u0026amp;theme=ff69b5a3f19d80313f41f17d\u0026amp;signature=b6b6242a759a0fcce6d93d33e8e07515041b48ae761adc868df0dbe8ba3b2222\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/posthookinc/ObWxPoHB33brgIdG/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Posthook\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#357EDD\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.posthook.io/api-reference/endpoint/create-hook\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/create-hook.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.posthook.io/#organization\",\"name\":\"Posthook\",\"url\":\"https://docs.posthook.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/posthookinc/c0eJ-T8QkvdIBsBP/logo/light.svg?fit=max\u0026auto=format\u0026n=c0eJ-T8QkvdIBsBP\u0026q=85\u0026s=c4612eddca1a40a6c40a27d3f29caf83\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.posthook.io#website\",\"name\":\"Posthook\",\"url\":\"https://docs.posthook.io\",\"publisher\":{\"@id\":\"https://docs.posthook.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.posthook.io/api-reference/endpoint/create-hook#webpage\",\"url\":\"https://docs.posthook.io/api-reference/endpoint/create-hook\",\"name\":\"Schedule Hook\",\"description\":\"Schedule a new hook for delivery at a specific time. Supports UTC, local-time, and relative-delay scheduling modes.\",\"dateModified\":\"2026-03-16T14:13:11.573Z\",\"isPartOf\":{\"@id\":\"https://docs.posthook.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.posthook.io/api-reference/endpoint/create-hook#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.posthook.io/api-reference/endpoint/create-hook#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.posthook.io/api-reference/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Schedule Hook\",\"item\":\"https://docs.posthook.io/api-reference/endpoint/create-hook\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.posthook.io/api-reference/endpoint/create-hook#apireference\",\"headline\":\"Schedule Hook\",\"name\":\"Schedule Hook\",\"description\":\"Schedule a new hook for delivery at a specific time. Supports UTC, local-time, and relative-delay scheduling modes.\",\"url\":\"https://docs.posthook.io/api-reference/endpoint/create-hook\",\"mainEntityOfPage\":{\"@id\":\"https://docs.posthook.io/api-reference/endpoint/create-hook#webpage\"},\"dateModified\":\"2026-03-16T14:13:11.573Z\",\"publisher\":{\"@id\":\"https://docs.posthook.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.posthook.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Posthook\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Posthook\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoint/create-hook.md","siteName":"Posthook","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"book","pages":[{"title":"Documentation","href":""}]},{"tab":"API Reference","icon":"code","groups":[{"group":"Endpoints","pages":[{"title":"Introduction","description":"Posthook API Reference","href":"/api-reference/introduction"},{"title":"Schedule Hook","openapi":"POST /hooks","href":"/api-reference/endpoint/create-hook"},{"title":"Get Hook","openapi":"GET /hooks/{id}","description":"Retrieve a single hook by ID.","href":"/api-reference/endpoint/get-hook"},{"title":"List Hooks","openapi":"GET /hooks","href":"/api-reference/endpoint/list-hooks"},{"title":"Delete Hook","openapi":"DELETE /hooks/{id}","href":"/api-reference/endpoint/delete-hook"},{"title":"Bulk Retry Hooks","openapi":"POST /hooks/bulk/retry","href":"/api-reference/endpoint/bulk-retry"},{"title":"Bulk Replay Hooks","openapi":"POST /hooks/bulk/replay","href":"/api-reference/endpoint/bulk-replay"},{"title":"Bulk Cancel Hooks","openapi":"POST /hooks/bulk/cancel","href":"/api-reference/endpoint/bulk-cancel"}]}]}]},"basePath":"","title":"Schedule Hook - Posthook","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-B8kPdtB2.js","snippetPresets-C-p1aFQ1.js","utils-B9NnUZSZ.js","style-to-object-BY3JEAdk.js","utils-DFxl7cW2.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-bSr9h7OB.js","conditional-requirements-CFM0id0Q.js","cloneDeep-Bw4Gcy_r.js","_Uint8Array-C68x8Gny.js","isObject-FP1Yky1u.js","ApiExamples-BXsp8PHs.js","usePlaygroundInputsStore-BlAOLmIF.js","shallow-C2F02mqa.js","isEqual-C8iG4q2G.js","CodeSnippets-45lHR04X.js","CodeSnippet-6Cemznl-.js","use-playground-group-access-Cyy8SXp5.js","Page-CeZ_ZB5X.js","api-description-markdown-DiOdv5rp.js","DynamicMarkdown-B_9ywLDq.js","SectionHeading-Cc2r-uqU.js","MethodPill-Df3Tcu4c.js","getPastedJson-B3vrV0wE.js","Check2Icon-YQhSFafd.js","axios-CsQoIw0U.js","Markdown-0RkHcMOI.js","AssistantPageLink-DeJZCj9t.js","dist-DVqS175j.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}