Understanding the request format that Kairos Afrika sends to your webhook endpoint
Webhook Request Format
When a user interacts with your USSD application, Kairos Afrika will send a POST request to your configured webhook endpoint. Your endpoint should be prepared to receive and process these requests.
Request Details
Method: POST
Content-Type: application/json
Endpoint: Your provided webhook URL (e.g., https://example.com/ussd)
The endpoint URL https://example.com/ussd is just an example. You need to provide your actual webhook endpoint URL to Kairos Afrika.
Request Body Structure
The request body contains the following fields:
Field
Type
Description
Example
msisdn
string
The user’s phone number
"233559400612"
sessionId
string
Unique identifier for the USSD session
"171632898024603649"
messageType
string
Type of USSD message (usually “0” for request)
"0"
ussdString
string
The USSD code or user input
"*889*90#"
Example Request
Here’s an example of what Kairos Afrika will send to your webhook:
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Kairos Afrika API Documentation","description":"Documentation for the Kairos Afrika API","colors":{"primary":"#ff0055","light":"#ff0055","dark":"#ff0055"},"logo":{"light":"https://mintcdn.com/kairosafrikalimited-b64af454/PqG7iOnMQ8tfxVPS/logo/light.svg?fit=max\u0026auto=format\u0026n=PqG7iOnMQ8tfxVPS\u0026q=85\u0026s=6140b0712be6b7c1901aa725cd60dba4","dark":"https://mintcdn.com/kairosafrikalimited-b64af454/PqG7iOnMQ8tfxVPS/logo/dark.svg?fit=max\u0026auto=format\u0026n=PqG7iOnMQ8tfxVPS\u0026q=85\u0026s=c29b0663976d99faf3e2bd5081901820"},"favicon":"https://mintcdn.com/kairosafrikalimited-b64af454/PqG7iOnMQ8tfxVPS/logo/logo.ico?fit=max\u0026auto=format\u0026n=PqG7iOnMQ8tfxVPS\u0026q=85\u0026s=a39ac0165fe7d49385ea5c91883b8e3e","appearance":{"default":"system","strict":false},"background":{"color":{"light":"#ffffff","dark":"#0a0a0a"}},"navbar":{"links":[{"href":"mailto:hi@mintlify.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.mintlify.com"}},"footer":{"socials":{"x":"https://x.com/mintlify","github":"https://github.com/mintlify","linkedin":"https://linkedin.com/company/mintlify"}},"styling":{"eyebrows":"section","latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"kairosafrikalimited-b64af454","hasAudioNarration":false,"actualSubdomain":"kairosafrikalimited-b64af454","customDomains":["docs.kairosafrika.com"],"gitSource":{"type":"github","owner":"kairos-afrika","repo":"api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae92aa35ab15096d2b342ab:success","clientVersion":"0.0.4344","searchFilterCounts":[{"language":"default","tag":"Endpoints","count":13},{"language":"default","tag":"SMS API","count":8},{"language":"default","tag":"Payment API","count":4},{"language":"default","tag":"Checkout API","count":3},{"language":"default","tag":"Getting Started","count":3},{"language":"default","tag":"USSD Webhooks","count":3},{"language":"default","tag":"Email API","count":2},{"language":"default","tag":"Webhook Integration","count":2}]},"assistantConfig":{},"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":"control","enabled":true,"payload":{"type":"string","value":"control"},"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":"ussd-api/endpoint/webhook-request","slug":"/ussd-api/endpoint/webhook-request","pageMetadata":{"title":"Webhook Request Format","description":"Understanding the request format that Kairos Afrika sends to your webhook endpoint","href":"/ussd-api/endpoint/webhook-request"},"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: \"Understanding the request format that Kairos Afrika sends to your webhook endpoint\"\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`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`webhook-request-format`,children:`Webhook Request Format`}),`\n`,_jsx(_components.p,{children:`When a user interacts with your USSD application, Kairos Afrika will send a POST request to your configured webhook endpoint. Your endpoint should be prepared to receive and process these requests.`}),`\n`,_jsx(Heading,{level:`2`,id:`request-details`,children:`Request Details`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Method`}),`: `,_jsx(_components.code,{children:`POST`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Content-Type`}),`: `,_jsx(_components.code,{children:`application/json`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Endpoint`}),`: Your provided webhook URL (e.g., `,_jsx(_components.code,{children:`https://example.com/ussd`}),`)`]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`The endpoint URL `,_jsx(_components.code,{children:`https://example.com/ussd`}),` is just an example. You need to provide your actual webhook endpoint URL to Kairos Afrika.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`request-body-structure`,children:`Request Body Structure`}),`\n`,_jsx(_components.p,{children:`The request body contains the following fields:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Example`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`msisdn`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`The user’s phone number`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`\"233559400612\"`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sessionId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Unique identifier for the USSD session`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`\"171632898024603649\"`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`messageType`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Type of USSD message (usually “0” for request)`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`\"0\"`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ussdString`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`The USSD code or user input`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`\"*889*90#\"`})})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`example-request`,children:`Example Request`}),`\n`,_jsx(_components.p,{children:`Here’s an example of what Kairos Afrika will send to your webhook:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"msisdn\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"233559400612\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sessionId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"171632898024603649\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"messageType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ussdString\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"*889*90#\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`field-descriptions`,children:`Field Descriptions`}),`\n`,_jsx(Heading,{level:`3`,id:`msisdn`,children:_jsx(_components.code,{children:`msisdn`})}),`\n`,_jsxs(_components.p,{children:[`The mobile subscriber number (phone number) of the user initiating the USSD session. This is typically in international format without the `,_jsx(_components.code,{children:`+`}),` prefix.`]}),`\n`,_jsx(Heading,{level:`3`,id:`sessionid`,children:_jsx(_components.code,{children:`sessionId`})}),`\n`,_jsx(_components.p,{children:`A unique identifier for this USSD session. Use this to track the conversation flow and maintain state between requests from the same user.`}),`\n`,_jsx(Heading,{level:`3`,id:`messagetype`,children:_jsx(_components.code,{children:`messageType`})}),`\n`,_jsx(_components.p,{children:`Indicates the type of USSD message:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`\"0\"`}),` - Initial request or user input`]}),`\n`,_jsx(_components.li,{children:`Other values may be used for different message types`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`ussdstring`,children:_jsx(_components.code,{children:`ussdString`})}),`\n`,_jsx(_components.p,{children:`Contains either:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The initial USSD code dialed by the user (e.g., `,_jsx(_components.code,{children:`*889*90#`}),`)`]}),`\n`,_jsxs(_components.li,{children:[`User input in response to your menu prompts (e.g., `,_jsx(_components.code,{children:`1`}),`, `,_jsx(_components.code,{children:`2`}),`, etc.)`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`processing-the-request`,children:`Processing the Request`}),`\n`,_jsx(_components.p,{children:`Your webhook endpoint should:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Validate the request`}),` - Ensure all required fields are present`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Process the session`}),` - Use the `,_jsx(_components.code,{children:`sessionId`}),` to maintain conversation state`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Generate appropriate response`}),` - Based on the `,_jsx(_components.code,{children:`ussdString`}),` and current session state`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Return the response`}),` - In the expected format (see `,_jsx(_components.a,{href:`/ussd-api/endpoint/webhook-response`,children:`Webhook Response Format`}),`)`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next Steps`}),`\n`,_jsxs(_components.p,{children:[`Learn how to structure your response in the `,_jsx(_components.a,{href:`/ussd-api/endpoint/webhook-response`,children:`Webhook Response Format`}),` documentation.`]})]})}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":"Webhook Request Format","description":"Understanding the request format that Kairos Afrika sends to your webhook endpoint","href":"/ussd-api/endpoint/webhook-request"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Webhook Request Format","slug":"webhook-request-format","depth":1,"children":[]},{"title":"Request Details","slug":"request-details","depth":2,"children":[]},{"title":"Request Body Structure","slug":"request-body-structure","depth":2,"children":[]},{"title":"Example Request","slug":"example-request","depth":2,"children":[]},{"title":"Field Descriptions","slug":"field-descriptions","depth":2,"children":[{"title":"msisdn","slug":"msisdn","depth":3,"children":[]},{"title":"sessionId","slug":"sessionid","depth":3,"children":[]},{"title":"messageType","slug":"messagetype","depth":3,"children":[]},{"title":"ussdString","slug":"ussdstring","depth":3,"children":[]}]},{"title":"Processing the Request","slug":"processing-the-request","depth":2,"children":[]},{"title":"Next Steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"kairosafrikalimited-b64af454","siteName":"Kairos Afrika API Documentation","title":"Webhook Request Format - Kairos Afrika API Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-11-09T21:11:50.557Z","originalFileLocation":"ussd-api/endpoint/webhook-request.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=\"Understanding the request format that Kairos Afrika sends to your webhook endpoint\">\u003cmeta data-mint-head name=\"application-name\" content=\"Kairos Afrika API Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/kairosafrikalimited-b64af454/eEmS2VHDbEDUn4rc/_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/kairosafrikalimited-b64af454/eEmS2VHDbEDUn4rc/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/kairosafrikalimited-b64af454/eEmS2VHDbEDUn4rc/_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/kairosafrikalimited-b64af454/eEmS2VHDbEDUn4rc/_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/kairosafrikalimited-b64af454/eEmS2VHDbEDUn4rc/_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/kairosafrikalimited-b64af454/eEmS2VHDbEDUn4rc/_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/kairosafrikalimited-b64af454/eEmS2VHDbEDUn4rc/_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/kairosafrikalimited-b64af454/eEmS2VHDbEDUn4rc/_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/kairosafrikalimited-b64af454/eEmS2VHDbEDUn4rc/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Webhook Request Format - Kairos Afrika API Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Understanding the request format that Kairos Afrika sends to your webhook endpoint\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Kairos Afrika API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.kairosafrika.com/ussd-api/endpoint/webhook-request\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://kairosafrikalimited-b64af454.mintlify.site/_mintlify/api/og/v2?division=Webhook+Integration\u0026amp;title=Webhook+Request+Format\u0026amp;description=Understanding+the+request+format+that+Kairos+Afrika+sends+to+your+webhook+endpoint\u0026amp;theme=34e46e25caddfdb89f8ffeb5\u0026amp;signature=aa005dc330e67aafab6a36ebf25ac738e421f4b9d6d612403cb06109a2a566fe\">\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=\"Webhook Request Format - Kairos Afrika API Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Understanding the request format that Kairos Afrika sends to your webhook endpoint\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://kairosafrikalimited-b64af454.mintlify.site/_mintlify/api/og/v2?division=Webhook+Integration\u0026amp;title=Webhook+Request+Format\u0026amp;description=Understanding+the+request+format+that+Kairos+Afrika+sends+to+your+webhook+endpoint\u0026amp;theme=34e46e25caddfdb89f8ffeb5\u0026amp;signature=aa005dc330e67aafab6a36ebf25ac738e421f4b9d6d612403cb06109a2a566fe\">\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/kairosafrikalimited-b64af454/eEmS2VHDbEDUn4rc/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Kairos Afrika API Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#ff0055\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.kairosafrika.com/ussd-api/endpoint/webhook-request\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/ussd-api/endpoint/webhook-request.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.kairosafrika.com/#organization\",\"name\":\"Kairos Afrika API Documentation\",\"url\":\"https://docs.kairosafrika.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/kairosafrikalimited-b64af454/PqG7iOnMQ8tfxVPS/logo/light.svg?fit=max\u0026auto=format\u0026n=PqG7iOnMQ8tfxVPS\u0026q=85\u0026s=6140b0712be6b7c1901aa725cd60dba4\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.kairosafrika.com#website\",\"name\":\"Kairos Afrika API Documentation\",\"url\":\"https://docs.kairosafrika.com\",\"publisher\":{\"@id\":\"https://docs.kairosafrika.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.kairosafrika.com/ussd-api/endpoint/webhook-request#webpage\",\"url\":\"https://docs.kairosafrika.com/ussd-api/endpoint/webhook-request\",\"name\":\"Webhook Request Format\",\"description\":\"Understanding the request format that Kairos Afrika sends to your webhook endpoint\",\"dateModified\":\"2025-11-09T21:11:50.557Z\",\"isPartOf\":{\"@id\":\"https://docs.kairosafrika.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.kairosafrika.com/ussd-api/endpoint/webhook-request#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.kairosafrika.com/ussd-api/endpoint/webhook-request#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"USSD Webhooks\",\"item\":\"https://docs.kairosafrika.com/ussd-api/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Webhook Request Format\",\"item\":\"https://docs.kairosafrika.com/ussd-api/endpoint/webhook-request\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.kairosafrika.com/ussd-api/endpoint/webhook-request#article\",\"headline\":\"Webhook Request Format\",\"name\":\"Webhook Request Format\",\"description\":\"Understanding the request format that Kairos Afrika sends to your webhook endpoint\",\"url\":\"https://docs.kairosafrika.com/ussd-api/endpoint/webhook-request\",\"mainEntityOfPage\":{\"@id\":\"https://docs.kairosafrika.com/ussd-api/endpoint/webhook-request#webpage\"},\"dateModified\":\"2025-11-09T21:11:50.557Z\",\"publisher\":{\"@id\":\"https://docs.kairosafrika.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.kairosafrika.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Kairos Afrika API Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Kairos Afrika API Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/ussd-api/endpoint/webhook-request.md","siteName":"Kairos Afrika API Documentation","nav":{"global":null,"groups":[{"group":"Getting Started","pages":[{"title":"Kairos Afrika API Documentation","href":"/index"},{"title":"API Quickstart","href":"/quickstart"},{"title":"Development Guide","href":"/development"}]},{"group":"SMS API","pages":[{"title":"SMS API Introduction","href":"/sms-api/introduction"},{"group":"Endpoints","pages":[{"title":"Send Quick SMS","openapi":"POST /v1/external/sms/quick","href":"/sms-api/endpoint/send-message"},{"title":"Send Bulk SMS","openapi":"POST /v1/external/sms/bulk","href":"/sms-api/endpoint/send-bulk"},{"title":"Resend SMS Message","openapi":"POST /v1/external/sms/quick/{messageId}/resend","href":"/sms-api/endpoint/resend"},{"title":"Get SMS Delivery Receipt","openapi":"GET /v1/external/sms/logs/{sequenceNo}","href":"/sms-api/endpoint/get"},{"title":"Get Account Balance","openapi":"GET /v1/external/account/balance","href":"/sms-api/endpoint/get-balance"},{"title":"Generate OTP","openapi":"POST /v1/external/generate/otp","href":"/sms-api/endpoint/generate-otp"},{"title":"Validate OTP","openapi":"POST /v1/external/validate/otp","href":"/sms-api/endpoint/validate-otp"}]}]},{"group":"USSD Webhooks","pages":[{"title":"USSD Webhook Integration","description":"Learn how to integrate with Kairos Afrika's USSD service through webhooks.","href":"/ussd-api/introduction"},{"group":"Webhook Integration","pages":[{"title":"Webhook Request Format","href":"/ussd-api/endpoint/webhook-request"},{"title":"Webhook Response Format","description":"Learn how to structure responses from your webhook endpoint to Kairos Afrika","href":"/ussd-api/endpoint/webhook-response"}]}]},{"group":"Payment API","pages":[{"title":"Payment API Introduction","href":"/payment-api/introduction"},{"group":"Endpoints","pages":[{"title":"Initiate Payment","openapi":"POST /v1/payment","href":"/payment-api/endpoint/create"},{"title":"Get Account Holder","openapi":"GET /v1/accountholders/{accountHolderId}","href":"/payment-api/endpoint/get-account-holder"},{"title":"Get Transaction Status","openapi":"GET /v1/payment/{reference}/status","href":"/payment-api/endpoint/get-transaction-status"}]}]},{"group":"Email API","pages":[{"title":"Email API Introduction","href":"/email-api/introduction"},{"group":"Endpoints","pages":[{"title":"Send Email","openapi":"POST /v1/external/email/send","href":"/email-api/endpoint/send"}]}]},{"group":"Checkout API","pages":[{"title":"Checkout API Introduction","href":"/checkout-api/introduction"},{"group":"Endpoints","pages":[{"title":"Initialize Checkout Session","openapi":"POST /v1/checkout/initialize","href":"/checkout-api/endpoint/create"},{"title":"Get Checkout Status","openapi":"GET /v1/checkout/{checkoutId}/status","href":"/checkout-api/endpoint/get"}]}]}]},"basePath":"","title":"Webhook Request Format - Kairos Afrika API Documentation","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":[],"chunks":[]}