This guide covers everything you need to use the Z-API calls feature, addressing the three available integration methods: API, SDK, and SIP protocol.WhatsApp calls allow real-time interactions, simply and integrated into your existing support flow. With Z-API, you can make and manage calls in different ways:
Via API: Sending audio files through Z-API requests
Via SDK: A set of tools, libraries, and ready-made methods that Z-API provides to facilitate integration in your applications
Via SIP: Connecting telephony infrastructure such as PABX and VoIP with WhatsApp
Each method has specific characteristics, requirements, and use cases. The goal of this guide is to present each approach clearly and practically, helping developers and technical teams choose and implement the most suitable solution for their scenario.
The calls via API feature allows sending pre-recorded audio as a WhatsApp call, enabling call automation through simple HTTP requests, with no additional libraries required.The complete endpoint documentation is available at:🔗 https://developer.z-api.io/calls/send-call
The SDK (Software Development Kit) is a set of libraries and methods provided by Z-API to facilitate integration in your applications. Instead of manually building HTTP requests, the SDK abstracts this complexity, offering ready-made and intuitive functions to perform actions such as initiating a call, monitoring events, and handling errors.For the calls feature, the SDK goes beyond sending pre-recorded audio — it allows video calls and live calls, with support for up to 3 simultaneous calls, making it ideal for real-time support scenarios and richer communication with customers.
Important: to use the calls feature via SDK, you must first request the call
token and initialize the SDK before making any calls.
The SIP (Session Initiation Protocol) is a standard communication protocol in the telephony industry, used to initiate, maintain, and terminate voice and video sessions over the internet (VoIP).In the context of Z-API, SIP integration allows companies that already have telephony infrastructure — such as IP PABX, softphones, or VoIP providers — to connect that infrastructure to WhatsApp, making calls directly from their platform without relying on a physical device.
The Z-API calls feature was designed to serve different integration profiles, from simple automations to more complex telephony operations. The choice of the ideal method depends on your project’s needs and available technical infrastructure.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/schema.json","name":"Z-API Docs","colors":{"primary":"#00B140","light":"#00D455","dark":"#007A2C"},"logo":{"light":"https://staging.z-api.io/logos/SVG/Ativo%2016.svg","dark":"https://staging.z-api.io/logos/SVG/Ativo%2016.svg"},"favicon":"https://mintcdn.com/z-api-8aa3bb40/5Sj9mIPH3KokDXt2/favicon.png?fit=max\u0026auto=format\u0026n=5Sj9mIPH3KokDXt2\u0026q=85\u0026s=0ee09d9d5aa6a2ffd98d0e3a7335da05","api":{"examples":{"defaults":"required"},"mdx":{"auth":{"method":"key","name":"Client-Token"},"server":"https://api.z-api.io"}},"background":{"color":{"dark":"#14161f"}},"styling":{"codeblocks":{"theme":{"light":"github-light","dark":"poimandres"}},"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Blog","icon":"newspaper","href":"https://www.z-api.io/blog"},{"anchor":"YouTube","icon":"youtube","href":"https://www.youtube.com/@z_api"},{"anchor":"Postman","icon":"rocket","href":"https://www.postman.com/docs-z-api/z-api-s-public-workspace/collection/gwri249/z-api-collection"},{"anchor":"WhatsApp","icon":"whatsapp","href":"https://chat.whatsapp.com/KmE3atZGmWJEspMZnBZKjV"}]},"languages":[{"language":"pt-BR","default":true,"navbar":{"links":[{"href":"https://api.whatsapp.com/send?phone=554431421722\u0026text=Ol%C3%A1,%20gostaria%20de%20falar%20com%20o%20suporte%20da%20Z-API","label":"Suporte"}],"primary":{"type":"button","label":"Painel","href":"https://app.z-api.io/"}},"href":"quickstart/introduction"},{"language":"en","navbar":{"links":[{"href":"https://api.whatsapp.com/send?phone=554431421722\u0026text=Hello,%20I%20would%20like%20to%20talk%20to%20Z-API%20support","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.z-api.io/"}},"href":"en/quickstart/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"z-api-8aa3bb40","hasAudioNarration":false,"actualSubdomain":"z-api-8aa3bb40","customDomains":["developer.z-api.io"],"gitSource":{"type":"github","owner":"z-api","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ac7ca8e5b1873d75a4a0d69","collectionId":"25f87f2e-0dc7-4286-98f6-4f20171c13ea","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ac7ca8e5b1873d75a4a0d69"},"entitlements":{},"buildId":"6ac7ca8e5b1873d75a4a0d69","clientVersion":"0.0.3990","searchFilterCounts":[{"language":"pt-BR","tag":"API Reference","count":499},{"language":"en","tag":"API Reference","count":499},{"language":"pt-BR","tag":"Messages","count":42},{"language":"en","tag":"Messages","count":42},{"language":"pt-BR","tag":"WhatsApp Business","count":32},{"language":"en","tag":"WhatsApp Business","count":32},{"language":"pt-BR","tag":"Groups","count":23},{"language":"en","tag":"Groups","count":23},{"language":"pt-BR","tag":"Instance","count":22},{"language":"en","tag":"Instance","count":22},{"language":"pt-BR","tag":"Documentação","count":21},{"language":"en","tag":"Documentation","count":21},{"language":"pt-BR","tag":"Newsletter","count":19},{"language":"en","tag":"Newsletter","count":19},{"language":"pt-BR","tag":"Mobile","count":16},{"language":"en","tag":"Mobile","count":16},{"language":"pt-BR","tag":"Communities","count":14},{"language":"pt-BR","tag":"Webhooks","count":14},{"language":"en","tag":"Communities","count":14},{"language":"en","tag":"Webhooks","count":14}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":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":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","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":"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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","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":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"en/tips/calls-guide","slug":"/en/tips/calls-guide","pageMetadata":{"title":"Z-API Calls Complete Guide","description":null,"href":"/en/tips/calls-guide"},"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`,hr:`hr`,li:`li`,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,OptimizedImage,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`introduction`,children:`Introduction`}),`\n`,_jsx(_components.p,{children:`This guide covers everything you need to use the Z-API calls feature, addressing the three available integration methods: API, SDK, and SIP protocol.`}),`\n`,_jsx(_components.p,{children:`WhatsApp calls allow real-time interactions, simply and integrated into your existing support flow. With Z-API, you can make and manage calls in different ways:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Via API: Sending audio files through Z-API requests`}),`\n`,_jsx(_components.li,{children:`Via SDK: A set of tools, libraries, and ready-made methods that Z-API provides to facilitate integration in your applications`}),`\n`,_jsx(_components.li,{children:`Via SIP: Connecting telephony infrastructure such as PABX and VoIP with WhatsApp`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Each method has specific characteristics, requirements, and use cases. The goal of this guide is to present each approach clearly and practically, helping developers and technical teams choose and implement the most suitable solution for their scenario.`}),`\n`,_jsx(Heading,{level:`2`,id:`1-via-api`,children:`1. Via API`}),`\n`,_jsx(_components.p,{children:`The calls via API feature allows sending pre-recorded audio as a WhatsApp call, enabling call automation through simple HTTP requests, with no additional libraries required.`}),`\n`,_jsx(_components.p,{children:`The complete endpoint documentation is available at:`}),`\n`,_jsxs(_components.p,{children:[`🔗 `,_jsx(_components.a,{href:`https://developer.z-api.io/calls/send-call`,children:`https://developer.z-api.io/calls/send-call`})]}),`\n`,_jsx(Heading,{level:`2`,id:`2-via-sdk-software-development-kit`,children:`2. Via SDK (Software Development Kit)`}),`\n`,_jsx(_components.p,{children:`The SDK (Software Development Kit) is a set of libraries and methods provided by Z-API to facilitate integration in your applications. Instead of manually building HTTP requests, the SDK abstracts this complexity, offering ready-made and intuitive functions to perform actions such as initiating a call, monitoring events, and handling errors.`}),`\n`,_jsxs(_components.p,{children:[`For the calls feature, the SDK goes beyond sending pre-recorded audio — it allows `,_jsx(_components.strong,{children:`video calls and live calls`}),`, with support for up to `,_jsx(_components.strong,{children:`3 simultaneous calls`}),`, making it ideal for real-time support scenarios and richer communication with customers.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Important: to use the calls feature via SDK, you must first request the call\ntoken and initialize the SDK before making any calls.`})}),`\n`,_jsx(_components.p,{children:`The documentation on how to request the ephemeral token:`}),`\n`,_jsxs(_components.p,{children:[`🔗 `,_jsx(_components.a,{href:`https://developer.z-api.io/calls/call-token`,children:`https://developer.z-api.io/calls/call-token`})]}),`\n`,_jsx(Heading,{level:`3`,id:`after-generating-the-token-follow-the-sdk-initialization-example`,children:`After generating the token, follow the SDK initialization example:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`20`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light poimandres`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#1b1e28`,color:`#24292e`,\"--shiki-dark\":`#a6accd`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`20`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A6ACCD`},children:`import { `}),_jsx(_components.span,{style:{color:`#B31D28`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#D0679D`,\"--shiki-dark-font-style\":`inherit`},children:`init`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A6ACCD`},children:` } from `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#A6ACCD`},children:`\"`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#5DE4C7`},children:`@z-api/call`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#A6ACCD`},children:`\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A6ACCD`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A6ACCD`},children:`const client = init({`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#B31D28`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#D0679D`,\"--shiki-dark-font-style\":`inherit`},children:` instanceId`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A6ACCD`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#A6ACCD`},children:`\"`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#5DE4C7`},children:`YOUR_INSTANCE_ID`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#A6ACCD`},children:`\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A6ACCD`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#B31D28`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#D0679D`,\"--shiki-dark-font-style\":`inherit`},children:` getToken`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A6ACCD`},children:`: `}),_jsx(_components.span,{style:{color:`#B31D28`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#D0679D`,\"--shiki-dark-font-style\":`inherit`},children:`async`}),_jsx(_components.span,{style:{color:`#B31D28`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#D0679D`,\"--shiki-dark-font-style\":`inherit`},children:` ()`}),_jsx(_components.span,{style:{color:`#B31D28`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#D0679D`,\"--shiki-dark-font-style\":`inherit`},children:` =>`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A6ACCD`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A737D`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#767C9DB0`,\"--shiki-dark-font-style\":`italic`},children:` // Calls YOUR backend, which in turn calls Z-API to get the ephemeral token`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#B31D28`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#D0679D`,\"--shiki-dark-font-style\":`inherit`},children:` const`}),_jsx(_components.span,{style:{color:`#B31D28`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#D0679D`,\"--shiki-dark-font-style\":`inherit`},children:` res`}),_jsx(_components.span,{style:{color:`#B31D28`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#D0679D`,\"--shiki-dark-font-style\":`inherit`},children:` =`}),_jsx(_components.span,{style:{color:`#B31D28`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#D0679D`,\"--shiki-dark-font-style\":`inherit`},children:` await`}),_jsx(_components.span,{style:{color:`#B31D28`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#D0679D`,\"--shiki-dark-font-style\":`inherit`},children:` fetch(`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#A6ACCD`},children:`\"`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#ADD7FF`},children:`https://your-backend.com/call-token`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#A6ACCD`},children:`\"`}),_jsx(_components.span,{style:{color:`#B31D28`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#D0679D`,\"--shiki-dark-font-style\":`inherit`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#B31D28`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#D0679D`,\"--shiki-dark-font-style\":`inherit`},children:` const`}),_jsx(_components.span,{style:{color:`#B31D28`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#D0679D`,\"--shiki-dark-font-style\":`inherit`},children:` data`}),_jsx(_components.span,{style:{color:`#B31D28`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#D0679D`,\"--shiki-dark-font-style\":`inherit`},children:` =`}),_jsx(_components.span,{style:{color:`#B31D28`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#D0679D`,\"--shiki-dark-font-style\":`inherit`},children:` await`}),_jsx(_components.span,{style:{color:`#B31D28`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#D0679D`,\"--shiki-dark-font-style\":`inherit`},children:` res.json();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#B31D28`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#D0679D`,\"--shiki-dark-font-style\":`inherit`},children:` return`}),_jsx(_components.span,{style:{color:`#B31D28`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#D0679D`,\"--shiki-dark-font-style\":`inherit`},children:` data.token;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A6ACCD`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A6ACCD`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A737D`,\"--shiki-light-font-style\":`inherit`,\"--shiki-dark\":`#767C9DB0`,\"--shiki-dark-font-style\":`italic`},children:`// Listen to events`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A6ACCD`},children:`client.on(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#A6ACCD`},children:`\"`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#5DE4C7`},children:`call:incoming`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#A6ACCD`},children:`\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A6ACCD`},children:`, (call) => {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#B31D28`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#D0679D`,\"--shiki-dark-font-style\":`inherit`},children:` console.log(`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#A6ACCD`},children:`\"`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#E4F0FB`},children:`Incoming call from`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#A6ACCD`},children:`\"`}),_jsx(_components.span,{style:{color:`#B31D28`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#D0679D`,\"--shiki-dark-font-style\":`inherit`},children:`,`}),_jsx(_components.span,{style:{color:`#B31D28`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#D0679D`,\"--shiki-dark-font-style\":`inherit`},children:` call.from);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A6ACCD`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A6ACCD`},children:`client.on(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#A6ACCD`},children:`\"`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#5DE4C7`},children:`connected`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#A6ACCD`},children:`\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A6ACCD`},children:`, () => {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#B31D28`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#D0679D`,\"--shiki-dark-font-style\":`inherit`},children:` console.log(`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#A6ACCD`},children:`\"`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#E4F0FB`},children:`Connected to server`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#A6ACCD`},children:`\"`}),_jsx(_components.span,{style:{color:`#B31D28`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#D0679D`,\"--shiki-dark-font-style\":`inherit`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A6ACCD`},children:`});`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`For more SDK commands, see the documentation:`}),`\n`,_jsxs(_components.p,{children:[`🔗 `,_jsx(_components.a,{href:`https://www.npmjs.com/package/@z-api/call`,children:`https://www.npmjs.com/package/@z-api/call`})]}),`\n`,_jsx(Heading,{level:`2`,id:`3-via-sip-session-initiation-protocol`,children:`3. Via SIP (Session Initiation Protocol)`}),`\n`,_jsx(_components.p,{children:`The SIP (Session Initiation Protocol) is a standard communication protocol in the telephony industry, used to initiate, maintain, and terminate voice and video sessions over the internet (VoIP).`}),`\n`,_jsx(_components.p,{children:`In the context of Z-API, SIP integration allows companies that already have telephony infrastructure — such as IP PABX, softphones, or VoIP providers — to connect that infrastructure to WhatsApp, making calls directly from their platform without relying on a physical device.`}),`\n`,_jsx(Heading,{level:`3`,id:`integration-example-with-the-microsip-platform`,children:`Integration example with the MicroSIP platform:`}),`\n`,_jsx(_components.p,{children:`MicroSIP is a free softphone compatible with the SIP protocol, which can be used to make WhatsApp calls through Z-API.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Step 1 — Getting credentials from the Z-API panel:`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`Go to: Z-API Panel → Web Instance → Select the instance → “Calls” tab → “Via SIP” section`}),`\n`,_jsx(_components.p,{children:`Copy the three displayed values:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`HOST: sip.z-api.io`}),`\n`,_jsx(_components.li,{children:`USER: This is the instanceID, which can be found in the instance panel`}),`\n`,_jsx(_components.li,{children:`TOKEN: generated password — displayed only once`}),`\n`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Save the TOKEN before leaving the page, as it will not be displayed again. If\nlost, click “Generate new password” to create a new one.`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Step 2 — Configuring MicroSIP:`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`After installing MicroSIP, go to the main menu → “Add account” and fill in the fields:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`SIP Server`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`sip.z-api.io`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Username`}),_jsx(_components.td,{children:`InstanceID`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Domain`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`sip.z-api.io`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Login`}),_jsx(_components.td,{children:`InstanceID`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Password`}),_jsx(_components.td,{children:`TOKEN copied from panel`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Transport`}),_jsx(_components.td,{children:`UDP`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Encryption`}),_jsx(_components.td,{children:`Disabled`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Public Address`}),_jsx(_components.td,{children:`Auto`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Update Register`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`300`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Keep Alive`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`15`})]})]})]}),`\n`,_jsx(`div`,{style:{display:`flex`,justifyContent:`center`},children:_jsx(OptimizedImage,{src:`https://mintcdn.com/z-api-8aa3bb40/GQnVR5xNzwNxN2H-/images/MicroSipIntegration.png?fit=max\u0026auto=format\u0026n=GQnVR5xNzwNxN2H-\u0026q=85\u0026s=09b121503a1107b500024f91c40fb05b`,width:`500`,height:`800`,\"data-og-width\":`616`,\"data-og-height\":`698`,\"data-path\":`images/MicroSipIntegration.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/z-api-8aa3bb40/GQnVR5xNzwNxN2H-/images/MicroSipIntegration.png?w=280\u0026fit=max\u0026auto=format\u0026n=GQnVR5xNzwNxN2H-\u0026q=85\u0026s=8df116396cdf474f393c2b926196e3ac 280w, https://mintcdn.com/z-api-8aa3bb40/GQnVR5xNzwNxN2H-/images/MicroSipIntegration.png?w=560\u0026fit=max\u0026auto=format\u0026n=GQnVR5xNzwNxN2H-\u0026q=85\u0026s=1ca92532fe819de607f6fe457960b076 560w, https://mintcdn.com/z-api-8aa3bb40/GQnVR5xNzwNxN2H-/images/MicroSipIntegration.png?w=840\u0026fit=max\u0026auto=format\u0026n=GQnVR5xNzwNxN2H-\u0026q=85\u0026s=ec311cfebfe4ccfcaeee1c39d3d543ae 840w, https://mintcdn.com/z-api-8aa3bb40/GQnVR5xNzwNxN2H-/images/MicroSipIntegration.png?w=1100\u0026fit=max\u0026auto=format\u0026n=GQnVR5xNzwNxN2H-\u0026q=85\u0026s=df0ea14ad6fbc5d3843e20bd08ba45bf 1100w, https://mintcdn.com/z-api-8aa3bb40/GQnVR5xNzwNxN2H-/images/MicroSipIntegration.png?w=1650\u0026fit=max\u0026auto=format\u0026n=GQnVR5xNzwNxN2H-\u0026q=85\u0026s=e6e058ae855652ac5e8223299d4ffbe9 1650w, https://mintcdn.com/z-api-8aa3bb40/GQnVR5xNzwNxN2H-/images/MicroSipIntegration.png?w=2500\u0026fit=max\u0026auto=format\u0026n=GQnVR5xNzwNxN2H-\u0026q=85\u0026s=2ff290c0767a6bbc27186da4a955c500 2500w`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Step 3 — Verifying the connection:`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`After saving, the MicroSIP icon will turn `,_jsx(_components.strong,{children:`green`}),`, indicating that registration was successful and the integration is ready to use.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`final-considerations`,children:`Final Considerations`}),`\n`,_jsx(_components.p,{children:`The Z-API calls feature was designed to serve different integration profiles, from simple automations to more complex telephony operations. The choice of the ideal method depends on your project’s needs and available technical infrastructure.`})]})}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":{"codeStyling":{"theme":{"light":"github-light","dark":"poimandres"}},"config":{},"pageMetadata":{"title":"Z-API Calls Complete Guide","description":null,"href":"/en/tips/calls-guide"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Introduction","slug":"introduction","depth":2,"children":[]},{"title":"1. Via API","slug":"1-via-api","depth":2,"children":[]},{"title":"2. Via SDK (Software Development Kit)","slug":"2-via-sdk-software-development-kit","depth":2,"children":[{"title":"After generating the token, follow the SDK initialization example:","slug":"after-generating-the-token-follow-the-sdk-initialization-example","depth":3,"children":[]}]},{"title":"3. Via SIP (Session Initiation Protocol)","slug":"3-via-sip-session-initiation-protocol","depth":2,"children":[{"title":"Integration example with the MicroSIP platform:","slug":"integration-example-with-the-microsip-platform","depth":3,"children":[]},{"title":"Final Considerations","slug":"final-considerations","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/z-api-8aa3bb40/a56ff8c5f47a412e/gptmaker.js"],"subdomain":"z-api-8aa3bb40","siteName":"Z-API Docs","title":"Z-API Calls Complete Guide - Z-API Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"pt-BR":{"href":"/tips/calls-guide","matchLevel":1},"en":{"href":"/en/tips/calls-guide","matchLevel":0}}},"lastModified":"2026-10-06T17:36:05.044Z","originalFileLocation":"en/tips/calls-guide.mdx","locale":"en"},"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=\"application-name\" content=\"Z-API Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/z-api-8aa3bb40/ZpLU815Jzg8ouylX/_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/z-api-8aa3bb40/ZpLU815Jzg8ouylX/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/z-api-8aa3bb40/ZpLU815Jzg8ouylX/_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/z-api-8aa3bb40/ZpLU815Jzg8ouylX/_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/z-api-8aa3bb40/ZpLU815Jzg8ouylX/_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/z-api-8aa3bb40/ZpLU815Jzg8ouylX/_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/z-api-8aa3bb40/ZpLU815Jzg8ouylX/_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/z-api-8aa3bb40/ZpLU815Jzg8ouylX/_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/z-api-8aa3bb40/ZpLU815Jzg8ouylX/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Z-API Calls Complete Guide - Z-API Docs\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Z-API Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developer.z-api.io/en/tips/calls-guide\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://z-api-8aa3bb40.mintlify.app/_mintlify/api/og/v2?division=Tips\u0026amp;title=Z-API+Calls+Complete+Guide\u0026amp;theme=1e9f2e2415957578442f4649\u0026amp;signature=e7e5cb12977f9c6951b2505414621b9604e427766605c1eee0fa03b9f129d768\">\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=\"Z-API Calls Complete Guide - Z-API Docs\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://z-api-8aa3bb40.mintlify.app/_mintlify/api/og/v2?division=Tips\u0026amp;title=Z-API+Calls+Complete+Guide\u0026amp;theme=1e9f2e2415957578442f4649\u0026amp;signature=e7e5cb12977f9c6951b2505414621b9604e427766605c1eee0fa03b9f129d768\">\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/z-api-8aa3bb40/ZpLU815Jzg8ouylX/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Z-API Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#00B140\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developer.z-api.io/en/tips/calls-guide\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/tips/calls-guide.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://developer.z-api.io/en/tips/calls-guide\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://developer.z-api.io/tips/calls-guide\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://developer.z-api.io/tips/calls-guide\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developer.z-api.io/#organization\",\"name\":\"Z-API Docs\",\"url\":\"https://developer.z-api.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://staging.z-api.io/logos/SVG/Ativo%2016.svg\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developer.z-api.io#website\",\"name\":\"Z-API Docs\",\"url\":\"https://developer.z-api.io\",\"publisher\":{\"@id\":\"https://developer.z-api.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developer.z-api.io/en/tips/calls-guide#webpage\",\"url\":\"https://developer.z-api.io/en/tips/calls-guide\",\"name\":\"Z-API Calls Complete Guide\",\"dateModified\":\"2026-10-06T17:36:05.044Z\",\"isPartOf\":{\"@id\":\"https://developer.z-api.io#website\"},\"breadcrumb\":{\"@id\":\"https://developer.z-api.io/en/tips/calls-guide#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developer.z-api.io/en/tips/calls-guide#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Z-API Docs\",\"item\":\"https://developer.z-api.io\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Z-API Calls Complete Guide\",\"item\":\"https://developer.z-api.io/en/tips/calls-guide\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://developer.z-api.io/en/tips/calls-guide#article\",\"headline\":\"Z-API Calls Complete Guide\",\"name\":\"Z-API Calls Complete Guide\",\"url\":\"https://developer.z-api.io/en/tips/calls-guide\",\"mainEntityOfPage\":{\"@id\":\"https://developer.z-api.io/en/tips/calls-guide#webpage\"},\"dateModified\":\"2026-10-06T17:36:05.044Z\",\"publisher\":{\"@id\":\"https://developer.z-api.io/#organization\"},\"isPartOf\":{\"@id\":\"https://developer.z-api.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Z-API Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Z-API Docs","nav":{"global":{"anchors":[{"anchor":"Blog","icon":"newspaper","href":"https://www.z-api.io/blog"},{"anchor":"YouTube","icon":"youtube","href":"https://www.youtube.com/@z_api"},{"anchor":"Postman","icon":"rocket","href":"https://www.postman.com/docs-z-api/z-api-s-public-workspace/collection/gwri249/z-api-collection"},{"anchor":"WhatsApp","icon":"whatsapp","href":"https://chat.whatsapp.com/KmE3atZGmWJEspMZnBZKjV"}]},"languages":[{"language":"pt-BR","default":true,"navbar":{"links":[{"href":"https://api.whatsapp.com/send?phone=554431421722\u0026text=Ol%C3%A1,%20gostaria%20de%20falar%20com%20o%20suporte%20da%20Z-API","label":"Suporte"}],"primary":{"type":"button","label":"Painel","href":"https://app.z-api.io/"}},"pages":[{"title":"pt-BR","href":"/tips/calls-guide"}]},{"language":"en","navbar":{"links":[{"href":"https://api.whatsapp.com/send?phone=554431421722\u0026text=Hello,%20I%20would%20like%20to%20talk%20to%20Z-API%20support","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.z-api.io/"}},"tabs":[{"tab":"Documentation","groups":[{"group":"Quick Start","pages":[{"title":"Introduction","href":"/en/quickstart/introduction"}]},{"group":"Security","pages":[{"title":"ID and Token","href":"/en/security/introduction"},{"title":"IP-based request restriction","href":"/en/security/ip-block"},{"title":"Two-factor authentication","href":"/en/security/twofactor"},{"title":"Account security token","href":"/en/security/client-token"},{"title":"Anti-Scam Protection in Announcement Groups","href":"/en/security/fraud-protection"}]},{"group":"MCP Server","pages":[{"title":"Introduction","href":"/en/mcp/introduction"},{"title":"How to connect","description":"Connect your Z-API account to the MCP server and authorize your AI app","href":"/en/mcp/how-to-connect"}]},{"group":"Tips","pages":[{"title":"Z-API Calls Complete Guide","href":"/en/tips/calls-guide"},{"title":"Connection via Z-API Conector Extension","description":null,"href":"/en/tips/extension-guide"},{"title":"Blocks and Bans","href":"/en/tips/blockednumber"},{"title":"Blocks and Bans (2026)","href":"/en/tips/blockednumbernew"},{"title":"Best Practices Guide for Using WhatsApp via API","href":"/en/tips/best-practices"},{"title":"Lid","href":"/en/tips/lid"},{"title":"Enabling a Landline Number","href":"/en/tips/enable-fix-number"},{"title":"Android Emulators","href":"/en/tips/emulators"},{"title":"Z-API vs Official API","href":"/en/tips/Z-APIvsAPI-OFICIAL"},{"title":"Button Behavior","href":"/en/tips/button-status"},{"title":"File Expiration Period","href":"/en/tips/file-expiration"},{"title":"Postman Collection","href":"/en/tips/postman-collection"}]},{"group":"Partners","pages":[{"title":"Extension connection for partners","href":"/en/partner/extension-token"},{"title":"Connection SDK","href":"/en/partner/sdk-connector"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/en/api-reference/introduction"}]}]}]},"title":"Z-API Calls Complete Guide - Z-API Docs","buildId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","deploymentId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-D7yRe3On.js","lightbox-handle-r17bVUz3.js"]}