This endpoint allows you to request a one-time password (OTP) link for global use. The OTP link can be used for authentication or verification purposes.
Request Parameters
string
required
The contact ID to send the OTP link to. Format: xxx@c.us
number
required
Expiration time in seconds. For example, 1800 seconds (30 minutes).
string
Application name that will be displayed to the user.
object
Show Message Object
string
required
Prompt message to channel from user. Example: “Give me link to login at TARGET App”
string
required
Success message to user. Example: “Here is your login link bit.ly/any”
string
required
Failed message to user. Example: “Login failed, please try again later.”
string
required
Message to user when the OTP has expired. Example: “The link has been expired, please try another one.”
Authorization Exception - Occurs when the request is not properly authorized.
object
Validation Exception - Occurs when the request parameters fail validation.
Authorizations
Authorization
string
header
required
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
contact_id
string
required
Contact ID .
Example:
"xxx@c.us"
expires
number
required
Expire time in second ( e.g 30 Minute )
Example:
1800
name
string | null
Application Name.
Example:
"Your Company Name"
message
object
Show child attributes
callback
object
Show child attributes
Response
OtpLinkResource
success
boolean
required
The success status of response.
message
string
required
The message of response.
data
object
required
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"CrunchzApp","colors":{"primary":"#3565F7","light":"#3565F7","dark":"#3565F7"},"logo":{"light":"https://mintcdn.com/crunchzapp/2XuBypv7qLfvmDwT/logo/light.svg?fit=max\u0026auto=format\u0026n=2XuBypv7qLfvmDwT\u0026q=85\u0026s=c957cc472a2cb89c250a5ca6fbdf688b","dark":"https://mintcdn.com/crunchzapp/2XuBypv7qLfvmDwT/logo/dark.svg?fit=max\u0026auto=format\u0026n=2XuBypv7qLfvmDwT\u0026q=85\u0026s=0222386b7bd28890e8d29597e59640e6","href":"https://www.crunchz.app"},"favicon":"/favicon.svg","appearance":{"default":"dark"},"background":{"decoration":"windows"},"navbar":{"links":[{"label":"Support","href":"mailto:support@crunchz.app"},{"label":"Platform Status","href":"https://status.crunchz.app/"}],"primary":{"type":"button","label":"Dashboard","href":"https://panel.crunchz.app"}},"footer":{"socials":{"github":"https://github.com/crunchzapp","linkedin":"https://linkedin.com/company/crunchzapp"},"links":[{"header":"Platform","items":[{"label":"Dashboard","href":"https://panel.crunchz.app/"},{"label":"Status","href":"https://status.crunchz.app/"}]},{"header":"Legal and Compliance","items":[{"label":"Terms Conditions","href":"https://www.crunchz.app/terms-conditions/"},{"label":"Terms of Service","href":"https://www.crunchz.app/terms-of-service/"},{"label":"Privacy Policy","href":"https://www.crunchz.app/privacy-policy/"},{"label":"Refund Policy","href":"https://www.crunchz.app/refund-policy/"}]}]},"fonts":{"heading":{"family":"Figtree"},"body":{"family":"Figtree"}},"navigation":{"global":{"anchors":[{"anchor":"Blog","icon":"newspaper","href":"https://www.crunchz.app/blog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"crunchzapp","hasAudioNarration":false,"actualSubdomain":"crunchzapp","customDomains":["docs.crunchz.app"],"gitSource":{"type":"github","owner":"crunchzapp","repo":"mintlify-documentation","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10b6369ffae5051c400cac"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ae929932031ef8352160f40:success","clientVersion":"0.0.4458","searchFilterCounts":[{"language":"default","tag":"API Reference","count":36},{"language":"default","tag":"API Documentation","count":36},{"language":"default","tag":"Messages","count":13},{"language":"default","tag":"Guides","count":13},{"language":"default","tag":"Package / SDK","count":9},{"language":"default","tag":"Laravel","count":9},{"language":"default","tag":"Functionalities","count":8},{"language":"default","tag":"Group","count":7},{"language":"default","tag":"Chat","count":4},{"language":"default","tag":"Get Started","count":4}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"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":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[]}
{"page":{"pagePath":"api-reference/otpGlobal/request-link","slug":"/api-reference/otpGlobal/request-link","pageMetadata":{"title":"Request - Link","openapi":"POST /otp/link/global","description":"Generate authentication links globally with randomized channel selection for initiating WhatsApp chats and callback verification using Global Token.","href":"/api-reference/otpGlobal/request-link"},"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: \"Generate authentication links globally with randomized channel selection for initiating WhatsApp chats and callback verification using Global Token.\"\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`,p:`p`,..._provideComponents(),...props.components},{Expandable,Heading,ParamField,ResponseField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsx(_components.p,{children:`This endpoint allows you to request a one-time password (OTP) link for global use. The OTP link can be used for authentication or verification purposes.`}),`\n`,_jsx(Heading,{level:`2`,id:`request-parameters`,children:`Request Parameters`}),`\n`,_jsx(ParamField,{body:`contact_id`,type:`string`,required:true,id:`param-contact-id`,children:_jsxs(_components.p,{children:[`The contact ID to send the OTP link to. Format: `,_jsx(_components.code,{children:`xxx@c.us`})]})}),`\n`,_jsx(ParamField,{body:`expires`,type:`number`,required:true,id:`param-expires`,children:_jsx(_components.p,{children:`Expiration time in seconds. For example, 1800 seconds (30 minutes).`})}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`Application name that will be displayed to the user.`})}),`\n`,_jsx(ParamField,{body:`message`,type:`object`,id:`param-message`,children:_jsxs(Expandable,{title:`Message Object`,children:[_jsx(ParamField,{body:`prompt`,type:`string`,required:true,id:`param-prompt`,children:_jsx(_components.p,{children:`Prompt message to channel from user. Example: “Give me link to login at TARGET App”`})}),_jsx(ParamField,{body:`success`,type:`string`,required:true,id:`param-success`,children:_jsx(_components.p,{children:`Success message to user. Example: “Here is your login link bit.ly/any”`})}),_jsx(ParamField,{body:`failed`,type:`string`,required:true,id:`param-failed`,children:_jsx(_components.p,{children:`Failed message to user. Example: “Login failed, please try again later.”`})}),_jsx(ParamField,{body:`expired`,type:`string`,required:true,id:`param-expired`,children:_jsx(_components.p,{children:`Message to user when the OTP has expired. Example: “The link has been expired, please try another one.”`})})]})}),`\n`,_jsx(ParamField,{body:`callback`,type:`object`,id:`param-callback`,children:_jsxs(Expandable,{title:`Callback Object`,children:[_jsx(ParamField,{body:`success`,type:`string`,format:`uri`,required:true,id:`param-success-1`,children:_jsxs(_components.p,{children:[`Callback URL for successful verification (GET Method). Example: “`,_jsx(_components.a,{href:`https://domain.com/callback/success`,children:`https://domain.com/callback/success`}),`”`]})}),_jsx(ParamField,{body:`failed`,type:`string`,format:`uri`,required:true,id:`param-failed-1`,children:_jsxs(_components.p,{children:[`Callback URL for failed verification (GET Method). Example: “`,_jsx(_components.a,{href:`https://domain.com/callback/failed`,children:`https://domain.com/callback/failed`}),`”`]})})]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`success`,type:`boolean`,id:`param-success-2`,children:_jsx(_components.p,{children:`Indicates whether the request was successful.`})}),`\n`,_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message-1`,children:_jsx(_components.p,{children:`A message describing the result of the operation.`})}),`\n`,_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:_jsxs(Expandable,{title:`Data Object`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`The ID of the message.`})}),_jsx(ResponseField,{name:`code`,type:`string`,id:`param-code`,children:_jsx(_components.p,{children:`The OTP code sent to the phone.`})}),_jsx(ResponseField,{name:`contact_id`,type:`string`,id:`param-contact-id-1`,children:_jsx(_components.p,{children:`The contact ID.`})}),_jsx(ResponseField,{name:`link`,type:`string`,id:`param-link`,children:_jsx(_components.p,{children:`The message link.`})}),_jsx(ResponseField,{name:`app_uri`,type:`string`,id:`param-app-uri`,children:_jsx(_components.p,{children:`The app URL (open).`})}),_jsx(ResponseField,{name:`expired_at`,type:`string`,id:`param-expired-at`,children:_jsx(_components.p,{children:`The time when the code expires.`})}),_jsx(ResponseField,{name:`timestamp`,type:`string`,id:`param-timestamp`,children:_jsx(_components.p,{children:`The timestamp when it was triggered.`})})]})}),`\n`,_jsx(Heading,{level:`2`,id:`error-codes`,children:`Error Codes`}),`\n`,_jsx(ResponseField,{name:`403`,type:`object`,id:`param-403`,children:_jsx(_components.p,{children:`Authorization Exception - Occurs when the request is not properly authorized.`})}),`\n`,_jsx(ResponseField,{name:`422`,type:`object`,id:`param-422`,children:_jsx(_components.p,{children:`Validation Exception - Occurs when the request parameters fail validation.`})})]})}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":"Request - Link","openapi":"POST /otp/link/global","description":"Generate authentication links globally with randomized channel selection for initiating WhatsApp chats and callback verification using Global Token.","href":"/api-reference/otpGlobal/request-link"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Request Parameters","slug":"request-parameters","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Error Codes","slug":"error-codes","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"otpLink.globalRequestLink","description":"Generate authentication links globally with randomized channel selection for initiating WhatsApp chats and callback verification using Global Token.","tags":["OTP Link","OtpLink"],"requestBody":"dec15c85-064b-4a86-a283-fcea55e6164e","responses":{"200":"ac7482db-d1c2-44ea-8451-b136fccc9107","400":"7e08f297-fef9-48aa-86fc-cc02ec226fb6","401":"38759f0a-b8a8-4e3d-9472-f6273aabaedd","403":"70cc0221-ac7c-45b6-99b3-24cd5c50c61c","422":"0f28f5d6-2135-4a91-b8c1-465cf9f4f6a7","500":"32d6c59a-8536-4d84-ad36-31f2613d09a0"},"method":"post","type":"path","servers":["7b21cd09-b3fb-4e17-a43f-c3a877b9f1c5"],"security":["b3ecbe23-b238-472c-9902-6e1f49d94ef9"],"path":"/otp/link/global","baseUrlOptions":["https://api.crunchz.app/api"],"title":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"contact_id":{"type":"string","description":"Contact ID .","example":"xxx@c.us","isRequired":true,"uniqueKey":"contact_id","typeLabel":"string"},"expires":{"type":"number","description":"Expire time in second ( e.g 30 Minute )","example":1800,"isRequired":true,"uniqueKey":"expires","typeLabel":"number"},"name":{"oneOf":[{"type":"string","description":"Application Name.","example":"Your Company Name","uniqueKey":"name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Application Name.","example":"Your Company Name","uniqueKey":"name.oneOf.1","typeLabel":"null"}],"uniqueKey":"name","typeLabel":"string | null"},"message":{"type":"object","properties":{"prompt":{"type":"string","description":"Prompt message to channel from user.","example":"Give me link to login at TARGET App","isRequired":true,"uniqueKey":"message.prompt","typeLabel":"string"},"success":{"type":"string","description":"Success message to user.","example":"Here is your login link bit.ly/any","isRequired":true,"uniqueKey":"message.success","typeLabel":"string"},"failed":{"type":"string","description":"Failed message to user.","example":"Login failed, please try again later.","isRequired":true,"uniqueKey":"message.failed","typeLabel":"string"},"expired":{"type":"string","description":"Message to user when the OTP has expired.","example":"The link has been expired, please try another one.","isRequired":true,"uniqueKey":"message.expired","typeLabel":"string"}},"required":["prompt","success","failed","expired"],"uniqueKey":"message","typeLabel":"object"},"callback":{"type":"object","properties":{"success":{"type":"string","format":"uri","description":"Callback success (GET Method).","example":"https://domain.com/callback/success","isRequired":true,"uniqueKey":"callback.success","typeLabel":"string\u003curi>"},"failed":{"type":"string","format":"uri","description":"Callback failed (GET Method).","example":"https://domain.com/callback/failed","isRequired":true,"uniqueKey":"callback.failed","typeLabel":"string\u003curi>"}},"required":["success","failed"],"uniqueKey":"callback","typeLabel":"object"}},"required":["contact_id","expires"],"title":"StoreOtpLinkRequest","uniqueKey":"","typeLabel":"StoreOtpLinkRequest · object"},"examples":{"Example":{"title":"Example","value":{"contact_id":"xxx@c.us","expires":1800,"name":"Your Company Name"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"ac7482db-d1c2-44ea-8451-b136fccc9107":{"description":"`OtpLinkResource`","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","description":"The success status of response.","isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","description":"The message of response.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"data":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the message.","isRequired":true,"uniqueKey":"data.id","typeLabel":"string"},"code":{"type":"string","description":"The otp code sent to phone.","isRequired":true,"uniqueKey":"data.code","typeLabel":"string"},"contact_id":{"type":"string","description":"The contact id.","isRequired":true,"uniqueKey":"data.contact_id","typeLabel":"string"},"link":{"type":"string","description":"The message link.","isRequired":true,"uniqueKey":"data.link","typeLabel":"string"},"app_uri":{"type":"string","description":"The app url (open).","isRequired":true,"uniqueKey":"data.app_uri","typeLabel":"string"},"expired_at":{"type":"string","description":"The time when the code is expired.","isRequired":true,"uniqueKey":"data.expired_at","typeLabel":"string"},"timestamp":{"type":"string","description":"The timestamp when it triggered.","isRequired":true,"uniqueKey":"data.timestamp","typeLabel":"string"}},"required":["id","code","contact_id","link","app_uri","expired_at","timestamp"],"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"required":["success","message","data"],"title":"OtpLinkResource","uniqueKey":"","typeLabel":"OtpLinkResource · object"},"examples":{"Example":{"title":"Example","value":{"success":true,"message":"\u003cstring>","data":{"id":"\u003cstring>","code":"\u003cstring>","contact_id":"\u003cstring>","link":"\u003cstring>","app_uri":"\u003cstring>","expired_at":"\u003cstring>","timestamp":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"7e08f297-fef9-48aa-86fc-cc02ec226fb6":{"description":"Bad request error","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Error overview.","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"38759f0a-b8a8-4e3d-9472-f6273aabaedd":{"description":"Unauthorized error","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Error overview.","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"70cc0221-ac7c-45b6-99b3-24cd5c50c61c":{"description":"Authorization error","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Error overview.","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"0f28f5d6-2135-4a91-b8c1-465cf9f4f6a7":{"description":"Validation error","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Errors overview.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"errors":{"type":"object","description":"A detailed description of each field that failed validation.","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"errors.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"errors.additionalProperties","typeLabel":"string[]"},"isRequired":true,"uniqueKey":"errors","typeLabel":"object"}},"required":["message","errors"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","errors":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"32d6c59a-8536-4d84-ad36-31f2613d09a0":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Error overview.","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"b3ecbe23-b238-472c-9902-6e1f49d94ef9":{"http":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[]}}},"servers":{"7b21cd09-b3fb-4e17-a43f-c3a877b9f1c5":{"url":"https://api.crunchz.app/api"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"http","name":"Authorization"}],"title":"http"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"crunchzapp","siteName":"CrunchzApp","title":"Request - Link - CrunchzApp","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-08-08T19:41:19.075Z","originalFileLocation":"api-reference/otpGlobal/request-link.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=\"dark\"}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=\"Generate authentication links globally with randomized channel selection for initiating WhatsApp chats and callback verification using Global Token.\">\u003cmeta data-mint-head name=\"application-name\" content=\"CrunchzApp\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/crunchzapp/gMma-r4j-w9lyj0_/_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/crunchzapp/gMma-r4j-w9lyj0_/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/crunchzapp/gMma-r4j-w9lyj0_/_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/crunchzapp/gMma-r4j-w9lyj0_/_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/crunchzapp/gMma-r4j-w9lyj0_/_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/crunchzapp/gMma-r4j-w9lyj0_/_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/crunchzapp/gMma-r4j-w9lyj0_/_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/crunchzapp/gMma-r4j-w9lyj0_/_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/crunchzapp/gMma-r4j-w9lyj0_/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Request - Link - CrunchzApp\">\u003cmeta data-mint-head property=\"og:description\" content=\"Generate authentication links globally with randomized channel selection for initiating WhatsApp chats and callback verification using Global Token.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"CrunchzApp\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.crunchz.app/api-reference/otpGlobal/request-link\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://crunchzapp.mintlify.site/_mintlify/api/og/v2?division=One+Time+Password+-+Global\u0026amp;title=Request+-+Link\u0026amp;description=Generate+authentication+links+globally+with+randomized+channel+selection+for+initiating+WhatsApp+chats+and+callback+verification+using+Global+Token.\u0026amp;theme=badc2eb91bc2338e2717e79a\u0026amp;signature=3fa0aceace93654b5b8b633295eb96f85339fe82d118f7a94a5bf8bcd18e8787\">\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=\"Request - Link - CrunchzApp\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Generate authentication links globally with randomized channel selection for initiating WhatsApp chats and callback verification using Global Token.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://crunchzapp.mintlify.site/_mintlify/api/og/v2?division=One+Time+Password+-+Global\u0026amp;title=Request+-+Link\u0026amp;description=Generate+authentication+links+globally+with+randomized+channel+selection+for+initiating+WhatsApp+chats+and+callback+verification+using+Global+Token.\u0026amp;theme=badc2eb91bc2338e2717e79a\u0026amp;signature=3fa0aceace93654b5b8b633295eb96f85339fe82d118f7a94a5bf8bcd18e8787\">\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/crunchzapp/gMma-r4j-w9lyj0_/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"CrunchzApp\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3565F7\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.crunchz.app/api-reference/otpGlobal/request-link\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/otpGlobal/request-link.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.crunchz.app/#organization\",\"name\":\"CrunchzApp\",\"url\":\"https://docs.crunchz.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/crunchzapp/2XuBypv7qLfvmDwT/logo/light.svg?fit=max\u0026auto=format\u0026n=2XuBypv7qLfvmDwT\u0026q=85\u0026s=c957cc472a2cb89c250a5ca6fbdf688b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.crunchz.app#website\",\"name\":\"CrunchzApp\",\"url\":\"https://docs.crunchz.app\",\"publisher\":{\"@id\":\"https://docs.crunchz.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.crunchz.app/api-reference/otpGlobal/request-link#webpage\",\"url\":\"https://docs.crunchz.app/api-reference/otpGlobal/request-link\",\"name\":\"Request - Link\",\"description\":\"Generate authentication links globally with randomized channel selection for initiating WhatsApp chats and callback verification using Global Token.\",\"dateModified\":\"2025-08-08T19:41:19.075Z\",\"isPartOf\":{\"@id\":\"https://docs.crunchz.app#website\"},\"breadcrumb\":{\"@id\":\"https://docs.crunchz.app/api-reference/otpGlobal/request-link#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.crunchz.app/api-reference/otpGlobal/request-link#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Documentation\",\"item\":\"https://docs.crunchz.app/api-reference/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"One Time Password - Global\",\"item\":\"https://docs.crunchz.app/api-reference/otpGlobal/request-code\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Request - Link\",\"item\":\"https://docs.crunchz.app/api-reference/otpGlobal/request-link\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.crunchz.app/api-reference/otpGlobal/request-link#apireference\",\"headline\":\"Request - Link\",\"name\":\"Request - Link\",\"description\":\"Generate authentication links globally with randomized channel selection for initiating WhatsApp chats and callback verification using Global Token.\",\"url\":\"https://docs.crunchz.app/api-reference/otpGlobal/request-link\",\"mainEntityOfPage\":{\"@id\":\"https://docs.crunchz.app/api-reference/otpGlobal/request-link#webpage\"},\"dateModified\":\"2025-08-08T19:41:19.075Z\",\"publisher\":{\"@id\":\"https://docs.crunchz.app/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.crunchz.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"CrunchzApp\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"CrunchzApp\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/otpGlobal/request-link.md","siteName":"CrunchzApp","nav":{"global":{"anchors":[{"anchor":"Blog","icon":"newspaper","href":"https://www.crunchz.app/blog"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"group":"Channel","pages":[{"title":"Channel Health","openapi":"GET /channel/health","href":"/api-reference/channel/health"},{"title":"Check Phone Number","openapi":"GET /channel/check-phone-number","href":"/api-reference/channel/check-phone"}]},{"group":"Chat","pages":[{"title":"All Chat","openapi":"GET /chat","href":"/api-reference/chat/all"},{"title":"Chat Detail","openapi":"GET /chat/detail","href":"/api-reference/chat/details"},{"title":"Archive Chat","openapi":"POST /chat/archive","href":"/api-reference/chat/archive"},{"title":"Un-Archive Chat","openapi":"POST /chat/un-archive","href":"/api-reference/chat/un-archive"}]},{"group":"Group","pages":[{"title":"All Group","openapi":"GET /groups","href":"/api-reference/group/all"},{"title":"Create Group","openapi":"POST /groups/create","href":"/api-reference/group/create"},{"title":"Group Participants","openapi":"GET /groups/participants","href":"/api-reference/group/participant"},{"title":"Add Participants","openapi":"POST /groups/participants/add","href":"/api-reference/group/add_participant"},{"title":"Remove Participants","openapi":"POST /groups/participants/remove","href":"/api-reference/group/remove_participant"},{"title":"Group Invitation Code","openapi":"GET /groups/invitation-code","href":"/api-reference/group/invitation_code"},{"title":"Group Invitation Code (Renew)","openapi":"GET /groups/invitation-code/renew","href":"/api-reference/group/invitation_code_renew"}]},{"group":"Messages","pages":[{"title":"Send Text Message","openapi":"POST /send-message/text","href":"/api-reference/messages/text"},{"title":"Send Pool","openapi":"POST /send-message/pool","href":"/api-reference/messages/pools"},{"title":"Send Image","openapi":"POST /send-message/image","href":"/api-reference/messages/image"},{"title":"Send Location","openapi":"POST /send-message/location","href":"/api-reference/messages/location"},{"title":"Send Voice","openapi":"POST /send-message/voice","href":"/api-reference/messages/voice"},{"title":"Send Video","openapi":"POST /send-message/video","href":"/api-reference/messages/video"},{"title":"React to Message","openapi":"PUT /send-message/reaction","href":"/api-reference/messages/react-message"},{"title":"Send Polling","openapi":"POST /send-message/poll","href":"/api-reference/messages/poll"},{"title":"Star a Message","openapi":"PUT /send-message/star","href":"/api-reference/messages/star"},{"title":"Delete Message","openapi":"DELETE /send-message/delete","href":"/api-reference/messages/delete"},{"title":"Seen Message","openapi":"POST /send-message/seen","href":"/api-reference/messages/seen"},{"title":"Start Typing","openapi":"POST /send-message/typing","href":"/api-reference/messages/start-type"},{"title":"Stop Typing","openapi":"POST /send-message/stop-typing","href":"/api-reference/messages/stop-type"}]},{"group":"Contact","pages":[{"title":"All Contact","openapi":"GET /contact","href":"/api-reference/contact/all"},{"title":"Contact Detail","openapi":"GET /contact/info","href":"/api-reference/contact/detail"},{"title":"Contact Picture","openapi":"GET /contact/info","href":"/api-reference/contact/picture"}]},{"group":"One Time Password - Code","pages":[{"title":"Request Code","openapi":"POST /otp/code/request","href":"/api-reference/otpCode/request"},{"title":"Validate OTP","openapi":"POST /otp/code/validate","href":"/api-reference/otpCode/validate"}]},{"group":"One Time Password - Link","pages":[{"title":"Request Link","openapi":"POST /otp/link/request","href":"/api-reference/otpLink/request"}]},{"group":"One Time Password - Global","pages":[{"title":"Request - Code","openapi":"POST /otp/code/global","description":"Generate and send One-Time Password (OTP) codes globally across multiple channels with intelligent channel randomization for optimal delivery success.","href":"/api-reference/otpGlobal/request-code"},{"title":"Request - Link","openapi":"POST /otp/link/global","href":"/api-reference/otpGlobal/request-link"},{"title":"Validate OTP - Code","openapi":"POST /otp/code/validate","description":"Verify One-Time Passwords (OTPs) with comprehensive validation checks for secure authentication workflows and two-factor authentication systems.","href":"/api-reference/otpGlobal/validate"}]}]}]}]},"basePath":"","title":"Request - Link - CrunchzApp","deploymentId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","buildId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BuieBNTB.js","snippetPresets-alIv9Yoc.js","utils-BS41p-Nj.js","style-to-object-BY3JEAdk.js","utils-D0Za9LU_.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Lx7TZ5XR.js","conditional-requirements-CFM0id0Q.js","cloneDeep-4e5CS5ZI.js","_Uint8Array-B2-W7EM3.js","isObject-FP1Yky1u.js","ApiExamples-sCe6z2hN.js","usePlaygroundInputsStore-cU_dFE5n.js","shallow-BwNCr__O.js","isEqual-Cnvzqd4L.js","CodeSnippets-CMIr49P8.js","CodeSnippet-BC-bKzyy.js","use-playground-group-access-c3bgmn-x.js","Page-Acw_JRP6.js","api-description-markdown-1o8U1kkQ.js","DynamicMarkdown-CvOkzads.js","SectionHeading-CJ97Kdt-.js","MethodPill-DynWltjQ.js","getPastedJson-CBCnXiWl.js","Check2Icon-CPHq_WNu.js","axios-CsQoIw0U.js","Markdown-4tjIF-hK.js","AssistantPageLink-BcChI7L3.js","dist-MIf_HGLZ.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}