{"templateId":"openapi_docs","sharedDataIds":{"openAPIDocsStore":"oas-docs/mailgun/api-reference/send/mailgun.yaml","sidebar":"sidebar-docs/mailgun/sidebars.yaml"},"props":{"definitionId":"docs/mailgun/api-reference/send/mailgun.yaml","dynamicMarkdocComponents":[],"baseSlug":"/docs/mailgun/api-reference/send/mailgun","seo":{"title":"Get members by page","siteUrl":"https://documentation.mailgun.com","llmstxt":{"title":"Mailgun Documentation","description":"LLMS.txt containing a map of all the documentation files for Mailgun.","sections":[{"title":"Mailgun Send Documentation","description":"All of the Mailgun Send documentation.","includeFiles":["docs/mailgun/**/*.md"],"excludeFiles":["docs/mailgun/index.md"]},{"title":"Mailgun Send OAS","description":"All of the Mailgun Send API specifications.","includeFiles":["docs/mailgun/**/mailgun.yaml"],"excludeFiles":[]},{"title":"Mailgun Optimize Documentation","description":"All of the Mailgun Optimize documentation.","includeFiles":["docs/inboxready/**/*.md"],"excludeFiles":["docs/inboxready/index.md"]},{"title":"Mailgun Optimize OAS","description":"All of the Mailgun Optimize API specifications","includeFiles":["docs/inboxready/**/inboxready.yaml"],"excludeFiles":[]},{"title":"Mailgun Validate Documentation","description":"All of the Mailgun Validate documentation.","includeFiles":["docs/validate/**/*.md"],"excludeFiles":["docs/validate/index.md"]},{"title":"Mailgun Validate OAS","description":"All of the Mailgun Validate API specifications.","includeFiles":["docs/validate/**/*.yaml"],"excludeFiles":[]},{"title":"Mailgun Inspect Documentation","description":"All of the Mailgun Inspect documentation.","includeFiles":["docs/inspect/**/overview.md"],"excludeFiles":[]},{"title":"Mailgun Inspect OAS","description":"All of the Mailgun Inspect API specifications.","includeFiles":["docs/inspect/**/*.yaml"],"excludeFiles":[]}],"hide":false,"excludeFiles":[]}},"itemId":"mailing-lists/get-lists-list_address-members-pages","disableAutoScroll":true,"metadata":{},"compilationErrors":[],"markdown":{"partials":{"partials/sdk/_client-components.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":true,"attributes":{"content":"Before initializing a client using this SDK, you'll need three pieces of information:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/_client-components.md","start":{"line":0},"end":{"line":1}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/_client-components.md","start":{"line":0},"end":{"line":1}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/_client-components.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[2,6],"inline":false,"attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":"Your Project ID"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/_client-components.md","start":{"line":2},"end":{"line":3}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/_client-components.md","start":{"line":2},"end":{"line":3}}}],"type":"item","annotations":[],"slots":{},"location":{"file":"partials/sdk/_client-components.md","start":{"line":2},"end":{"line":3}}},{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":true,"attributes":{"content":"An access key ID"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/_client-components.md","start":{"line":3},"end":{"line":4}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/_client-components.md","start":{"line":3},"end":{"line":4}}}],"type":"item","annotations":[],"slots":{},"location":{"file":"partials/sdk/_client-components.md","start":{"line":3},"end":{"line":4}}},{"$$mdtype":"Node","errors":[],"lines":[4,6],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":true,"attributes":{"content":"An access key Secret"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/_client-components.md","start":{"line":4},"end":{"line":5}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/_client-components.md","start":{"line":4},"end":{"line":5}}}],"type":"item","annotations":[],"slots":{},"location":{"file":"partials/sdk/_client-components.md","start":{"line":4},"end":{"line":6}}}],"type":"list","annotations":[],"slots":{},"location":{"file":"partials/sdk/_client-components.md","start":{"line":2},"end":{"line":6}}},{"$$mdtype":"Node","errors":[],"lines":[6,7],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[6,7],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[6,7],"inline":true,"attributes":{"content":"These values can be found on the "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/_client-components.md","start":{"line":6},"end":{"line":7}}},{"$$mdtype":"Node","errors":[],"lines":[6,7],"inline":true,"attributes":{"name":"a","attrs":{"href":"https://dashboard.sinch.com/settings/access-keys","target":"_blank"}},"children":[{"$$mdtype":"Node","errors":[],"lines":[6,7],"inline":true,"attributes":{"name":"b","attrs":{}},"children":[{"$$mdtype":"Node","errors":[],"lines":[6,7],"inline":true,"attributes":{"content":"Access Keys"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/_client-components.md","start":{"line":6},"end":{"line":7}}}],"type":"tag","tag":"html","annotations":[{"type":"attribute","name":"name","value":"b"},{"type":"attribute","name":"attrs","value":{}}],"slots":{},"location":{"file":"partials/sdk/_client-components.md","start":{"line":6},"end":{"line":7}}}],"type":"tag","tag":"html","annotations":[{"type":"attribute","name":"name","value":"a"},{"type":"attribute","name":"attrs","value":{"href":"https://dashboard.sinch.com/settings/access-keys","target":"_blank"}}],"slots":{},"location":{"file":"partials/sdk/_client-components.md","start":{"line":6},"end":{"line":7}}},{"$$mdtype":"Node","errors":[],"lines":[6,7],"inline":true,"attributes":{"content":" page of the Customer Dashboard. You can also "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/_client-components.md","start":{"line":6},"end":{"line":7}}},{"$$mdtype":"Node","errors":[],"lines":[6,7],"inline":true,"attributes":{"name":"a","attrs":{"href":"https://community.sinch.com/t5/Conversation-API/How-to-get-your-access-key-for-Conversation-API/ta-p/8120","target":"_blank"}},"children":[{"$$mdtype":"Node","errors":[],"lines":[6,7],"inline":true,"attributes":{"content":"create new access key IDs and Secrets"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/_client-components.md","start":{"line":6},"end":{"line":7}}}],"type":"tag","tag":"html","annotations":[{"type":"attribute","name":"name","value":"a"},{"type":"attribute","name":"attrs","value":{"href":"https://community.sinch.com/t5/Conversation-API/How-to-get-your-access-key-for-Conversation-API/ta-p/8120","target":"_blank"}}],"slots":{},"location":{"file":"partials/sdk/_client-components.md","start":{"line":6},"end":{"line":7}}},{"$$mdtype":"Node","errors":[],"lines":[6,7],"inline":true,"attributes":{"content":", if required."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/_client-components.md","start":{"line":6},"end":{"line":7}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/_client-components.md","start":{"line":6},"end":{"line":7}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/_client-components.md","start":{"line":6},"end":{"line":7}}},{"$$mdtype":"Node","errors":[],"lines":[8,9,10,11],"inline":false,"attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Node","errors":[],"lines":[9,10],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[9,10],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[9,10],"inline":true,"attributes":{"content":"If you have trouble accessing the above link, ensure that you have gained access to the "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/_client-components.md","start":{"line":9},"end":{"line":10}}},{"$$mdtype":"Node","errors":[],"lines":[9,10],"inline":true,"attributes":{"name":"a","attrs":{"href":"https://dashboard.sinch.com/convapi/overview","target":"_blank"}},"children":[{"$$mdtype":"Node","errors":[],"lines":[9,10],"inline":true,"attributes":{"content":"Conversation API"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/_client-components.md","start":{"line":9},"end":{"line":10}}}],"type":"tag","tag":"html","annotations":[{"type":"attribute","name":"name","value":"a"},{"type":"attribute","name":"attrs","value":{"href":"https://dashboard.sinch.com/convapi/overview","target":"_blank"}}],"slots":{},"location":{"file":"partials/sdk/_client-components.md","start":{"line":9},"end":{"line":10}}},{"$$mdtype":"Node","errors":[],"lines":[9,10],"inline":true,"attributes":{"content":" by accepting the corresponding terms and conditions."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/_client-components.md","start":{"line":9},"end":{"line":10}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/_client-components.md","start":{"line":9},"end":{"line":10}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/_client-components.md","start":{"line":9},"end":{"line":10}}}],"type":"tag","tag":"admonition","annotations":[{"type":"attribute","name":"type","value":"info"},{"type":"attribute","name":"name","value":"Note"}],"slots":{},"location":{"file":"partials/sdk/_client-components.md","start":{"line":8},"end":{"line":9}}}],"type":"document","annotations":[],"slots":{}},"partials/sdk/_preview-banner.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{"content":"markdownlint-disable"},"children":[],"type":"comment","annotations":[],"slots":{},"location":{"file":"partials/sdk/_preview-banner.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{"name":"style","attrs":{}},"children":[{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{"content":"{`\n.panel-gray{\n   background-color: #CEE9F9;\n   padding: 10px 10px 5px 10px;\n   color:#000000;\n   text-align: center;max-width: 1100px; border-radius:4px;font-family: DMSans, Helvetica, Arial, sans-serif;\n}\n`}\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/_preview-banner.md","start":{},"end":{}}}],"type":"tag","tag":"html","annotations":[{"type":"attribute","name":"name","value":"style"},{"type":"attribute","name":"attrs","value":{}}],"slots":{},"location":{"file":"partials/sdk/_preview-banner.md","start":{},"end":{}}},{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{"name":"div","attrs":{"className":"panel-gray"}},"children":[{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{"name":"b","attrs":{}},"children":[{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{"content":"\n   Some features of this SDK are still in development. Consult with our "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/_preview-banner.md","start":{},"end":{}}},{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{"name":"a","attrs":{"href":"mailto:onlineteam@sinch.com"}},"children":[{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{"content":"online support team"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/_preview-banner.md","start":{},"end":{}}}],"type":"tag","tag":"html","annotations":[{"type":"attribute","name":"name","value":"a"},{"type":"attribute","name":"attrs","value":{"href":"mailto:onlineteam@sinch.com"}}],"slots":{},"location":{"file":"partials/sdk/_preview-banner.md","start":{},"end":{}}},{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{"content":" if you run into issues using this SDK in a production environment."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/_preview-banner.md","start":{},"end":{}}}],"type":"tag","tag":"html","annotations":[{"type":"attribute","name":"name","value":"b"},{"type":"attribute","name":"attrs","value":{}}],"slots":{},"location":{"file":"partials/sdk/_preview-banner.md","start":{},"end":{}}}],"type":"tag","tag":"html","annotations":[{"type":"attribute","name":"name","value":"div"},{"type":"attribute","name":"attrs","value":{"className":"panel-gray"}}],"slots":{},"location":{"file":"partials/sdk/_preview-banner.md","start":{},"end":{}}}],"type":"document","annotations":[],"slots":{}},"partials/tutorials/_info_statement.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{"content":"markdownlint-disable"},"children":[],"type":"comment","annotations":[],"slots":{},"location":{"file":"partials/tutorials/_info_statement.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[1,2,3,4],"inline":false,"attributes":{"type":"info","name":"Note:"},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":"The code presented on this page is complete and needs no modifications to function. We are providing it for educational purposes and to highlight how it works and what it's doing. You may modify the code to customize the behavior if you want, but this tutorial assumes the code remains as-is to complete successfully and behave as documented."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/tutorials/_info_statement.md","start":{"line":2},"end":{"line":3}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/tutorials/_info_statement.md","start":{"line":2},"end":{"line":3}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/tutorials/_info_statement.md","start":{"line":2},"end":{"line":3}}}],"type":"tag","tag":"admonition","annotations":[{"type":"attribute","name":"type","value":"info"},{"type":"attribute","name":"name","value":"Note:"}],"slots":{},"location":{"file":"partials/tutorials/_info_statement.md","start":{"line":1},"end":{"line":2}}}],"type":"document","annotations":[],"slots":{}},"partials/general_information/common-operations/_common-operations-intro.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{"content":"markdownlint-disable"},"children":[],"type":"comment","annotations":[],"slots":{},"location":{"file":"partials/general_information/common-operations/_common-operations-intro.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":"This article details commonly used API operations. Each section corresponds to an operation and includes a brief overview, a sample request and response payload, and schema information pulled directly from the API reference. Additionally, each section will include links to the corresponding "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/general_information/common-operations/_common-operations-intro.md","start":{"line":2},"end":{"line":3}}},{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"href":"../../../api-reference/"},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":"API reference entry"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/general_information/common-operations/_common-operations-intro.md","start":{"line":2},"end":{"line":3}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/general_information/common-operations/_common-operations-intro.md","start":{"line":2},"end":{"line":3}},"redocly:::linkOriginal:href":"../../../api-reference/"},{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":" and any tutorials (if available)."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/general_information/common-operations/_common-operations-intro.md","start":{"line":2},"end":{"line":3}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/general_information/common-operations/_common-operations-intro.md","start":{"line":2},"end":{"line":3}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/general_information/common-operations/_common-operations-intro.md","start":{"line":2},"end":{"line":3}}},{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":true,"attributes":{"content":":::note Note:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/general_information/common-operations/_common-operations-intro.md","start":{"line":4},"end":{"line":5}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/general_information/common-operations/_common-operations-intro.md","start":{"line":4},"end":{"line":5}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/general_information/common-operations/_common-operations-intro.md","start":{"line":4},"end":{"line":5}}},{"$$mdtype":"Node","errors":[],"lines":[6,7],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[6,7],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[6,7],"inline":true,"attributes":{"content":"For information on how complete the configuration steps required for this API, along with language-specific guides that illustrate the API's functionality with pre-populated examples, see the "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/general_information/common-operations/_common-operations-intro.md","start":{"line":6},"end":{"line":7}}},{"$$mdtype":"Node","errors":[],"lines":[6,7],"inline":true,"attributes":{"href":"../../../getting-started/"},"children":[{"$$mdtype":"Node","errors":[],"lines":[6,7],"inline":true,"attributes":{"content":"Getting started"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/general_information/common-operations/_common-operations-intro.md","start":{"line":6},"end":{"line":7}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/general_information/common-operations/_common-operations-intro.md","start":{"line":6},"end":{"line":7}},"redocly:::linkOriginal:href":"../../../getting-started/"},{"$$mdtype":"Node","errors":[],"lines":[6,7],"inline":true,"attributes":{"content":" guides that correspond to this API."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/general_information/common-operations/_common-operations-intro.md","start":{"line":6},"end":{"line":7}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/general_information/common-operations/_common-operations-intro.md","start":{"line":6},"end":{"line":7}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/general_information/common-operations/_common-operations-intro.md","start":{"line":6},"end":{"line":7}}},{"$$mdtype":"Node","errors":[],"lines":[8,9],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[8,9],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[8,9],"inline":true,"attributes":{"content":":::"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/general_information/common-operations/_common-operations-intro.md","start":{"line":8},"end":{"line":9}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/general_information/common-operations/_common-operations-intro.md","start":{"line":8},"end":{"line":9}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/general_information/common-operations/_common-operations-intro.md","start":{"line":8},"end":{"line":9}}}],"type":"document","annotations":[],"slots":{}},"partials/general_information/common-operations/_common-operations-request-sample.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{"content":"markdownlint-disable"},"children":[],"type":"comment","annotations":[],"slots":{},"location":{"file":"partials/general_information/common-operations/_common-operations-request-sample.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"Below are code samples that highlight how to make this API request in multiple languages. Click an appropriate tab to view your preferred language:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/general_information/common-operations/_common-operations-request-sample.md","start":{"line":1},"end":{"line":2}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/general_information/common-operations/_common-operations-request-sample.md","start":{"line":1},"end":{"line":2}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/general_information/common-operations/_common-operations-request-sample.md","start":{"line":1},"end":{"line":2}}}],"type":"document","annotations":[],"slots":{}},"partials/general_information/common-operations/_common-operations-response-sample.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{"content":"markdownlint-disable"},"children":[],"type":"comment","annotations":[],"slots":{},"location":{"file":"partials/general_information/common-operations/_common-operations-response-sample.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"After making this API call, you should receive a response that is similar to the example given below:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/general_information/common-operations/_common-operations-response-sample.md","start":{"line":1},"end":{"line":2}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/general_information/common-operations/_common-operations-response-sample.md","start":{"line":1},"end":{"line":2}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/general_information/common-operations/_common-operations-response-sample.md","start":{"line":1},"end":{"line":2}}}],"type":"document","annotations":[],"slots":{}},"partials/general_information/errors/_5000_error.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1,2,3],"inline":false,"attributes":{"type":"info","name":"Troubleshooting tip"},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"If after running your app you receive a 5000 error response, you may have forgotten to save your file after adding your authentication values. This is an easy mistake to make! Try saving the file and running the app again."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/general_information/errors/_5000_error.md","start":{"line":1},"end":{"line":2}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/general_information/errors/_5000_error.md","start":{"line":1},"end":{"line":2}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/general_information/errors/_5000_error.md","start":{"line":1},"end":{"line":2}}}],"type":"tag","tag":"admonition","annotations":[{"type":"attribute","name":"type","value":"info"},{"type":"attribute","name":"name","value":"Troubleshooting tip"}],"slots":{},"location":{"file":"partials/general_information/errors/_5000_error.md","start":{"line":0},"end":{"line":1}}}],"type":"document","annotations":[],"slots":{}},"partials/sdk/dotnet/_initialization.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{"content":"markdownlint-disable"},"children":[],"type":"comment","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_initialization.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":"To start using the SDK, you need to initialize the main client class with your credentials from your Sinch "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_initialization.md","start":{"line":2},"end":{"line":3}}},{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"href":"https://dashboard.sinch.com"},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":"dashboard"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_initialization.md","start":{"line":2},"end":{"line":3}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_initialization.md","start":{"line":2},"end":{"line":3}},"redocly:::linkOriginal:href":"https://dashboard.sinch.com"},{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":"."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_initialization.md","start":{"line":2},"end":{"line":3}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_initialization.md","start":{"line":2},"end":{"line":3}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_initialization.md","start":{"line":2},"end":{"line":3}}},{"$$mdtype":"Node","errors":[],"lines":[4,5,6,7],"inline":false,"attributes":{"type":"info","name":"Note:"},"children":[{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":true,"attributes":{"content":"For testing purposes on your local environment it's fine to use hardcoded values, but before deploying to production we strongly recommend using environment variables to store the credentials."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_initialization.md","start":{"line":5},"end":{"line":6}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_initialization.md","start":{"line":5},"end":{"line":6}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_initialization.md","start":{"line":5},"end":{"line":6}}}],"type":"tag","tag":"admonition","annotations":[{"type":"attribute","name":"type","value":"info"},{"type":"attribute","name":"name","value":"Note:"}],"slots":{},"location":{"file":"partials/sdk/dotnet/_initialization.md","start":{"line":4},"end":{"line":5}}},{"$$mdtype":"Node","errors":[],"lines":[8,15],"inline":false,"attributes":{"content":"using Sinch;\n\nvar sinch = new SinchClient(\"YOUR_project_id\",\n                            \"YOUR_access_key\", \n                            \"YOUR_access_secret\");\n","language":"csharp","title":"Initialize client"},"children":[{"$$mdtype":"Node","errors":[],"lines":[8,15],"inline":false,"attributes":{"content":"using Sinch;\n\nvar sinch = new SinchClient(\"YOUR_project_id\",\n                            \"YOUR_access_key\", \n                            \"YOUR_access_secret\");\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_initialization.md","start":{"line":8},"end":{"line":15}}}],"type":"fence","annotations":[{"type":"attribute","name":"title","value":"Initialize client"}],"slots":{},"location":{"file":"partials/sdk/dotnet/_initialization.md","start":{"line":8},"end":{"line":15}}},{"$$mdtype":"Node","errors":[],"lines":[16,17],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[16,17],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[16,17],"inline":true,"attributes":{"content":"You can also implement the client using ASP.NET dependency injection. "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_initialization.md","start":{"line":16},"end":{"line":17}}},{"$$mdtype":"Node","errors":[],"lines":[16,17],"inline":true,"attributes":{"content":"SinchClient"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_initialization.md","start":{"line":16},"end":{"line":17}}},{"$$mdtype":"Node","errors":[],"lines":[16,17],"inline":true,"attributes":{"content":" is thread safe, so it's fine to add it as a singleton:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_initialization.md","start":{"line":16},"end":{"line":17}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_initialization.md","start":{"line":16},"end":{"line":17}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_initialization.md","start":{"line":16},"end":{"line":17}}},{"$$mdtype":"Node","errors":[],"lines":[18,24],"inline":false,"attributes":{"content":"builder.Services.AddSingleton<ISinchClient>(x => new SinchClient(\n    builder.Configuration[\"YOUR_project_id\"],\n    builder.Configuration[\"YOUR_access_key\"],\n    builder.Configuration[\"YOUR_access_secret\"]));\n","language":"csharp","title":"Initialize client using dependency injection"},"children":[{"$$mdtype":"Node","errors":[],"lines":[18,24],"inline":false,"attributes":{"content":"builder.Services.AddSingleton<ISinchClient>(x => new SinchClient(\n    builder.Configuration[\"YOUR_project_id\"],\n    builder.Configuration[\"YOUR_access_key\"],\n    builder.Configuration[\"YOUR_access_secret\"]));\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_initialization.md","start":{"line":18},"end":{"line":24}}}],"type":"fence","annotations":[{"type":"attribute","name":"title","value":"Initialize client using dependency injection"}],"slots":{},"location":{"file":"partials/sdk/dotnet/_initialization.md","start":{"line":18},"end":{"line":24}}}],"type":"document","annotations":[],"slots":{}},"partials/sdk/dotnet/_installation.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{"content":"markdownlint-disable"},"children":[],"type":"comment","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_installation.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"The easiest way to install the SDK is using the "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_installation.md","start":{"line":1},"end":{"line":2}}},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"href":"https://learn.microsoft.com/en-us/dotnet/core/install/windows?tabs=net70"},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"dotnet"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_installation.md","start":{"line":1},"end":{"line":2}}},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":" CLI"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_installation.md","start":{"line":1},"end":{"line":2}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_installation.md","start":{"line":1},"end":{"line":2}},"redocly:::linkOriginal:href":"https://learn.microsoft.com/en-us/dotnet/core/install/windows?tabs=net70"},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":":"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_installation.md","start":{"line":1},"end":{"line":2}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_installation.md","start":{"line":1},"end":{"line":2}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_installation.md","start":{"line":1},"end":{"line":2}}},{"$$mdtype":"Node","errors":[],"lines":[3,8],"inline":false,"attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":true,"attributes":{"content":"Open a command prompt or terminal to the local repository folder."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_installation.md","start":{"line":3},"end":{"line":4}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_installation.md","start":{"line":3},"end":{"line":4}}}],"type":"item","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_installation.md","start":{"line":3},"end":{"line":4}}},{"$$mdtype":"Node","errors":[],"lines":[4,8],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":true,"attributes":{"content":"Execute the following command:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_installation.md","start":{"line":4},"end":{"line":5}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_installation.md","start":{"line":4},"end":{"line":5}}},{"$$mdtype":"Node","errors":[],"lines":[5,8],"inline":false,"attributes":{"content":"dotnet add package Sinch\n","language":"shell"},"children":[{"$$mdtype":"Node","errors":[],"lines":[5,8],"inline":false,"attributes":{"content":"dotnet add package Sinch\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_installation.md","start":{"line":5},"end":{"line":8}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_installation.md","start":{"line":5},"end":{"line":8}}}],"type":"item","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_installation.md","start":{"line":4},"end":{"line":8}}}],"type":"list","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/_installation.md","start":{"line":3},"end":{"line":8}}}],"type":"document","annotations":[],"slots":{}},"partials/sdk/java/_access_key_quickstart.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{"content":"markdownlint-disable"},"children":[],"type":"comment","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"To quickly get started setting up a simple client application using the Java SDK:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":1},"end":{"line":2}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":1},"end":{"line":2}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":1},"end":{"line":2}}},{"$$mdtype":"Node","errors":[],"lines":[3,7],"inline":false,"attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":true,"attributes":{"content":"If you haven't already, clone the "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":3},"end":{"line":4}}},{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":true,"attributes":{"href":"https://github.com/sinch/sinch-sdk-java-quickstart"},"children":[{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":true,"attributes":{"content":"sinch-sdk-java-quickstart"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":3},"end":{"line":4}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":3},"end":{"line":4}},"redocly:::linkOriginal:href":"https://github.com/sinch/sinch-sdk-java-quickstart"},{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":true,"attributes":{"content":" repository."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":3},"end":{"line":4}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":3},"end":{"line":4}}}],"type":"item","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":3},"end":{"line":4}}},{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":true,"attributes":{"content":"Navigate to the "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":4},"end":{"line":5}}},{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":true,"attributes":{"content":"templates/client/src/main/resources"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":4},"end":{"line":5}}},{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":true,"attributes":{"content":" folder."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":4},"end":{"line":5}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":4},"end":{"line":5}}}],"type":"item","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":4},"end":{"line":5}}},{"$$mdtype":"Node","errors":[],"lines":[5,7],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":true,"attributes":{"content":"Open the "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":5},"end":{"line":6}}},{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":true,"attributes":{"content":"config.properties"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":5},"end":{"line":6}}},{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":true,"attributes":{"content":" "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":5},"end":{"line":6}}},{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":true,"attributes":{"href":"https://github.com/sinch/sinch-sdk-java-quickstart/blob/main/templates/client/src/main/resources/config.properties"},"children":[{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":true,"attributes":{"content":"file"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":5},"end":{"line":6}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":5},"end":{"line":6}},"redocly:::linkOriginal:href":"https://github.com/sinch/sinch-sdk-java-quickstart/blob/main/templates/client/src/main/resources/config.properties"},{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":true,"attributes":{"content":". Using the "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":5},"end":{"line":6}}},{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":true,"attributes":{"href":"https://dashboard.sinch.com/settings/access-keys"},"children":[{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":true,"attributes":{"content":"access key credentials"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":5},"end":{"line":6}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":5},"end":{"line":6}},"redocly:::linkOriginal:href":"https://dashboard.sinch.com/settings/access-keys"},{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":true,"attributes":{"content":" from your Sinch Customer Dashboard, populate the following fields with your values:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":5},"end":{"line":6}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":5},"end":{"line":6}}}],"type":"item","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":5},"end":{"line":7}}}],"type":"list","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":3},"end":{"line":7}}},{"$$mdtype":"Node","errors":[],"lines":[7,12],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[7,8],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[7,8],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[7,8],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[7,8],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[7,8],"inline":true,"attributes":{"content":"Field"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":7},"end":{"line":8}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":7},"end":{"line":8}}}],"type":"th","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":7},"end":{"line":8}}},{"$$mdtype":"Node","errors":[],"lines":[7,8],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[7,8],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[7,8],"inline":true,"attributes":{"content":"Description"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":7},"end":{"line":8}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":7},"end":{"line":8}}}],"type":"th","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":7},"end":{"line":8}}}],"type":"tr","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":7},"end":{"line":8}}}],"type":"thead","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":7},"end":{"line":8}}},{"$$mdtype":"Node","errors":[],"lines":[9,12],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[9,10],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[9,10],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[9,10],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[9,10],"inline":true,"attributes":{"content":"SINCH_PROJECT_ID"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":9},"end":{"line":10}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":9},"end":{"line":10}}}],"type":"td","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":9},"end":{"line":10}}},{"$$mdtype":"Node","errors":[],"lines":[9,10],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[9,10],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[9,10],"inline":true,"attributes":{"content":"The unique ID of your Project."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":9},"end":{"line":10}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":9},"end":{"line":10}}}],"type":"td","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":9},"end":{"line":10}}}],"type":"tr","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":9},"end":{"line":10}}},{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":true,"attributes":{"content":"SINCH_KEY_ID"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":10},"end":{"line":11}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":10},"end":{"line":11}}}],"type":"td","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":10},"end":{"line":11}}},{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":true,"attributes":{"content":"The unique ID of your access key."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":10},"end":{"line":11}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":10},"end":{"line":11}}}],"type":"td","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":10},"end":{"line":11}}}],"type":"tr","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":10},"end":{"line":11}}},{"$$mdtype":"Node","errors":[],"lines":[11,12],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[11,12],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[11,12],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[11,12],"inline":true,"attributes":{"content":"SINCH_KEY_SECRET"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":11},"end":{"line":12}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":11},"end":{"line":12}}}],"type":"td","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":11},"end":{"line":12}}},{"$$mdtype":"Node","errors":[],"lines":[11,12],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[11,12],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[11,12],"inline":true,"attributes":{"content":"The secret that goes with your access key. "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":11},"end":{"line":12}}},{"$$mdtype":"Node","errors":[],"lines":[11,12],"inline":true,"attributes":{"name":"br","attrs":{}},"children":[],"type":"tag","tag":"html","annotations":[{"type":"attribute","name":"name","value":"br"},{"type":"attribute","name":"attrs","value":{}}],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":11},"end":{"line":12}}},{"$$mdtype":"Node","errors":[],"lines":[11,12],"inline":true,"attributes":{"content":" "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":11},"end":{"line":12}}},{"$$mdtype":"Node","errors":[],"lines":[11,12],"inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","errors":[],"lines":[11,12],"inline":true,"attributes":{"content":"Note:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":11},"end":{"line":12}}}],"type":"strong","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":11},"end":{"line":12}}},{"$$mdtype":"Node","errors":[],"lines":[11,12],"inline":true,"attributes":{"content":" For security reasons, this secret is only visible right after access key creation."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":11},"end":{"line":12}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":11},"end":{"line":12}}}],"type":"td","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":11},"end":{"line":12}}}],"type":"tr","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":11},"end":{"line":12}}}],"type":"tbody","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":9},"end":{"line":12}}}],"type":"table","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":7},"end":{"line":12}}},{"$$mdtype":"Node","errors":[],"lines":[13,14],"inline":false,"attributes":{"ordered":true,"start":4,"marker":"."},"children":[{"$$mdtype":"Node","errors":[],"lines":[13,14],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[13,14],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[13,14],"inline":true,"attributes":{"content":"Save the file."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":13},"end":{"line":14}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":13},"end":{"line":14}}}],"type":"item","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":13},"end":{"line":14}}}],"type":"list","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_access_key_quickstart.md","start":{"line":13},"end":{"line":14}}}],"type":"document","annotations":[],"slots":{}},"partials/sdk/java/_application_key_voice_quickstart.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{"content":"markdownlint-disable"},"children":[],"type":"comment","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"To quickly get started setting up a simple client application using the Java SDK:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":1},"end":{"line":2}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":1},"end":{"line":2}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":1},"end":{"line":2}}},{"$$mdtype":"Node","errors":[],"lines":[3,7],"inline":false,"attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":true,"attributes":{"content":"If you haven't already, clone the "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":3},"end":{"line":4}}},{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":true,"attributes":{"href":"https://github.com/sinch/sinch-sdk-java-quickstart"},"children":[{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":true,"attributes":{"content":"sinch-sdk-java-quickstart"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":3},"end":{"line":4}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":3},"end":{"line":4}},"redocly:::linkOriginal:href":"https://github.com/sinch/sinch-sdk-java-quickstart"},{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":true,"attributes":{"content":" repository."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":3},"end":{"line":4}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":3},"end":{"line":4}}}],"type":"item","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":3},"end":{"line":4}}},{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":true,"attributes":{"content":"Navigate to the "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":4},"end":{"line":5}}},{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":true,"attributes":{"content":"templates/client/src/main/resources"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":4},"end":{"line":5}}},{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":true,"attributes":{"content":" folder."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":4},"end":{"line":5}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":4},"end":{"line":5}}}],"type":"item","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":4},"end":{"line":5}}},{"$$mdtype":"Node","errors":[],"lines":[5,7],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":true,"attributes":{"content":"Open the "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":5},"end":{"line":6}}},{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":true,"attributes":{"content":"config.properties"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":5},"end":{"line":6}}},{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":true,"attributes":{"content":" "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":5},"end":{"line":6}}},{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":true,"attributes":{"href":"https://github.com/sinch/sinch-sdk-java-quickstart/blob/main/templates/client/src/main/resources/config.properties"},"children":[{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":true,"attributes":{"content":"file"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":5},"end":{"line":6}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":5},"end":{"line":6}},"redocly:::linkOriginal:href":"https://github.com/sinch/sinch-sdk-java-quickstart/blob/main/templates/client/src/main/resources/config.properties"},{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":true,"attributes":{"content":". Using the "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":5},"end":{"line":6}}},{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":true,"attributes":{"href":"https://dashboard.sinch.com/voice/apps"},"children":[{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":true,"attributes":{"content":"Voice app credentials"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":5},"end":{"line":6}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":5},"end":{"line":6}},"redocly:::linkOriginal:href":"https://dashboard.sinch.com/voice/apps"},{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":true,"attributes":{"content":" from your Sinch Customer Dashboard, uncomment the following fields and populate them with your values:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":5},"end":{"line":6}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":5},"end":{"line":6}}}],"type":"item","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":5},"end":{"line":7}}}],"type":"list","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":3},"end":{"line":7}}},{"$$mdtype":"Node","errors":[],"lines":[7,11],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[7,8],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[7,8],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[7,8],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[7,8],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[7,8],"inline":true,"attributes":{"content":"Field"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":7},"end":{"line":8}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":7},"end":{"line":8}}}],"type":"th","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":7},"end":{"line":8}}},{"$$mdtype":"Node","errors":[],"lines":[7,8],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[7,8],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[7,8],"inline":true,"attributes":{"content":"Description"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":7},"end":{"line":8}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":7},"end":{"line":8}}}],"type":"th","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":7},"end":{"line":8}}}],"type":"tr","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":7},"end":{"line":8}}}],"type":"thead","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":7},"end":{"line":8}}},{"$$mdtype":"Node","errors":[],"lines":[9,11],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[9,10],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[9,10],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[9,10],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[9,10],"inline":true,"attributes":{"content":"APPLICATION_API_KEY"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":9},"end":{"line":10}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":9},"end":{"line":10}}}],"type":"td","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":9},"end":{"line":10}}},{"$$mdtype":"Node","errors":[],"lines":[9,10],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[9,10],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[9,10],"inline":true,"attributes":{"content":"The unique ID of your application."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":9},"end":{"line":10}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":9},"end":{"line":10}}}],"type":"td","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":9},"end":{"line":10}}}],"type":"tr","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":9},"end":{"line":10}}},{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":true,"attributes":{"content":"APPLICATION_API_SECRET"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":10},"end":{"line":11}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":10},"end":{"line":11}}}],"type":"td","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":10},"end":{"line":11}}},{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":true,"attributes":{"content":"The secret for your application."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":10},"end":{"line":11}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":10},"end":{"line":11}}}],"type":"td","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":10},"end":{"line":11}}}],"type":"tr","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":10},"end":{"line":11}}}],"type":"tbody","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":9},"end":{"line":11}}}],"type":"table","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":7},"end":{"line":11}}},{"$$mdtype":"Node","errors":[],"lines":[12,13],"inline":false,"attributes":{"ordered":true,"start":4,"marker":"."},"children":[{"$$mdtype":"Node","errors":[],"lines":[12,13],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[12,13],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[12,13],"inline":true,"attributes":{"content":"Save the file."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":12},"end":{"line":13}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":12},"end":{"line":13}}}],"type":"item","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":12},"end":{"line":13}}}],"type":"list","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_application_key_voice_quickstart.md","start":{"line":12},"end":{"line":13}}}],"type":"document","annotations":[],"slots":{}},"partials/sdk/java/_initialization.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{"content":"markdownlint-disable"},"children":[],"type":"comment","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_initialization.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":"To start using the SDK, you need to initialize the main client class and create a configuration object to connect to your Sinch account. You can find all of the credentials you need on your Sinch "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_initialization.md","start":{"line":2},"end":{"line":3}}},{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"href":"https://dashboard.sinch.com"},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":"dashboard"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_initialization.md","start":{"line":2},"end":{"line":3}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_initialization.md","start":{"line":2},"end":{"line":3}},"redocly:::linkOriginal:href":"https://dashboard.sinch.com"},{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":"."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_initialization.md","start":{"line":2},"end":{"line":3}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_initialization.md","start":{"line":2},"end":{"line":3}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_initialization.md","start":{"line":2},"end":{"line":3}}},{"$$mdtype":"Node","errors":[],"lines":[4,21],"inline":false,"attributes":{"content":"import com.sinch.sdk.SinchClient;\nimport com.sinch.sdk.models.Configuration;\nimport com.sinch.sdk.models.SMSRegion;\n\npublic class App {\n    \n    public static void main(String[] args) {\n        SinchClient client = new SinchClient(Configuration.builder()\n                                    .setKeyId(\"YOUR_access_key\")\n                                    .setKeySecret(\"YOUR_access_secret\")\n                                    .setProjectId(\"YOUR_project_id\")\n                                    .setSmsRegion(SMSRegion.US)\n                                    .build());\n    }\n}\n","language":"java"},"children":[{"$$mdtype":"Node","errors":[],"lines":[4,21],"inline":false,"attributes":{"content":"import com.sinch.sdk.SinchClient;\nimport com.sinch.sdk.models.Configuration;\nimport com.sinch.sdk.models.SMSRegion;\n\npublic class App {\n    \n    public static void main(String[] args) {\n        SinchClient client = new SinchClient(Configuration.builder()\n                                    .setKeyId(\"YOUR_access_key\")\n                                    .setKeySecret(\"YOUR_access_secret\")\n                                    .setProjectId(\"YOUR_project_id\")\n                                    .setSmsRegion(SMSRegion.US)\n                                    .build());\n    }\n}\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_initialization.md","start":{"line":4},"end":{"line":21}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_initialization.md","start":{"line":4},"end":{"line":21}}},{"$$mdtype":"Node","errors":[],"lines":[21,38],"inline":false,"attributes":{"content":"import com.sinch.sdk.SinchClient;\nimport com.sinch.sdk.models.Configuration;\nimport com.sinch.sdk.models.SMSRegion;\n\npublic class App {\n    \n    public static void main(String[] args) {\n        SinchClient client = new SinchClient(Configuration.builder()\n                                    .setKeyId(\"YOUR_access_key\")\n                                    .setKeySecret(\"YOUR_access_secret\")\n                                    .setProjectId(\"YOUR_project_id\")\n                                    .setSmsRegion(SMSRegion.EU)\n                                    .build());\n    }\n}\n","language":"java"},"children":[{"$$mdtype":"Node","errors":[],"lines":[21,38],"inline":false,"attributes":{"content":"import com.sinch.sdk.SinchClient;\nimport com.sinch.sdk.models.Configuration;\nimport com.sinch.sdk.models.SMSRegion;\n\npublic class App {\n    \n    public static void main(String[] args) {\n        SinchClient client = new SinchClient(Configuration.builder()\n                                    .setKeyId(\"YOUR_access_key\")\n                                    .setKeySecret(\"YOUR_access_secret\")\n                                    .setProjectId(\"YOUR_project_id\")\n                                    .setSmsRegion(SMSRegion.EU)\n                                    .build());\n    }\n}\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_initialization.md","start":{"line":21},"end":{"line":38}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_initialization.md","start":{"line":21},"end":{"line":38}}},{"$$mdtype":"Node","errors":[],"lines":[39,40,41,42],"inline":false,"attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Node","errors":[],"lines":[40,41],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[40,41],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[40,41],"inline":true,"attributes":{"content":"For testing purposes on your local environment it's fine to use hardcoded values, but before deploying to production we strongly recommend using environment variables to store the credentials."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_initialization.md","start":{"line":40},"end":{"line":41}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_initialization.md","start":{"line":40},"end":{"line":41}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_initialization.md","start":{"line":40},"end":{"line":41}}}],"type":"tag","tag":"admonition","annotations":[{"type":"attribute","name":"type","value":"info"},{"type":"attribute","name":"name","value":"Note"}],"slots":{},"location":{"file":"partials/sdk/java/_initialization.md","start":{"line":39},"end":{"line":40}}}],"type":"document","annotations":[],"slots":{}},"partials/sdk/java/_installation.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":true,"attributes":{"content":"The easiest way to install the SDK is using the Maven central repository."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_installation.md","start":{"line":0},"end":{"line":1}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_installation.md","start":{"line":0},"end":{"line":1}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_installation.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":false,"attributes":{"level":3,"__idx":0},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":"Installing the SDK"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_installation.md","start":{"line":2},"end":{"line":3}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_installation.md","start":{"line":2},"end":{"line":3}}}],"type":"heading","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_installation.md","start":{"line":2},"end":{"line":3}}},{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":true,"attributes":{"content":"You can create your Java project using your favorite method. Once your project is created, you need to add the SDK as a dependency. Depending on if you are using Gradle or Maven, you can add the necessary dependencies in the following ways:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_installation.md","start":{"line":4},"end":{"line":5}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_installation.md","start":{"line":4},"end":{"line":5}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_installation.md","start":{"line":4},"end":{"line":5}}},{"$$mdtype":"Node","errors":[],"lines":[6,7],"inline":false,"attributes":{"level":4,"__idx":1},"children":[{"$$mdtype":"Node","errors":[],"lines":[6,7],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[6,7],"inline":true,"attributes":{"content":"Gradle"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_installation.md","start":{"line":6},"end":{"line":7}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_installation.md","start":{"line":6},"end":{"line":7}}}],"type":"heading","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_installation.md","start":{"line":6},"end":{"line":7}}},{"$$mdtype":"Node","errors":[],"lines":[8,9],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[8,9],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[8,9],"inline":true,"attributes":{"content":"Add or ensure the following is in the application's "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_installation.md","start":{"line":8},"end":{"line":9}}},{"$$mdtype":"Node","errors":[],"lines":[8,9],"inline":true,"attributes":{"content":"build.gradle"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_installation.md","start":{"line":8},"end":{"line":9}}},{"$$mdtype":"Node","errors":[],"lines":[8,9],"inline":true,"attributes":{"content":" file:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_installation.md","start":{"line":8},"end":{"line":9}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_installation.md","start":{"line":8},"end":{"line":9}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_installation.md","start":{"line":8},"end":{"line":9}}},{"$$mdtype":"Node","errors":[],"lines":[10,26],"inline":false,"attributes":{"content":"...\nrepositories {\n    ...\n    mavenCentral()\n    ...\n}\n...\n\ndependencies {\n    ...\n    implementation 'com.sinch.sdk:sinch-sdk-java:+'\n    ...\n}\n...\n","language":"groovy"},"children":[{"$$mdtype":"Node","errors":[],"lines":[10,26],"inline":false,"attributes":{"content":"...\nrepositories {\n    ...\n    mavenCentral()\n    ...\n}\n...\n\ndependencies {\n    ...\n    implementation 'com.sinch.sdk:sinch-sdk-java:+'\n    ...\n}\n...\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_installation.md","start":{"line":10},"end":{"line":26}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_installation.md","start":{"line":10},"end":{"line":26}}},{"$$mdtype":"Node","errors":[],"lines":[26,42],"inline":false,"attributes":{"content":"...\nrepositories {\n    ...\n    mavenLocal()\n    ...\n}\n...\n\ndependencies {\n    ...\n    implementation(\"com.sinch.sdk:sinch-sdk-java:+\")\n    ...\n}\n...\n","language":"kotlin"},"children":[{"$$mdtype":"Node","errors":[],"lines":[26,42],"inline":false,"attributes":{"content":"...\nrepositories {\n    ...\n    mavenLocal()\n    ...\n}\n...\n\ndependencies {\n    ...\n    implementation(\"com.sinch.sdk:sinch-sdk-java:+\")\n    ...\n}\n...\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_installation.md","start":{"line":26},"end":{"line":42}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_installation.md","start":{"line":26},"end":{"line":42}}},{"$$mdtype":"Node","errors":[],"lines":[43,44],"inline":false,"attributes":{"level":4,"__idx":2},"children":[{"$$mdtype":"Node","errors":[],"lines":[43,44],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[43,44],"inline":true,"attributes":{"content":"Maven"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_installation.md","start":{"line":43},"end":{"line":44}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_installation.md","start":{"line":43},"end":{"line":44}}}],"type":"heading","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_installation.md","start":{"line":43},"end":{"line":44}}},{"$$mdtype":"Node","errors":[],"lines":[45,46],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[45,46],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[45,46],"inline":true,"attributes":{"content":"Add the following to the "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_installation.md","start":{"line":45},"end":{"line":46}}},{"$$mdtype":"Node","errors":[],"lines":[45,46],"inline":true,"attributes":{"content":"pom.xml"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_installation.md","start":{"line":45},"end":{"line":46}}},{"$$mdtype":"Node","errors":[],"lines":[45,46],"inline":true,"attributes":{"content":" file:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_installation.md","start":{"line":45},"end":{"line":46}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_installation.md","start":{"line":45},"end":{"line":46}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_installation.md","start":{"line":45},"end":{"line":46}}},{"$$mdtype":"Node","errors":[],"lines":[47,54],"inline":false,"attributes":{"content":"<dependency>\n    <groupId>com.sinch.sdk</groupId>\n    <artifactId>sinch-sdk-java</artifactId>\n    <version>LATEST</version>\n</dependency>\n","language":"xml"},"children":[{"$$mdtype":"Node","errors":[],"lines":[47,54],"inline":false,"attributes":{"content":"<dependency>\n    <groupId>com.sinch.sdk</groupId>\n    <artifactId>sinch-sdk-java</artifactId>\n    <version>LATEST</version>\n</dependency>\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_installation.md","start":{"line":47},"end":{"line":54}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/_installation.md","start":{"line":47},"end":{"line":54}}}],"type":"document","annotations":[],"slots":{}},"partials/sdk/node/_access_key_quickstart.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":true,"attributes":{"content":"To quickly get started setting up a simple client application using the Node SDK:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":0},"end":{"line":1}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":0},"end":{"line":1}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[2,12],"inline":false,"attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":"If you haven't already, clone the "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":2},"end":{"line":3}}},{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"href":"https://github.com/sinch/sinch-sdk-node-quickstart"},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":"sinch-sdk-node-quickstart"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":2},"end":{"line":3}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":2},"end":{"line":3}},"redocly:::linkOriginal:href":"https://github.com/sinch/sinch-sdk-node-quickstart"},{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":" repository."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":2},"end":{"line":3}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":2},"end":{"line":3}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":2},"end":{"line":3}}}],"type":"item","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":2},"end":{"line":3}}},{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":true,"attributes":{"content":"Navigate to the "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":3},"end":{"line":4}}},{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":true,"attributes":{"content":"templates/client"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":3},"end":{"line":4}}},{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":true,"attributes":{"content":" folder."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":3},"end":{"line":4}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":3},"end":{"line":4}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":3},"end":{"line":4}}}],"type":"item","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":3},"end":{"line":4}}},{"$$mdtype":"Node","errors":[],"lines":[4,10],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":true,"attributes":{"content":"Open a command prompt or terminal and run the following command to install the necessary dependencies:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":4},"end":{"line":5}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":4},"end":{"line":5}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":4},"end":{"line":5}}},{"$$mdtype":"Node","errors":[],"lines":[6,9],"inline":false,"attributes":{"content":"npm install\n","language":"shell"},"children":[{"$$mdtype":"Node","errors":[],"lines":[6,9],"inline":false,"attributes":{"content":"npm install\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":6},"end":{"line":9}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":6},"end":{"line":9}}}],"type":"item","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":4},"end":{"line":10}}},{"$$mdtype":"Node","errors":[],"lines":[10,12],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":true,"attributes":{"content":"Open the "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":10},"end":{"line":11}}},{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":true,"attributes":{"content":".env"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":10},"end":{"line":11}}},{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":true,"attributes":{"content":" "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":10},"end":{"line":11}}},{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":true,"attributes":{"href":"https://github.com/sinch/sinch-sdk-node-quickstart/blob/main/templates/client/.env"},"children":[{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":true,"attributes":{"content":"file"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":10},"end":{"line":11}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":10},"end":{"line":11}},"redocly:::linkOriginal:href":"https://github.com/sinch/sinch-sdk-node-quickstart/blob/main/templates/client/.env"},{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":true,"attributes":{"content":". Using the "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":10},"end":{"line":11}}},{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":true,"attributes":{"href":"https://dashboard.sinch.com/settings/access-keys"},"children":[{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":true,"attributes":{"content":"access key credentials"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":10},"end":{"line":11}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":10},"end":{"line":11}},"redocly:::linkOriginal:href":"https://dashboard.sinch.com/settings/access-keys"},{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":true,"attributes":{"content":" from your Sinch Customer Dashboard, populate the following fields with your values:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":10},"end":{"line":11}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":10},"end":{"line":11}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":10},"end":{"line":11}}}],"type":"item","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":10},"end":{"line":12}}}],"type":"list","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":2},"end":{"line":12}}},{"$$mdtype":"Node","errors":[],"lines":[12,17],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[12,13],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[12,13],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[12,13],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[12,13],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[12,13],"inline":true,"attributes":{"content":"Field"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":12},"end":{"line":13}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":12},"end":{"line":13}}}],"type":"th","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":12},"end":{"line":13}}},{"$$mdtype":"Node","errors":[],"lines":[12,13],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[12,13],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[12,13],"inline":true,"attributes":{"content":"Description"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":12},"end":{"line":13}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":12},"end":{"line":13}}}],"type":"th","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":12},"end":{"line":13}}}],"type":"tr","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":12},"end":{"line":13}}}],"type":"thead","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":12},"end":{"line":13}}},{"$$mdtype":"Node","errors":[],"lines":[14,17],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[14,15],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[14,15],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[14,15],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[14,15],"inline":true,"attributes":{"content":"SINCH_PROJECT_ID"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":14},"end":{"line":15}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":14},"end":{"line":15}}}],"type":"td","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":14},"end":{"line":15}}},{"$$mdtype":"Node","errors":[],"lines":[14,15],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[14,15],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[14,15],"inline":true,"attributes":{"content":"The unique ID of your Project."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":14},"end":{"line":15}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":14},"end":{"line":15}}}],"type":"td","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":14},"end":{"line":15}}}],"type":"tr","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":14},"end":{"line":15}}},{"$$mdtype":"Node","errors":[],"lines":[15,16],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[15,16],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[15,16],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[15,16],"inline":true,"attributes":{"content":"SINCH_KEY_ID"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":15},"end":{"line":16}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":15},"end":{"line":16}}}],"type":"td","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":15},"end":{"line":16}}},{"$$mdtype":"Node","errors":[],"lines":[15,16],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[15,16],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[15,16],"inline":true,"attributes":{"content":"The unique ID of your access key."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":15},"end":{"line":16}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":15},"end":{"line":16}}}],"type":"td","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":15},"end":{"line":16}}}],"type":"tr","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":15},"end":{"line":16}}},{"$$mdtype":"Node","errors":[],"lines":[16,17],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[16,17],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[16,17],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[16,17],"inline":true,"attributes":{"content":"SINCH_KEY_SECRET"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":16},"end":{"line":17}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":16},"end":{"line":17}}}],"type":"td","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":16},"end":{"line":17}}},{"$$mdtype":"Node","errors":[],"lines":[16,17],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[16,17],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[16,17],"inline":true,"attributes":{"content":"The secret that goes with your access key. "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":16},"end":{"line":17}}},{"$$mdtype":"Node","errors":[],"lines":[16,17],"inline":true,"attributes":{"name":"br","attrs":{}},"children":[],"type":"tag","tag":"html","annotations":[{"type":"attribute","name":"name","value":"br"},{"type":"attribute","name":"attrs","value":{}}],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":16},"end":{"line":17}}},{"$$mdtype":"Node","errors":[],"lines":[16,17],"inline":true,"attributes":{"content":" "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":16},"end":{"line":17}}},{"$$mdtype":"Node","errors":[],"lines":[16,17],"inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","errors":[],"lines":[16,17],"inline":true,"attributes":{"content":"Note:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":16},"end":{"line":17}}}],"type":"strong","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":16},"end":{"line":17}}},{"$$mdtype":"Node","errors":[],"lines":[16,17],"inline":true,"attributes":{"content":" For security reasons, this secret is only visible right after access key creation."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":16},"end":{"line":17}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":16},"end":{"line":17}}}],"type":"td","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":16},"end":{"line":17}}}],"type":"tr","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":16},"end":{"line":17}}}],"type":"tbody","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":14},"end":{"line":17}}}],"type":"table","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":12},"end":{"line":17}}},{"$$mdtype":"Node","errors":[],"lines":[18,19,20,21],"inline":false,"attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Node","errors":[],"lines":[19,20],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[19,20],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[19,20],"inline":true,"attributes":{"content":"If you're sending SMS messages, ensure you set your region in the "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":19},"end":{"line":20}}},{"$$mdtype":"Node","errors":[],"lines":[19,20],"inline":true,"attributes":{"content":"SMS_REGION"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":19},"end":{"line":20}}},{"$$mdtype":"Node","errors":[],"lines":[19,20],"inline":true,"attributes":{"content":" field."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":19},"end":{"line":20}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":19},"end":{"line":20}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":19},"end":{"line":20}}}],"type":"tag","tag":"admonition","annotations":[{"type":"attribute","name":"type","value":"info"},{"type":"attribute","name":"name","value":"Note"}],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":18},"end":{"line":19}}},{"$$mdtype":"Node","errors":[],"lines":[22,23],"inline":false,"attributes":{"ordered":true,"start":5,"marker":"."},"children":[{"$$mdtype":"Node","errors":[],"lines":[22,23],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[22,23],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[22,23],"inline":true,"attributes":{"content":"Save the file."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":22},"end":{"line":23}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":22},"end":{"line":23}}}],"type":"item","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":22},"end":{"line":23}}}],"type":"list","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_access_key_quickstart.md","start":{"line":22},"end":{"line":23}}}],"type":"document","annotations":[],"slots":{}},"partials/sdk/node/_application_key_voice_quickstart.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":true,"attributes":{"content":"To quickly get started setting up a simple client application using the Node SDK:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":0},"end":{"line":1}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":0},"end":{"line":1}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[2,12],"inline":false,"attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":"If you haven't already, clone the "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":2},"end":{"line":3}}},{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"href":"https://github.com/sinch/sinch-sdk-node-quickstart"},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":"sinch-sdk-node-quickstart"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":2},"end":{"line":3}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":2},"end":{"line":3}},"redocly:::linkOriginal:href":"https://github.com/sinch/sinch-sdk-node-quickstart"},{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":" repository."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":2},"end":{"line":3}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":2},"end":{"line":3}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":2},"end":{"line":3}}}],"type":"item","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":2},"end":{"line":3}}},{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":true,"attributes":{"content":"Navigate to the "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":3},"end":{"line":4}}},{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":true,"attributes":{"content":"templates/client"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":3},"end":{"line":4}}},{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":true,"attributes":{"content":" folder."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":3},"end":{"line":4}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":3},"end":{"line":4}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":3},"end":{"line":4}}}],"type":"item","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":3},"end":{"line":4}}},{"$$mdtype":"Node","errors":[],"lines":[4,10],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":true,"attributes":{"content":"Open a command prompt or terminal and run the following command to install the necessary dependencies:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":4},"end":{"line":5}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":4},"end":{"line":5}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":4},"end":{"line":5}}},{"$$mdtype":"Node","errors":[],"lines":[6,9],"inline":false,"attributes":{"content":"npm install\n","language":"shell"},"children":[{"$$mdtype":"Node","errors":[],"lines":[6,9],"inline":false,"attributes":{"content":"npm install\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":6},"end":{"line":9}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":6},"end":{"line":9}}}],"type":"item","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":4},"end":{"line":10}}},{"$$mdtype":"Node","errors":[],"lines":[10,12],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":true,"attributes":{"content":"Open the "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":10},"end":{"line":11}}},{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":true,"attributes":{"content":".env"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":10},"end":{"line":11}}},{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":true,"attributes":{"content":" "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":10},"end":{"line":11}}},{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":true,"attributes":{"href":"https://github.com/sinch/sinch-sdk-node-quickstart/blob/main/templates/client/.env"},"children":[{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":true,"attributes":{"content":"file"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":10},"end":{"line":11}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":10},"end":{"line":11}},"redocly:::linkOriginal:href":"https://github.com/sinch/sinch-sdk-node-quickstart/blob/main/templates/client/.env"},{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":true,"attributes":{"content":". Using the "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":10},"end":{"line":11}}},{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":true,"attributes":{"href":"https://dashboard.sinch.com/voice/apps"},"children":[{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":true,"attributes":{"content":"Voice app credentials"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":10},"end":{"line":11}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":10},"end":{"line":11}},"redocly:::linkOriginal:href":"https://dashboard.sinch.com/voice/apps"},{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":true,"attributes":{"content":" from your Sinch Customer Dashboard, populate the following fields with your values:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":10},"end":{"line":11}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":10},"end":{"line":11}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":10},"end":{"line":11}}}],"type":"item","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":10},"end":{"line":12}}}],"type":"list","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":2},"end":{"line":12}}},{"$$mdtype":"Node","errors":[],"lines":[12,16],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[12,13],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[12,13],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[12,13],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[12,13],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[12,13],"inline":true,"attributes":{"content":"Field"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":12},"end":{"line":13}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":12},"end":{"line":13}}}],"type":"th","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":12},"end":{"line":13}}},{"$$mdtype":"Node","errors":[],"lines":[12,13],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[12,13],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[12,13],"inline":true,"attributes":{"content":"Description"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":12},"end":{"line":13}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":12},"end":{"line":13}}}],"type":"th","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":12},"end":{"line":13}}}],"type":"tr","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":12},"end":{"line":13}}}],"type":"thead","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":12},"end":{"line":13}}},{"$$mdtype":"Node","errors":[],"lines":[14,16],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[14,15],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[14,15],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[14,15],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[14,15],"inline":true,"attributes":{"content":"SINCH_APPLICATION_KEY"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":14},"end":{"line":15}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":14},"end":{"line":15}}}],"type":"td","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":14},"end":{"line":15}}},{"$$mdtype":"Node","errors":[],"lines":[14,15],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[14,15],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[14,15],"inline":true,"attributes":{"content":"The unique ID of your application."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":14},"end":{"line":15}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":14},"end":{"line":15}}}],"type":"td","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":14},"end":{"line":15}}}],"type":"tr","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":14},"end":{"line":15}}},{"$$mdtype":"Node","errors":[],"lines":[15,16],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[15,16],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[15,16],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[15,16],"inline":true,"attributes":{"content":"SINCH_APPLICATION_SECRET"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":15},"end":{"line":16}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":15},"end":{"line":16}}}],"type":"td","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":15},"end":{"line":16}}},{"$$mdtype":"Node","errors":[],"lines":[15,16],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[15,16],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[15,16],"inline":true,"attributes":{"content":"The secret for your application."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":15},"end":{"line":16}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":15},"end":{"line":16}}}],"type":"td","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":15},"end":{"line":16}}}],"type":"tr","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":15},"end":{"line":16}}}],"type":"tbody","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":14},"end":{"line":16}}}],"type":"table","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":12},"end":{"line":16}}},{"$$mdtype":"Node","errors":[],"lines":[17,18],"inline":false,"attributes":{"ordered":true,"start":5,"marker":"."},"children":[{"$$mdtype":"Node","errors":[],"lines":[17,18],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[17,18],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[17,18],"inline":true,"attributes":{"content":"Save the file."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":17},"end":{"line":18}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":17},"end":{"line":18}}}],"type":"item","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":17},"end":{"line":18}}}],"type":"list","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_application_key_voice_quickstart.md","start":{"line":17},"end":{"line":18}}}],"type":"document","annotations":[],"slots":{}},"partials/sdk/node/_initAppKey.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{"content":"markdownlint-disable"},"children":[],"type":"comment","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initAppKey.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"To start using the SDK, you need to initialize the main client class with your credentials from your Sinch "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initAppKey.md","start":{"line":1},"end":{"line":2}}},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"href":"https://dashboard.sinch.com/dashboard"},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"dashboard"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initAppKey.md","start":{"line":1},"end":{"line":2}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initAppKey.md","start":{"line":1},"end":{"line":2}},"redocly:::linkOriginal:href":"https://dashboard.sinch.com/dashboard"},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initAppKey.md","start":{"line":1},"end":{"line":2}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initAppKey.md","start":{"line":1},"end":{"line":2}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initAppKey.md","start":{"line":1},"end":{"line":2}}},{"$$mdtype":"Node","errors":[],"lines":[3,11],"inline":false,"attributes":{"content":"const {SinchClient} = require('@sinch/sdk-core');\n\nconst sinchClient = new SinchClient({\n    applicationKey: \"YOUR_application_key\",\n    applicationSecret: \"YOUR_application_secret\"\n});\n","language":"javascript"},"children":[{"$$mdtype":"Node","errors":[],"lines":[3,11],"inline":false,"attributes":{"content":"const {SinchClient} = require('@sinch/sdk-core');\n\nconst sinchClient = new SinchClient({\n    applicationKey: \"YOUR_application_key\",\n    applicationSecret: \"YOUR_application_secret\"\n});\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initAppKey.md","start":{"line":3},"end":{"line":11}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initAppKey.md","start":{"line":3},"end":{"line":11}}},{"$$mdtype":"Node","errors":[],"lines":[11,12,32,33],"inline":false,"attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Node","errors":[],"lines":[12,13],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[12,13],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[12,13],"inline":true,"attributes":{"content":"For testing purposes on your local environment it's fine to use hardcoded values, but before deploying to production we strongly recommend using environment variables to store the credentials, as in the following example:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initAppKey.md","start":{"line":12},"end":{"line":13}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initAppKey.md","start":{"line":12},"end":{"line":13}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initAppKey.md","start":{"line":12},"end":{"line":13}}},{"$$mdtype":"Node","errors":[],"lines":[14,15],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[14,15],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[14,15],"inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","errors":[],"lines":[14,15],"inline":true,"attributes":{"content":".env"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initAppKey.md","start":{"line":14},"end":{"line":15}}},{"$$mdtype":"Node","errors":[],"lines":[14,15],"inline":true,"attributes":{"content":" File"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initAppKey.md","start":{"line":14},"end":{"line":15}}}],"type":"strong","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initAppKey.md","start":{"line":14},"end":{"line":15}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initAppKey.md","start":{"line":14},"end":{"line":15}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initAppKey.md","start":{"line":14},"end":{"line":15}}},{"$$mdtype":"Node","errors":[],"lines":[16,20],"inline":false,"attributes":{"content":"APPKEY=\"YOUR_application_key\"\nAPPSECRET=\"YOUR_application_secret\" \n","language":"shell"},"children":[{"$$mdtype":"Node","errors":[],"lines":[16,20],"inline":false,"attributes":{"content":"APPKEY=\"YOUR_application_key\"\nAPPSECRET=\"YOUR_application_secret\" \n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initAppKey.md","start":{"line":16},"end":{"line":20}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initAppKey.md","start":{"line":16},"end":{"line":20}}},{"$$mdtype":"Node","errors":[],"lines":[21,22],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[21,22],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[21,22],"inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","errors":[],"lines":[21,22],"inline":true,"attributes":{"content":"app.js"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initAppKey.md","start":{"line":21},"end":{"line":22}}},{"$$mdtype":"Node","errors":[],"lines":[21,22],"inline":true,"attributes":{"content":" File"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initAppKey.md","start":{"line":21},"end":{"line":22}}}],"type":"strong","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initAppKey.md","start":{"line":21},"end":{"line":22}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initAppKey.md","start":{"line":21},"end":{"line":22}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initAppKey.md","start":{"line":21},"end":{"line":22}}},{"$$mdtype":"Node","errors":[],"lines":[23,31],"inline":false,"attributes":{"content":"const {SinchClient} = require('@sinch/sdk-core');\n\nconst sinchClient = new SinchClient({\n    applicationKey: process.env.APPKEY,\n    applicationSecret: process.env.APPSECRET\n});\n","language":"javascript"},"children":[{"$$mdtype":"Node","errors":[],"lines":[23,31],"inline":false,"attributes":{"content":"const {SinchClient} = require('@sinch/sdk-core');\n\nconst sinchClient = new SinchClient({\n    applicationKey: process.env.APPKEY,\n    applicationSecret: process.env.APPSECRET\n});\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initAppKey.md","start":{"line":23},"end":{"line":31}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initAppKey.md","start":{"line":23},"end":{"line":31}}}],"type":"tag","tag":"admonition","annotations":[{"type":"attribute","name":"type","value":"info"},{"type":"attribute","name":"name","value":"Note"}],"slots":{},"location":{"file":"partials/sdk/node/_initAppKey.md","start":{"line":11},"end":{"line":12}}}],"type":"document","annotations":[],"slots":{}},"partials/sdk/node/_initServicePlan.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{"content":"markdownlint-disable"},"children":[],"type":"comment","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initServicePlan.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"To start using the SDK, you need to initialize the main client class with your credentials from your Sinch "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initServicePlan.md","start":{"line":1},"end":{"line":2}}},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"href":"https://dashboard.sinch.com/dashboard"},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"dashboard"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initServicePlan.md","start":{"line":1},"end":{"line":2}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initServicePlan.md","start":{"line":1},"end":{"line":2}},"redocly:::linkOriginal:href":"https://dashboard.sinch.com/dashboard"},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initServicePlan.md","start":{"line":1},"end":{"line":2}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initServicePlan.md","start":{"line":1},"end":{"line":2}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initServicePlan.md","start":{"line":1},"end":{"line":2}}},{"$$mdtype":"Node","errors":[],"lines":[3,11],"inline":false,"attributes":{"content":"const {SinchClient} = require('@sinch/sdk-core');\n\nconst sinchClient = new SinchClient({\n    servicePlanId: \"YOUR_service_plan_id\",\n    apiToken: \"YOUR_api_token\"\n});\n","language":"javascript"},"children":[{"$$mdtype":"Node","errors":[],"lines":[3,11],"inline":false,"attributes":{"content":"const {SinchClient} = require('@sinch/sdk-core');\n\nconst sinchClient = new SinchClient({\n    servicePlanId: \"YOUR_service_plan_id\",\n    apiToken: \"YOUR_api_token\"\n});\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initServicePlan.md","start":{"line":3},"end":{"line":11}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initServicePlan.md","start":{"line":3},"end":{"line":11}}},{"$$mdtype":"Node","errors":[],"lines":[12,13,33,34],"inline":false,"attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Node","errors":[],"lines":[13,14],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[13,14],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[13,14],"inline":true,"attributes":{"content":"For testing purposes on your local environment it's fine to use hardcoded values, but before deploying to production we strongly recommend using environment variables to store the credentials, as in the following example:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initServicePlan.md","start":{"line":13},"end":{"line":14}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initServicePlan.md","start":{"line":13},"end":{"line":14}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initServicePlan.md","start":{"line":13},"end":{"line":14}}},{"$$mdtype":"Node","errors":[],"lines":[15,16],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[15,16],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[15,16],"inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","errors":[],"lines":[15,16],"inline":true,"attributes":{"content":".env"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initServicePlan.md","start":{"line":15},"end":{"line":16}}},{"$$mdtype":"Node","errors":[],"lines":[15,16],"inline":true,"attributes":{"content":" File"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initServicePlan.md","start":{"line":15},"end":{"line":16}}}],"type":"strong","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initServicePlan.md","start":{"line":15},"end":{"line":16}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initServicePlan.md","start":{"line":15},"end":{"line":16}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initServicePlan.md","start":{"line":15},"end":{"line":16}}},{"$$mdtype":"Node","errors":[],"lines":[17,21],"inline":false,"attributes":{"content":"SERVICEPLANID=\"YOUR_service_plan_id\"\nAPITOKEN=\"YOUR_api_token\" \n","language":"shell"},"children":[{"$$mdtype":"Node","errors":[],"lines":[17,21],"inline":false,"attributes":{"content":"SERVICEPLANID=\"YOUR_service_plan_id\"\nAPITOKEN=\"YOUR_api_token\" \n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initServicePlan.md","start":{"line":17},"end":{"line":21}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initServicePlan.md","start":{"line":17},"end":{"line":21}}},{"$$mdtype":"Node","errors":[],"lines":[22,23],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[22,23],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[22,23],"inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","errors":[],"lines":[22,23],"inline":true,"attributes":{"content":"app.js"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initServicePlan.md","start":{"line":22},"end":{"line":23}}},{"$$mdtype":"Node","errors":[],"lines":[22,23],"inline":true,"attributes":{"content":" File"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initServicePlan.md","start":{"line":22},"end":{"line":23}}}],"type":"strong","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initServicePlan.md","start":{"line":22},"end":{"line":23}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initServicePlan.md","start":{"line":22},"end":{"line":23}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initServicePlan.md","start":{"line":22},"end":{"line":23}}},{"$$mdtype":"Node","errors":[],"lines":[24,32],"inline":false,"attributes":{"content":"const {SinchClient} = require('@sinch/sdk-core');\n\nconst sinchClient = new SinchClient({\n    servicePlanId: process.env.SERVICEPLANID,\n    apiToken: process.env.APITOKEN\n});\n","language":"javascript"},"children":[{"$$mdtype":"Node","errors":[],"lines":[24,32],"inline":false,"attributes":{"content":"const {SinchClient} = require('@sinch/sdk-core');\n\nconst sinchClient = new SinchClient({\n    servicePlanId: process.env.SERVICEPLANID,\n    apiToken: process.env.APITOKEN\n});\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initServicePlan.md","start":{"line":24},"end":{"line":32}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initServicePlan.md","start":{"line":24},"end":{"line":32}}}],"type":"tag","tag":"admonition","annotations":[{"type":"attribute","name":"type","value":"info"},{"type":"attribute","name":"name","value":"Note"}],"slots":{},"location":{"file":"partials/sdk/node/_initServicePlan.md","start":{"line":12},"end":{"line":13}}}],"type":"document","annotations":[],"slots":{}},"partials/sdk/node/_initialization.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{"content":"markdownlint-disable"},"children":[],"type":"comment","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initialization.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"To start using the SDK, you need to initialize the main client class with your credentials from your Sinch "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initialization.md","start":{"line":1},"end":{"line":2}}},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"href":"https://dashboard.sinch.com/dashboard"},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"dashboard"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initialization.md","start":{"line":1},"end":{"line":2}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initialization.md","start":{"line":1},"end":{"line":2}},"redocly:::linkOriginal:href":"https://dashboard.sinch.com/dashboard"},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initialization.md","start":{"line":1},"end":{"line":2}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initialization.md","start":{"line":1},"end":{"line":2}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initialization.md","start":{"line":1},"end":{"line":2}}},{"$$mdtype":"Node","errors":[],"lines":[3,12],"inline":false,"attributes":{"content":"const {SinchClient} = require('@sinch/sdk-core');\n\nconst sinchClient = new SinchClient({\n    projectId: \"YOUR_project_id\",\n    keyId: \"YOUR_access_key\",\n    keySecret: \"YOUR_access_secret\"\n});\n","language":"javascript"},"children":[{"$$mdtype":"Node","errors":[],"lines":[3,12],"inline":false,"attributes":{"content":"const {SinchClient} = require('@sinch/sdk-core');\n\nconst sinchClient = new SinchClient({\n    projectId: \"YOUR_project_id\",\n    keyId: \"YOUR_access_key\",\n    keySecret: \"YOUR_access_secret\"\n});\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initialization.md","start":{"line":3},"end":{"line":12}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initialization.md","start":{"line":3},"end":{"line":12}}},{"$$mdtype":"Node","errors":[],"lines":[12,13,35,36],"inline":false,"attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Node","errors":[],"lines":[13,14],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[13,14],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[13,14],"inline":true,"attributes":{"content":"For testing purposes on your local environment it's fine to use hardcoded values, but before deploying to production we strongly recommend using environment variables to store the credentials, as in the following example:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initialization.md","start":{"line":13},"end":{"line":14}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initialization.md","start":{"line":13},"end":{"line":14}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initialization.md","start":{"line":13},"end":{"line":14}}},{"$$mdtype":"Node","errors":[],"lines":[15,16],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[15,16],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[15,16],"inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","errors":[],"lines":[15,16],"inline":true,"attributes":{"content":".env"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initialization.md","start":{"line":15},"end":{"line":16}}},{"$$mdtype":"Node","errors":[],"lines":[15,16],"inline":true,"attributes":{"content":" File"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initialization.md","start":{"line":15},"end":{"line":16}}}],"type":"strong","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initialization.md","start":{"line":15},"end":{"line":16}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initialization.md","start":{"line":15},"end":{"line":16}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initialization.md","start":{"line":15},"end":{"line":16}}},{"$$mdtype":"Node","errors":[],"lines":[17,22],"inline":false,"attributes":{"content":"PROJECTID=\"YOUR_project_id\"\nACCESSKEY=\"YOUR_access_key\"\nACCESSSECRET=\"YOUR_access_secret\" \n","language":"shell"},"children":[{"$$mdtype":"Node","errors":[],"lines":[17,22],"inline":false,"attributes":{"content":"PROJECTID=\"YOUR_project_id\"\nACCESSKEY=\"YOUR_access_key\"\nACCESSSECRET=\"YOUR_access_secret\" \n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initialization.md","start":{"line":17},"end":{"line":22}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initialization.md","start":{"line":17},"end":{"line":22}}},{"$$mdtype":"Node","errors":[],"lines":[23,24],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[23,24],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[23,24],"inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","errors":[],"lines":[23,24],"inline":true,"attributes":{"content":"app.js"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initialization.md","start":{"line":23},"end":{"line":24}}},{"$$mdtype":"Node","errors":[],"lines":[23,24],"inline":true,"attributes":{"content":" File"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initialization.md","start":{"line":23},"end":{"line":24}}}],"type":"strong","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initialization.md","start":{"line":23},"end":{"line":24}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initialization.md","start":{"line":23},"end":{"line":24}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initialization.md","start":{"line":23},"end":{"line":24}}},{"$$mdtype":"Node","errors":[],"lines":[25,34],"inline":false,"attributes":{"content":"const {SinchClient} = require('@sinch/sdk-core');\n\nconst sinchClient = new SinchClient({\n    projectId: process.env.PROJECTID,\n    keyId: process.env.ACCESSKEY,\n    keySecret: process.env.ACCESSSECRET\n});\n","language":"javascript"},"children":[{"$$mdtype":"Node","errors":[],"lines":[25,34],"inline":false,"attributes":{"content":"const {SinchClient} = require('@sinch/sdk-core');\n\nconst sinchClient = new SinchClient({\n    projectId: process.env.PROJECTID,\n    keyId: process.env.ACCESSKEY,\n    keySecret: process.env.ACCESSSECRET\n});\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initialization.md","start":{"line":25},"end":{"line":34}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_initialization.md","start":{"line":25},"end":{"line":34}}}],"type":"tag","tag":"admonition","annotations":[{"type":"attribute","name":"type","value":"info"},{"type":"attribute","name":"name","value":"Note"}],"slots":{},"location":{"file":"partials/sdk/node/_initialization.md","start":{"line":12},"end":{"line":13}}}],"type":"document","annotations":[],"slots":{}},"partials/sdk/node/_installation.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{"content":"markdownlint-disable"},"children":[],"type":"comment","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_installation.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"You can install the Sinch Node.js SDK using either "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_installation.md","start":{"line":1},"end":{"line":2}}},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"href":"https://www.npmjs.com/"},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"NPM"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_installation.md","start":{"line":1},"end":{"line":2}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_installation.md","start":{"line":1},"end":{"line":2}},"redocly:::linkOriginal:href":"https://www.npmjs.com/"},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":" or "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_installation.md","start":{"line":1},"end":{"line":2}}},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"href":"https://yarnpkg.com/"},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"Yarn"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_installation.md","start":{"line":1},"end":{"line":2}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_installation.md","start":{"line":1},"end":{"line":2}},"redocly:::linkOriginal:href":"https://yarnpkg.com/"},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":":"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_installation.md","start":{"line":1},"end":{"line":2}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_installation.md","start":{"line":1},"end":{"line":2}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_installation.md","start":{"line":1},"end":{"line":2}}},{"$$mdtype":"Node","errors":[],"lines":[3,6],"inline":false,"attributes":{"content":"npm install @sinch/sdk-core\n","language":"shell"},"children":[{"$$mdtype":"Node","errors":[],"lines":[3,6],"inline":false,"attributes":{"content":"npm install @sinch/sdk-core\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_installation.md","start":{"line":3},"end":{"line":6}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_installation.md","start":{"line":3},"end":{"line":6}}},{"$$mdtype":"Node","errors":[],"lines":[6,9],"inline":false,"attributes":{"content":"yarn add @sinch/sdk-core\n","language":"shell"},"children":[{"$$mdtype":"Node","errors":[],"lines":[6,9],"inline":false,"attributes":{"content":"yarn add @sinch/sdk-core\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_installation.md","start":{"line":6},"end":{"line":9}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_installation.md","start":{"line":6},"end":{"line":9}}}],"type":"document","annotations":[],"slots":{}},"partials/sdk/node/_multiProductsNote.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1,14,15],"inline":false,"attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"If you are using the Node.js SDK for multiple products that use different sets of authentication credentials, you can include all of the relevant credentials in the same configuration object, as in the following example:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_multiProductsNote.md","start":{"line":1},"end":{"line":2}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_multiProductsNote.md","start":{"line":1},"end":{"line":2}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_multiProductsNote.md","start":{"line":1},"end":{"line":2}}},{"$$mdtype":"Node","errors":[],"lines":[3,14],"inline":false,"attributes":{"content":"const {SinchClient} = require('@sinch/sdk-core');\n\nconst sinchClient = new SinchClient({\n    projectId: \"YOUR_project_id\",\n    keyId: \"YOUR_access_key\",\n    keySecret: \"YOUR_access_secret\",\n    applicationKey: \"YOUR_application_key\",\n    applicationSecret: \"YOUR_application_secret\"\n});\n","language":"javascript"},"children":[{"$$mdtype":"Node","errors":[],"lines":[3,14],"inline":false,"attributes":{"content":"const {SinchClient} = require('@sinch/sdk-core');\n\nconst sinchClient = new SinchClient({\n    projectId: \"YOUR_project_id\",\n    keyId: \"YOUR_access_key\",\n    keySecret: \"YOUR_access_secret\",\n    applicationKey: \"YOUR_application_key\",\n    applicationSecret: \"YOUR_application_secret\"\n});\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_multiProductsNote.md","start":{"line":3},"end":{"line":14}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_multiProductsNote.md","start":{"line":3},"end":{"line":14}}}],"type":"tag","tag":"admonition","annotations":[{"type":"attribute","name":"type","value":"info"},{"type":"attribute","name":"name","value":"Note"}],"slots":{},"location":{"file":"partials/sdk/node/_multiProductsNote.md","start":{"line":0},"end":{"line":1}}}],"type":"document","annotations":[],"slots":{}},"partials/sdk/node/_paginationObject.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{"content":"markdownlint-disable"},"children":[],"type":"comment","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{"level":3,"__idx":0},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"Pagination objects"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":1},"end":{"line":2}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":1},"end":{"line":2}}}],"type":"heading","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":1},"end":{"line":2}}},{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":true,"attributes":{"content":"For operations that return multiple pages of objects, such as list operations, the API response that would normally be an array is instead wrapped inside an "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":3},"end":{"line":4}}},{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":true,"attributes":{"content":"ApiPromiseList"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":3},"end":{"line":4}}},{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":true,"attributes":{"content":" object. This object can take two forms, depending on how you have made the call:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":3},"end":{"line":4}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":3},"end":{"line":4}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":3},"end":{"line":4}}},{"$$mdtype":"Node","errors":[],"lines":[5,8],"inline":false,"attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":true,"attributes":{"href":"#pageresult"},"children":[{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":true,"attributes":{"content":"PageResult"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":5},"end":{"line":6}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":5},"end":{"line":6}},"redocly:::linkOriginal:href":"#pageresult"}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":5},"end":{"line":6}}}],"type":"item","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":5},"end":{"line":6}}},{"$$mdtype":"Node","errors":[],"lines":[6,8],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[6,7],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[6,7],"inline":true,"attributes":{"href":"#asynciteratoriterable"},"children":[{"$$mdtype":"Node","errors":[],"lines":[6,7],"inline":true,"attributes":{"content":"AsyncIteratorIterable"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":6},"end":{"line":7}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":6},"end":{"line":7}},"redocly:::linkOriginal:href":"#asynciteratoriterable"}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":6},"end":{"line":7}}}],"type":"item","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":6},"end":{"line":8}}}],"type":"list","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":5},"end":{"line":8}}},{"$$mdtype":"Node","errors":[],"lines":[8,9],"inline":false,"attributes":{"level":4,"__idx":1},"children":[{"$$mdtype":"Node","errors":[],"lines":[8,9],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[8,9],"inline":true,"attributes":{"content":"PageResult"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":8},"end":{"line":9}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":8},"end":{"line":9}}}],"type":"heading","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":8},"end":{"line":9}}},{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":true,"attributes":{"content":"If you are using a traditional "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":10},"end":{"line":11}}},{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":true,"attributes":{"content":"await"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":10},"end":{"line":11}}},{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":true,"attributes":{"content":" in front of the method, the "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":10},"end":{"line":11}}},{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":true,"attributes":{"content":"ApiPromiseList"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":10},"end":{"line":11}}},{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":true,"attributes":{"content":" will take the form of a "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":10},"end":{"line":11}}},{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":true,"attributes":{"content":"PageResult"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":10},"end":{"line":11}}},{"$$mdtype":"Node","errors":[],"lines":[10,11],"inline":true,"attributes":{"content":", as demonstrated by the following example:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":10},"end":{"line":11}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":10},"end":{"line":11}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":10},"end":{"line":11}}},{"$$mdtype":"Node","errors":[],"lines":[12,27],"inline":false,"attributes":{"content":"const requestData: ListActiveNumbersRequestData = {\n    regionCode: 'US',\n    type: 'LOCAL',\n    pageSize: 2,\n  };\n\n  // This call will return the data of the current page wrapped in a PageResult\n  // We can then loop on the response while it has more pages\n  let response: PageResult<ActiveNumber> = await sinchClient.numbers.activeNumber.list(requestData); \n\n  // The ActiveNumber are in the `data` property\n  let activeNumbers: ActiveNumber[] = response.data;\n  console.log(activeNumbers); // prints the content of a page\n","language":"javascript"},"children":[{"$$mdtype":"Node","errors":[],"lines":[12,27],"inline":false,"attributes":{"content":"const requestData: ListActiveNumbersRequestData = {\n    regionCode: 'US',\n    type: 'LOCAL',\n    pageSize: 2,\n  };\n\n  // This call will return the data of the current page wrapped in a PageResult\n  // We can then loop on the response while it has more pages\n  let response: PageResult<ActiveNumber> = await sinchClient.numbers.activeNumber.list(requestData); \n\n  // The ActiveNumber are in the `data` property\n  let activeNumbers: ActiveNumber[] = response.data;\n  console.log(activeNumbers); // prints the content of a page\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":12},"end":{"line":27}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":12},"end":{"line":27}}},{"$$mdtype":"Node","errors":[],"lines":[27,41],"inline":false,"attributes":{"content":"const requestData: ListMessagesRequestData = {\n    app_id: \"YOUR_Conversation_app_ID,\n    channel: 'MESSENGER',\n  };\n\n  // This call will return the data of the current page wrapped in a PageResult\n  // We can then loop on the response while it has more pages\n  let response: PageResult<ConversationMessage> = await sinchClient.conversation.messages.list(requestData);\n\n  // The ConversationMessage are in the `data` property\n  let messages: ConversationMessage[] = response.data;\n  console.log(messages); // prints the content of a page\n","language":"javascript"},"children":[{"$$mdtype":"Node","errors":[],"lines":[27,41],"inline":false,"attributes":{"content":"const requestData: ListMessagesRequestData = {\n    app_id: \"YOUR_Conversation_app_ID,\n    channel: 'MESSENGER',\n  };\n\n  // This call will return the data of the current page wrapped in a PageResult\n  // We can then loop on the response while it has more pages\n  let response: PageResult<ConversationMessage> = await sinchClient.conversation.messages.list(requestData);\n\n  // The ConversationMessage are in the `data` property\n  let messages: ConversationMessage[] = response.data;\n  console.log(messages); // prints the content of a page\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":27},"end":{"line":41}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":27},"end":{"line":41}}},{"$$mdtype":"Node","errors":[],"lines":[42,43],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[42,43],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[42,43],"inline":true,"attributes":{"content":"The array is contained in the "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":42},"end":{"line":43}}},{"$$mdtype":"Node","errors":[],"lines":[42,43],"inline":true,"attributes":{"content":"data"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":42},"end":{"line":43}}},{"$$mdtype":"Node","errors":[],"lines":[42,43],"inline":true,"attributes":{"content":" field and the object contains a "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":42},"end":{"line":43}}},{"$$mdtype":"Node","errors":[],"lines":[42,43],"inline":true,"attributes":{"content":"hasNextPage"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":42},"end":{"line":43}}},{"$$mdtype":"Node","errors":[],"lines":[42,43],"inline":true,"attributes":{"content":" boolean as well as a "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":42},"end":{"line":43}}},{"$$mdtype":"Node","errors":[],"lines":[42,43],"inline":true,"attributes":{"content":"nextPage()"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":42},"end":{"line":43}}},{"$$mdtype":"Node","errors":[],"lines":[42,43],"inline":true,"attributes":{"content":" function which can be used to iterate through the results."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":42},"end":{"line":43}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":42},"end":{"line":43}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":42},"end":{"line":43}}},{"$$mdtype":"Node","errors":[],"lines":[44,57],"inline":false,"attributes":{"content":"// Loop on all the pages to get all the active numbers\n  let reachedEndOfPages = false;\n  while (!reachedEndOfPages) {\n    if (response.hasNextPage) {\n      response = await response.nextPage();\n      activeNumbers = response.data;\n      console.log(activeNumbers); // prints the content of a page\n    } else {\n      reachedEndOfPages = true;\n    }\n  }\n","language":"javascript"},"children":[{"$$mdtype":"Node","errors":[],"lines":[44,57],"inline":false,"attributes":{"content":"// Loop on all the pages to get all the active numbers\n  let reachedEndOfPages = false;\n  while (!reachedEndOfPages) {\n    if (response.hasNextPage) {\n      response = await response.nextPage();\n      activeNumbers = response.data;\n      console.log(activeNumbers); // prints the content of a page\n    } else {\n      reachedEndOfPages = true;\n    }\n  }\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":44},"end":{"line":57}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":44},"end":{"line":57}}},{"$$mdtype":"Node","errors":[],"lines":[57,70],"inline":false,"attributes":{"content":"// Loop on all the pages to get all the messages\n  let reachedEndOfPages = false;\n  while (!reachedEndOfPages) {\n    if (response.hasNextPage) {\n      response = await response.nextPage();\n      messages = response.data;\n      console.log(messages); // prints the content of a page\n    } else {\n      reachedEndOfPages = true;\n    }\n  }\n","language":"javascript"},"children":[{"$$mdtype":"Node","errors":[],"lines":[57,70],"inline":false,"attributes":{"content":"// Loop on all the pages to get all the messages\n  let reachedEndOfPages = false;\n  while (!reachedEndOfPages) {\n    if (response.hasNextPage) {\n      response = await response.nextPage();\n      messages = response.data;\n      console.log(messages); // prints the content of a page\n    } else {\n      reachedEndOfPages = true;\n    }\n  }\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":57},"end":{"line":70}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":57},"end":{"line":70}}},{"$$mdtype":"Node","errors":[],"lines":[71,72],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[71,72],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[71,72],"inline":true,"attributes":{"content":"Each call to the Sinch servers is visible in the code in the "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":71},"end":{"line":72}}},{"$$mdtype":"Node","errors":[],"lines":[71,72],"inline":true,"attributes":{"content":"while"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":71},"end":{"line":72}}},{"$$mdtype":"Node","errors":[],"lines":[71,72],"inline":true,"attributes":{"content":" loop."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":71},"end":{"line":72}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":71},"end":{"line":72}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":71},"end":{"line":72}}},{"$$mdtype":"Node","errors":[],"lines":[73,74],"inline":false,"attributes":{"level":4,"__idx":2},"children":[{"$$mdtype":"Node","errors":[],"lines":[73,74],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[73,74],"inline":true,"attributes":{"content":"AsyncIteratorIterable"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":73},"end":{"line":74}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":73},"end":{"line":74}}}],"type":"heading","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":73},"end":{"line":74}}},{"$$mdtype":"Node","errors":[],"lines":[75,76],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[75,76],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[75,76],"inline":true,"attributes":{"content":"If you using an iterator ("},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":75},"end":{"line":76}}},{"$$mdtype":"Node","errors":[],"lines":[75,76],"inline":true,"attributes":{"content":"for await (... of ...)"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":75},"end":{"line":76}}},{"$$mdtype":"Node","errors":[],"lines":[75,76],"inline":true,"attributes":{"content":"), the "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":75},"end":{"line":76}}},{"$$mdtype":"Node","errors":[],"lines":[75,76],"inline":true,"attributes":{"content":"ApiPromiseList"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":75},"end":{"line":76}}},{"$$mdtype":"Node","errors":[],"lines":[75,76],"inline":true,"attributes":{"content":" will take the form of a "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":75},"end":{"line":76}}},{"$$mdtype":"Node","errors":[],"lines":[75,76],"inline":true,"attributes":{"content":"AsyncIteratorIterable"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":75},"end":{"line":76}}},{"$$mdtype":"Node","errors":[],"lines":[75,76],"inline":true,"attributes":{"content":" object which can be used to iterate through the results, as demonstrated by the following example:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":75},"end":{"line":76}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":75},"end":{"line":76}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":75},"end":{"line":76}}},{"$$mdtype":"Node","errors":[],"lines":[77,88],"inline":false,"attributes":{"content":"const requestData: ListActiveNumbersRequestData = {\n    regionCode: 'US',\n    type: 'LOCAL',\n    pageSize: 2,\n  };\n\n  for await (const activeNumber of sinchClient.numbers.activeNumber.list(requestData)) {\n    console.log(activeNumber); // prints a single ActiveNumber\n  }\n","language":"javascript"},"children":[{"$$mdtype":"Node","errors":[],"lines":[77,88],"inline":false,"attributes":{"content":"const requestData: ListActiveNumbersRequestData = {\n    regionCode: 'US',\n    type: 'LOCAL',\n    pageSize: 2,\n  };\n\n  for await (const activeNumber of sinchClient.numbers.activeNumber.list(requestData)) {\n    console.log(activeNumber); // prints a single ActiveNumber\n  }\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":77},"end":{"line":88}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":77},"end":{"line":88}}},{"$$mdtype":"Node","errors":[],"lines":[88,98],"inline":false,"attributes":{"content":"const requestData: ListMessagesRequestData = {\n    app_id: \"YOUR_Conversation_app_ID,\n    channel: 'MESSENGER',\n  };\n\n  for await (const message of sinchClient.conversation.messages.list(requestData)) {\n    console.log(message); // prints a single ConversationMessage\n  }\n","language":"javascript"},"children":[{"$$mdtype":"Node","errors":[],"lines":[88,98],"inline":false,"attributes":{"content":"const requestData: ListMessagesRequestData = {\n    app_id: \"YOUR_Conversation_app_ID,\n    channel: 'MESSENGER',\n  };\n\n  for await (const message of sinchClient.conversation.messages.list(requestData)) {\n    console.log(message); // prints a single ConversationMessage\n  }\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":88},"end":{"line":98}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":88},"end":{"line":98}}},{"$$mdtype":"Node","errors":[],"lines":[99,100],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[99,100],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[99,100],"inline":true,"attributes":{"content":"With the iterator, the code is more concise but you have less control over the number of calls made to the API; the iterator will continue to make calls to the API to fetch the next page until the final page is returned."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":99},"end":{"line":100}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":99},"end":{"line":100}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/node/_paginationObject.md","start":{"line":99},"end":{"line":100}}}],"type":"document","annotations":[],"slots":{}},"partials/sdk/python/_initialization.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":true,"attributes":{"content":"To start using the SDK, you need to initialize the main client class with your credentials from your Sinch "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_initialization.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":true,"attributes":{"href":"https://dashboard.sinch.com"},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":true,"attributes":{"content":"dashboard"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_initialization.md","start":{"line":0},"end":{"line":1}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_initialization.md","start":{"line":0},"end":{"line":1}},"redocly:::linkOriginal:href":"https://dashboard.sinch.com"},{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":true,"attributes":{"content":"."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_initialization.md","start":{"line":0},"end":{"line":1}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_initialization.md","start":{"line":0},"end":{"line":1}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_initialization.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[2,7],"inline":false,"attributes":{"content":"from sinch import SinchClient\n\nsinch_client = SinchClient(key_id=\"key_id\", key_secret=\"key_secret\", project_id=\"YOUR_project_id\")\n","language":"python"},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,7],"inline":false,"attributes":{"content":"from sinch import SinchClient\n\nsinch_client = SinchClient(key_id=\"key_id\", key_secret=\"key_secret\", project_id=\"YOUR_project_id\")\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_initialization.md","start":{"line":2},"end":{"line":7}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_initialization.md","start":{"line":2},"end":{"line":7}}},{"$$mdtype":"Node","errors":[],"lines":[7,8,21,22],"inline":false,"attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Node","errors":[],"lines":[8,9],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[8,9],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[8,9],"inline":true,"attributes":{"content":"For testing purposes on your local environment it's fine to use hardcoded values, but before deploying to production we strongly recommend using environment variables to store the credentials, as in the following example:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_initialization.md","start":{"line":8},"end":{"line":9}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_initialization.md","start":{"line":8},"end":{"line":9}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_initialization.md","start":{"line":8},"end":{"line":9}}},{"$$mdtype":"Node","errors":[],"lines":[10,20],"inline":false,"attributes":{"content":"import os\nfrom sinch import SinchClient\n\nsinch_client = SinchClient(\n    key_id=os.getenv(\"KEY_ID\"),\n    key_secret=os.getenv(\"KEY_SECRET\"),\n    project_id=os.getenv(\"PROJECT_ID\")\n)\n","language":"python"},"children":[{"$$mdtype":"Node","errors":[],"lines":[10,20],"inline":false,"attributes":{"content":"import os\nfrom sinch import SinchClient\n\nsinch_client = SinchClient(\n    key_id=os.getenv(\"KEY_ID\"),\n    key_secret=os.getenv(\"KEY_SECRET\"),\n    project_id=os.getenv(\"PROJECT_ID\")\n)\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_initialization.md","start":{"line":10},"end":{"line":20}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_initialization.md","start":{"line":10},"end":{"line":20}}}],"type":"tag","tag":"admonition","annotations":[{"type":"attribute","name":"type","value":"info"},{"type":"attribute","name":"name","value":"Note"}],"slots":{},"location":{"file":"partials/sdk/python/_initialization.md","start":{"line":7},"end":{"line":8}}}],"type":"document","annotations":[],"slots":{}},"partials/sdk/python/_installation.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{"content":"markdownlint-disable"},"children":[],"type":"comment","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_installation.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"The easiest way to install the SDK is using "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_installation.md","start":{"line":1},"end":{"line":2}}},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"href":"https://pypi.org/project/pip/"},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"pip"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_installation.md","start":{"line":1},"end":{"line":2}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_installation.md","start":{"line":1},"end":{"line":2}},"redocly:::linkOriginal:href":"https://pypi.org/project/pip/"},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":":"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_installation.md","start":{"line":1},"end":{"line":2}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_installation.md","start":{"line":1},"end":{"line":2}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_installation.md","start":{"line":1},"end":{"line":2}}},{"$$mdtype":"Node","errors":[],"lines":[3,8],"inline":false,"attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[3,4],"inline":true,"attributes":{"content":"Open a command prompt or terminal to the local repository folder."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_installation.md","start":{"line":3},"end":{"line":4}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_installation.md","start":{"line":3},"end":{"line":4}}}],"type":"item","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_installation.md","start":{"line":3},"end":{"line":4}}},{"$$mdtype":"Node","errors":[],"lines":[4,8],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":true,"attributes":{"content":"Execute the following command:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_installation.md","start":{"line":4},"end":{"line":5}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_installation.md","start":{"line":4},"end":{"line":5}}},{"$$mdtype":"Node","errors":[],"lines":[5,8],"inline":false,"attributes":{"content":"pip install sinch\n","language":"shell"},"children":[{"$$mdtype":"Node","errors":[],"lines":[5,8],"inline":false,"attributes":{"content":"pip install sinch\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_installation.md","start":{"line":5},"end":{"line":8}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_installation.md","start":{"line":5},"end":{"line":8}}}],"type":"item","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_installation.md","start":{"line":4},"end":{"line":8}}}],"type":"list","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_installation.md","start":{"line":3},"end":{"line":8}}}],"type":"document","annotations":[],"slots":{}},"partials/sdk/python/_paginator-info.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{"content":"markdownlint-disable"},"children":[],"type":"comment","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_paginator-info.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":"The response to the method is returned in a Paginator object. The Paginator allows you to view and iterate over the pages returned in the response. Usually, the number of pages is determined by a field provided in the method itself. By default, the displayed response will also include the contents of the first page."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_paginator-info.md","start":{"line":2},"end":{"line":3}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_paginator-info.md","start":{"line":2},"end":{"line":3}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_paginator-info.md","start":{"line":2},"end":{"line":3}}},{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":true,"attributes":{"content":"In order to iterate over every page in the response, you can use the "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_paginator-info.md","start":{"line":4},"end":{"line":5}}},{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":true,"attributes":{"content":"auto_paging_iter"},"children":[],"type":"code","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_paginator-info.md","start":{"line":4},"end":{"line":5}}},{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":true,"attributes":{"content":" method. For example:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_paginator-info.md","start":{"line":4},"end":{"line":5}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_paginator-info.md","start":{"line":4},"end":{"line":5}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_paginator-info.md","start":{"line":4},"end":{"line":5}}},{"$$mdtype":"Node","errors":[],"lines":[6,12],"inline":false,"attributes":{"content":"\nfor page in response.auto_paging_iter():\n    print(page.result)\n\n","language":"Python"},"children":[{"$$mdtype":"Node","errors":[],"lines":[6,12],"inline":false,"attributes":{"content":"\nfor page in response.auto_paging_iter():\n    print(page.result)\n\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_paginator-info.md","start":{"line":6},"end":{"line":12}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/_paginator-info.md","start":{"line":6},"end":{"line":12}}}],"type":"document","annotations":[],"slots":{}},"partials/voice/getting-started/_tts_pause_tip.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1,2,3],"inline":false,"attributes":{"type":"success","name":"Tip"},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"If the text-to-speech message starts playing too early for your needs, you can use "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/voice/getting-started/_tts_pause_tip.md","start":{"line":1},"end":{"line":2}}},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"name":"a","attrs":{"href":"https://community.sinch.com/t5/Calling/How-do-I-add-a-pause-to-the-beginning-of-a-text-to-speech/ta-p/9918","target":"_blank"}},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"SSML"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/voice/getting-started/_tts_pause_tip.md","start":{"line":1},"end":{"line":2}}}],"type":"tag","tag":"html","annotations":[{"type":"attribute","name":"name","value":"a"},{"type":"attribute","name":"attrs","value":{"href":"https://community.sinch.com/t5/Calling/How-do-I-add-a-pause-to-the-beginning-of-a-text-to-speech/ta-p/9918","target":"_blank"}}],"slots":{},"location":{"file":"partials/voice/getting-started/_tts_pause_tip.md","start":{"line":1},"end":{"line":2}}},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":" to add a pause at the beginning of the message."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/voice/getting-started/_tts_pause_tip.md","start":{"line":1},"end":{"line":2}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/voice/getting-started/_tts_pause_tip.md","start":{"line":1},"end":{"line":2}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/voice/getting-started/_tts_pause_tip.md","start":{"line":1},"end":{"line":2}}}],"type":"tag","tag":"admonition","annotations":[{"type":"attribute","name":"type","value":"success"},{"type":"attribute","name":"name","value":"Tip"}],"slots":{},"location":{"file":"partials/voice/getting-started/_tts_pause_tip.md","start":{"line":0},"end":{"line":1}}}],"type":"document","annotations":[],"slots":{}},"partials/sdk/dotnet/verification/_initVerification.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{"content":"markdownlint-disable"},"children":[],"type":"comment","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/verification/_initVerification.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":"To start using the Verification API with the SDK, you need to initialize the main client class with your credentials from your Sinch "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/verification/_initVerification.md","start":{"line":2},"end":{"line":3}}},{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"href":"https://dashboard.sinch.com"},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":"dashboard"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/verification/_initVerification.md","start":{"line":2},"end":{"line":3}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/verification/_initVerification.md","start":{"line":2},"end":{"line":3}},"redocly:::linkOriginal:href":"https://dashboard.sinch.com"},{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":" and additionally create a Verification client object that uses your "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/verification/_initVerification.md","start":{"line":2},"end":{"line":3}}},{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"href":"https://dashboard.sinch.com/verification/apps"},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":"Verification app credentials"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/verification/_initVerification.md","start":{"line":2},"end":{"line":3}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/verification/_initVerification.md","start":{"line":2},"end":{"line":3}},"redocly:::linkOriginal:href":"https://dashboard.sinch.com/verification/apps"},{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":"."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/verification/_initVerification.md","start":{"line":2},"end":{"line":3}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/verification/_initVerification.md","start":{"line":2},"end":{"line":3}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/verification/_initVerification.md","start":{"line":2},"end":{"line":3}}},{"$$mdtype":"Node","errors":[],"lines":[4,5,6,7],"inline":false,"attributes":{"type":"info","name":"Note:"},"children":[{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":true,"attributes":{"content":"For testing purposes on your local environment it's fine to use hardcoded values, but before deploying to production we strongly recommend using environment variables to store the credentials."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/verification/_initVerification.md","start":{"line":5},"end":{"line":6}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/verification/_initVerification.md","start":{"line":5},"end":{"line":6}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/verification/_initVerification.md","start":{"line":5},"end":{"line":6}}}],"type":"tag","tag":"admonition","annotations":[{"type":"attribute","name":"type","value":"info"},{"type":"attribute","name":"name","value":"Note:"}],"slots":{},"location":{"file":"partials/sdk/dotnet/verification/_initVerification.md","start":{"line":4},"end":{"line":5}}},{"$$mdtype":"Node","errors":[],"lines":[8,17],"inline":false,"attributes":{"content":"using Sinch;\n\nvar sinch = new SinchClient(\"YOUR_project_id\",\n                            \"YOUR_access_key\", \n                            \"YOUR_access_secret\");\n\nvar verification = sinch.Verification(\"YOUR_application_key\", \"YOUR_application_secret\");\n","language":"csharp","title":"Initialize client"},"children":[{"$$mdtype":"Node","errors":[],"lines":[8,17],"inline":false,"attributes":{"content":"using Sinch;\n\nvar sinch = new SinchClient(\"YOUR_project_id\",\n                            \"YOUR_access_key\", \n                            \"YOUR_access_secret\");\n\nvar verification = sinch.Verification(\"YOUR_application_key\", \"YOUR_application_secret\");\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/verification/_initVerification.md","start":{"line":8},"end":{"line":17}}}],"type":"fence","annotations":[{"type":"attribute","name":"title","value":"Initialize client"}],"slots":{},"location":{"file":"partials/sdk/dotnet/verification/_initVerification.md","start":{"line":8},"end":{"line":17}}},{"$$mdtype":"Node","errors":[],"lines":[18,19],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[18,19],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[18,19],"inline":true,"attributes":{"content":"Or, if you only need to use Verification API:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/verification/_initVerification.md","start":{"line":18},"end":{"line":19}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/verification/_initVerification.md","start":{"line":18},"end":{"line":19}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/verification/_initVerification.md","start":{"line":18},"end":{"line":19}}},{"$$mdtype":"Node","errors":[],"lines":[20,27],"inline":false,"attributes":{"content":"using Sinch;\n\nvar sinch = new SinchClient(default, default, default);\n\nvar verification = sinch.Verification(\"YOUR_application_key\", \"YOUR_application_secret\");\n","language":"csharp","title":"Initialize client for only Verification"},"children":[{"$$mdtype":"Node","errors":[],"lines":[20,27],"inline":false,"attributes":{"content":"using Sinch;\n\nvar sinch = new SinchClient(default, default, default);\n\nvar verification = sinch.Verification(\"YOUR_application_key\", \"YOUR_application_secret\");\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/verification/_initVerification.md","start":{"line":20},"end":{"line":27}}}],"type":"fence","annotations":[{"type":"attribute","name":"title","value":"Initialize client for only Verification"}],"slots":{},"location":{"file":"partials/sdk/dotnet/verification/_initVerification.md","start":{"line":20},"end":{"line":27}}}],"type":"document","annotations":[],"slots":{}},"partials/sdk/dotnet/voice/_initVerification.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{"content":"markdownlint-disable"},"children":[],"type":"comment","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/voice/_initVerification.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":"To start using the Voice API with the SDK, you need to initialize the main client class with your credentials from your Sinch "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/voice/_initVerification.md","start":{"line":2},"end":{"line":3}}},{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"href":"https://dashboard.sinch.com"},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":"dashboard"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/voice/_initVerification.md","start":{"line":2},"end":{"line":3}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/voice/_initVerification.md","start":{"line":2},"end":{"line":3}},"redocly:::linkOriginal:href":"https://dashboard.sinch.com"},{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":" and additionally create a Voice client object that uses your "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/voice/_initVerification.md","start":{"line":2},"end":{"line":3}}},{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"href":"https://dashboard.sinch.com/voice/apps"},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":"Voice app credentials"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/voice/_initVerification.md","start":{"line":2},"end":{"line":3}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/voice/_initVerification.md","start":{"line":2},"end":{"line":3}},"redocly:::linkOriginal:href":"https://dashboard.sinch.com/voice/apps"},{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":"."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/voice/_initVerification.md","start":{"line":2},"end":{"line":3}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/voice/_initVerification.md","start":{"line":2},"end":{"line":3}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/voice/_initVerification.md","start":{"line":2},"end":{"line":3}}},{"$$mdtype":"Node","errors":[],"lines":[4,5,6,7],"inline":false,"attributes":{"type":"info","name":"Note:"},"children":[{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[5,6],"inline":true,"attributes":{"content":"For testing purposes on your local environment it's fine to use hardcoded values, but before deploying to production we strongly recommend using environment variables to store the credentials."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/voice/_initVerification.md","start":{"line":5},"end":{"line":6}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/voice/_initVerification.md","start":{"line":5},"end":{"line":6}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/voice/_initVerification.md","start":{"line":5},"end":{"line":6}}}],"type":"tag","tag":"admonition","annotations":[{"type":"attribute","name":"type","value":"info"},{"type":"attribute","name":"name","value":"Note:"}],"slots":{},"location":{"file":"partials/sdk/dotnet/voice/_initVerification.md","start":{"line":4},"end":{"line":5}}},{"$$mdtype":"Node","errors":[],"lines":[9,18],"inline":false,"attributes":{"content":"using Sinch;\n\nvar sinch = new SinchClient(\"YOUR_access_key\", \n                            \"YOUR_access_secret\", \n                            \"YOUR_project_id\");\n\nvar voice = sinch.Voice(\"YOUR_application_key\", \"YOUR_application_secret\");\n","language":"csharp","title":"Initialize client"},"children":[{"$$mdtype":"Node","errors":[],"lines":[9,18],"inline":false,"attributes":{"content":"using Sinch;\n\nvar sinch = new SinchClient(\"YOUR_access_key\", \n                            \"YOUR_access_secret\", \n                            \"YOUR_project_id\");\n\nvar voice = sinch.Voice(\"YOUR_application_key\", \"YOUR_application_secret\");\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/voice/_initVerification.md","start":{"line":9},"end":{"line":18}}}],"type":"fence","annotations":[{"type":"attribute","name":"title","value":"Initialize client"}],"slots":{},"location":{"file":"partials/sdk/dotnet/voice/_initVerification.md","start":{"line":9},"end":{"line":18}}},{"$$mdtype":"Node","errors":[],"lines":[19,20],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[19,20],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[19,20],"inline":true,"attributes":{"content":"Or, if you only need to use Voice API:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/voice/_initVerification.md","start":{"line":19},"end":{"line":20}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/voice/_initVerification.md","start":{"line":19},"end":{"line":20}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/voice/_initVerification.md","start":{"line":19},"end":{"line":20}}},{"$$mdtype":"Node","errors":[],"lines":[21,28],"inline":false,"attributes":{"content":"using Sinch;\n\nvar sinch = new SinchClient(default, default, default);\n\nvar voice = sinch.Voice(\"YOUR_application_key\", \"YOUR_application_secret\");\n","language":"csharp","title":"Initialize client for only Voice"},"children":[{"$$mdtype":"Node","errors":[],"lines":[21,28],"inline":false,"attributes":{"content":"using Sinch;\n\nvar sinch = new SinchClient(default, default, default);\n\nvar voice = sinch.Voice(\"YOUR_application_key\", \"YOUR_application_secret\");\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/dotnet/voice/_initVerification.md","start":{"line":21},"end":{"line":28}}}],"type":"fence","annotations":[{"type":"attribute","name":"title","value":"Initialize client for only Voice"}],"slots":{},"location":{"file":"partials/sdk/dotnet/voice/_initVerification.md","start":{"line":21},"end":{"line":28}}}],"type":"document","annotations":[],"slots":{}},"partials/sdk/general_information/common-operations/_common-operations-intro.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{"content":"markdownlint-disable"},"children":[],"type":"comment","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/common-operations/_common-operations-intro.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":"This article details commonly used API operations. Each section corresponds to an operation and includes a brief overview, a sample request and response payload, and schema information pulled directly from the API reference. Additionally, each section will include links to the corresponding "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/common-operations/_common-operations-intro.md","start":{"line":2},"end":{"line":3}}},{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"href":"../../../api-reference/"},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":"API reference entry"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/common-operations/_common-operations-intro.md","start":{"line":2},"end":{"line":3}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/common-operations/_common-operations-intro.md","start":{"line":2},"end":{"line":3}},"redocly:::linkOriginal:href":"../../../api-reference/"},{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":" and any tutorials (if available)."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/common-operations/_common-operations-intro.md","start":{"line":2},"end":{"line":3}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/common-operations/_common-operations-intro.md","start":{"line":2},"end":{"line":3}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/common-operations/_common-operations-intro.md","start":{"line":2},"end":{"line":3}}},{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[4,5],"inline":true,"attributes":{"content":":::note Note:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/common-operations/_common-operations-intro.md","start":{"line":4},"end":{"line":5}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/common-operations/_common-operations-intro.md","start":{"line":4},"end":{"line":5}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/common-operations/_common-operations-intro.md","start":{"line":4},"end":{"line":5}}},{"$$mdtype":"Node","errors":[],"lines":[6,7],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[6,7],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[6,7],"inline":true,"attributes":{"content":"For information on how complete the configuration steps required for this API, along with language-specific guides that illustrate the API's functionality with pre-populated examples, see the "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/common-operations/_common-operations-intro.md","start":{"line":6},"end":{"line":7}}},{"$$mdtype":"Node","errors":[],"lines":[6,7],"inline":true,"attributes":{"href":"../../../getting-started/"},"children":[{"$$mdtype":"Node","errors":[],"lines":[6,7],"inline":true,"attributes":{"content":"Getting started"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/common-operations/_common-operations-intro.md","start":{"line":6},"end":{"line":7}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/common-operations/_common-operations-intro.md","start":{"line":6},"end":{"line":7}},"redocly:::linkOriginal:href":"../../../getting-started/"},{"$$mdtype":"Node","errors":[],"lines":[6,7],"inline":true,"attributes":{"content":" guides that correspond to this API."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/common-operations/_common-operations-intro.md","start":{"line":6},"end":{"line":7}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/common-operations/_common-operations-intro.md","start":{"line":6},"end":{"line":7}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/common-operations/_common-operations-intro.md","start":{"line":6},"end":{"line":7}}},{"$$mdtype":"Node","errors":[],"lines":[8,9],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[8,9],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[8,9],"inline":true,"attributes":{"content":":::"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/common-operations/_common-operations-intro.md","start":{"line":8},"end":{"line":9}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/common-operations/_common-operations-intro.md","start":{"line":8},"end":{"line":9}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/common-operations/_common-operations-intro.md","start":{"line":8},"end":{"line":9}}}],"type":"document","annotations":[],"slots":{}},"partials/sdk/general_information/common-operations/_common-operations-request-sample.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{"content":"markdownlint-disable"},"children":[],"type":"comment","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/common-operations/_common-operations-request-sample.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"Below are code samples that highlight how to make this API request in multiple languages. Click an appropriate tab to view your preferred language:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/common-operations/_common-operations-request-sample.md","start":{"line":1},"end":{"line":2}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/common-operations/_common-operations-request-sample.md","start":{"line":1},"end":{"line":2}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/common-operations/_common-operations-request-sample.md","start":{"line":1},"end":{"line":2}}}],"type":"document","annotations":[],"slots":{}},"partials/sdk/general_information/common-operations/_common-operations-response-sample.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{"content":"markdownlint-disable"},"children":[],"type":"comment","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/common-operations/_common-operations-response-sample.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"After making this API call, you should receive a response that is similar to the example given below:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/common-operations/_common-operations-response-sample.md","start":{"line":1},"end":{"line":2}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/common-operations/_common-operations-response-sample.md","start":{"line":1},"end":{"line":2}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/common-operations/_common-operations-response-sample.md","start":{"line":1},"end":{"line":2}}}],"type":"document","annotations":[],"slots":{}},"partials/sdk/general_information/errors/_5000_error.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{"content":"markdownlint-disable"},"children":[],"type":"comment","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/errors/_5000_error.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[1,4],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,4],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,4],"inline":true,"attributes":{"content":":::info Troubleshooting tip"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/errors/_5000_error.md","start":{"line":1},"end":{"line":4}}},{"$$mdtype":"Node","errors":[],"lines":[1,4],"inline":true,"attributes":{},"children":[],"type":"softbreak","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/errors/_5000_error.md","start":{"line":1},"end":{"line":4}}},{"$$mdtype":"Node","errors":[],"lines":[1,4],"inline":true,"attributes":{"content":"If after running your app you receive a 5000 error response, you may have forgotten to save your file after adding your authentication values. This is an easy mistake to make! Try saving the file and running the app again."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/errors/_5000_error.md","start":{"line":1},"end":{"line":4}}},{"$$mdtype":"Node","errors":[],"lines":[1,4],"inline":true,"attributes":{},"children":[],"type":"softbreak","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/errors/_5000_error.md","start":{"line":1},"end":{"line":4}}},{"$$mdtype":"Node","errors":[],"lines":[1,4],"inline":true,"attributes":{"content":":::"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/errors/_5000_error.md","start":{"line":1},"end":{"line":4}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/errors/_5000_error.md","start":{"line":1},"end":{"line":4}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/general_information/errors/_5000_error.md","start":{"line":1},"end":{"line":4}}}],"type":"document","annotations":[],"slots":{}},"partials/sdk/java/verification/_initAppKey.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{"content":"markdownlint-disable"},"children":[],"type":"comment","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/verification/_initAppKey.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":"To start using the SDK, you need to initialize the main client class and create a configuration object to connect to your Sinch account and Verification app. You can find all of the credentials you need on your Sinch "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/verification/_initAppKey.md","start":{"line":2},"end":{"line":3}}},{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"href":"https://dashboard.sinch.com/verification/apps"},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":"dashboard"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/verification/_initAppKey.md","start":{"line":2},"end":{"line":3}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/verification/_initAppKey.md","start":{"line":2},"end":{"line":3}},"redocly:::linkOriginal:href":"https://dashboard.sinch.com/verification/apps"},{"$$mdtype":"Node","errors":[],"lines":[2,3],"inline":true,"attributes":{"content":"."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/verification/_initAppKey.md","start":{"line":2},"end":{"line":3}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/verification/_initAppKey.md","start":{"line":2},"end":{"line":3}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/verification/_initAppKey.md","start":{"line":2},"end":{"line":3}}},{"$$mdtype":"Node","errors":[],"lines":[4,18],"inline":false,"attributes":{"content":"import com.sinch.sdk.SinchClient;\nimport com.sinch.sdk.models.Configuration;\n\npublic class App {\n    \n    public static void main(String[] args) {\n        SinchClient client = new SinchClient(Configuration.builder()\n                                    .setApplicationKey(\"YOUR_application_key\")\n                                    .setApplicationSecret(\"YOUR_application_secret\")\n                                    .build());\n    }\n}\n","language":"java"},"children":[{"$$mdtype":"Node","errors":[],"lines":[4,18],"inline":false,"attributes":{"content":"import com.sinch.sdk.SinchClient;\nimport com.sinch.sdk.models.Configuration;\n\npublic class App {\n    \n    public static void main(String[] args) {\n        SinchClient client = new SinchClient(Configuration.builder()\n                                    .setApplicationKey(\"YOUR_application_key\")\n                                    .setApplicationSecret(\"YOUR_application_secret\")\n                                    .build());\n    }\n}\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/verification/_initAppKey.md","start":{"line":4},"end":{"line":18}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/verification/_initAppKey.md","start":{"line":4},"end":{"line":18}}},{"$$mdtype":"Node","errors":[],"lines":[19,20,21,22],"inline":false,"attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Node","errors":[],"lines":[20,21],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[20,21],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[20,21],"inline":true,"attributes":{"content":"For testing purposes on your local environment it's fine to use hardcoded values, but before deploying to production we strongly recommend using environment variables to store the credentials."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/verification/_initAppKey.md","start":{"line":20},"end":{"line":21}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/verification/_initAppKey.md","start":{"line":20},"end":{"line":21}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/verification/_initAppKey.md","start":{"line":20},"end":{"line":21}}}],"type":"tag","tag":"admonition","annotations":[{"type":"attribute","name":"type","value":"info"},{"type":"attribute","name":"name","value":"Note"}],"slots":{},"location":{"file":"partials/sdk/java/verification/_initAppKey.md","start":{"line":19},"end":{"line":20}}}],"type":"document","annotations":[],"slots":{}},"partials/sdk/java/voice/_initAppKey.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":true,"attributes":{"content":"To start using the SDK, you need to initialize the main client class and create a configuration object to connect to your Sinch account and Voice app. You can find all of the credentials you need on your Sinch "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/voice/_initAppKey.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":true,"attributes":{"href":"https://dashboard.sinch.com/voice/apps"},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":true,"attributes":{"content":"dashboard"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/voice/_initAppKey.md","start":{"line":0},"end":{"line":1}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/voice/_initAppKey.md","start":{"line":0},"end":{"line":1}},"redocly:::linkOriginal:href":"https://dashboard.sinch.com/voice/apps"},{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":true,"attributes":{"content":"."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/voice/_initAppKey.md","start":{"line":0},"end":{"line":1}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/voice/_initAppKey.md","start":{"line":0},"end":{"line":1}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/voice/_initAppKey.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[2,16],"inline":false,"attributes":{"content":"import com.sinch.sdk.SinchClient;\nimport com.sinch.sdk.models.Configuration;\n\npublic class App {\n    \n    public static void main(String[] args) {\n        SinchClient client = new SinchClient(Configuration.builder()\n                                    .setApplicationKey(\"YOUR_application_key\")\n                                    .setApplicationSecret(\"YOUR_application_secret\")\n                                    .build());\n    }\n}\n","language":"java"},"children":[{"$$mdtype":"Node","errors":[],"lines":[2,16],"inline":false,"attributes":{"content":"import com.sinch.sdk.SinchClient;\nimport com.sinch.sdk.models.Configuration;\n\npublic class App {\n    \n    public static void main(String[] args) {\n        SinchClient client = new SinchClient(Configuration.builder()\n                                    .setApplicationKey(\"YOUR_application_key\")\n                                    .setApplicationSecret(\"YOUR_application_secret\")\n                                    .build());\n    }\n}\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/voice/_initAppKey.md","start":{"line":2},"end":{"line":16}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/voice/_initAppKey.md","start":{"line":2},"end":{"line":16}}},{"$$mdtype":"Node","errors":[],"lines":[16,17,18,19],"inline":false,"attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Node","errors":[],"lines":[17,18],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[17,18],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[17,18],"inline":true,"attributes":{"content":"For testing purposes on your local environment it's fine to use hardcoded values, but before deploying to production we strongly recommend using environment variables to store the credentials."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/voice/_initAppKey.md","start":{"line":17},"end":{"line":18}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/voice/_initAppKey.md","start":{"line":17},"end":{"line":18}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/java/voice/_initAppKey.md","start":{"line":17},"end":{"line":18}}}],"type":"tag","tag":"admonition","annotations":[{"type":"attribute","name":"type","value":"info"},{"type":"attribute","name":"name","value":"Note"}],"slots":{},"location":{"file":"partials/sdk/java/voice/_initAppKey.md","start":{"line":16},"end":{"line":17}}}],"type":"document","annotations":[],"slots":{}},"partials/sdk/python/verification/_initVerification.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{"content":"markdownlint-disable"},"children":[],"type":"comment","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/verification/_initVerification.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"To start using the SDK, you need to initialize the main client class with your credentials from your Sinch "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/verification/_initVerification.md","start":{"line":1},"end":{"line":2}}},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"href":"https://dashboard.sinch.com"},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"dashboard"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/verification/_initVerification.md","start":{"line":1},"end":{"line":2}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/verification/_initVerification.md","start":{"line":1},"end":{"line":2}},"redocly:::linkOriginal:href":"https://dashboard.sinch.com"},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":" and additionally add your "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/verification/_initVerification.md","start":{"line":1},"end":{"line":2}}},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"href":"https://dashboard.sinch.com/verification/apps"},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"Verification app credentials"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/verification/_initVerification.md","start":{"line":1},"end":{"line":2}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/verification/_initVerification.md","start":{"line":1},"end":{"line":2}},"redocly:::linkOriginal:href":"https://dashboard.sinch.com/verification/apps"},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/verification/_initVerification.md","start":{"line":1},"end":{"line":2}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/verification/_initVerification.md","start":{"line":1},"end":{"line":2}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/verification/_initVerification.md","start":{"line":1},"end":{"line":2}}},{"$$mdtype":"Node","errors":[],"lines":[3,11],"inline":false,"attributes":{"content":"from sinch import SinchClient\n\nsinch_client = SinchClient(\n    application_key=\"YOUR_application_key\",\n    application_secret=\"YOUR_application_secret\"\n)\n","language":"python"},"children":[{"$$mdtype":"Node","errors":[],"lines":[3,11],"inline":false,"attributes":{"content":"from sinch import SinchClient\n\nsinch_client = SinchClient(\n    application_key=\"YOUR_application_key\",\n    application_secret=\"YOUR_application_secret\"\n)\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/verification/_initVerification.md","start":{"line":3},"end":{"line":11}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/verification/_initVerification.md","start":{"line":3},"end":{"line":11}}},{"$$mdtype":"Node","errors":[],"lines":[11,12,24,25],"inline":false,"attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Node","errors":[],"lines":[12,13],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[12,13],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[12,13],"inline":true,"attributes":{"content":"For testing purposes on your local environment it's fine to use hardcoded values, but before deploying to production we strongly recommend using environment variables to store the credentials, as in the following example:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/verification/_initVerification.md","start":{"line":12},"end":{"line":13}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/verification/_initVerification.md","start":{"line":12},"end":{"line":13}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/verification/_initVerification.md","start":{"line":12},"end":{"line":13}}},{"$$mdtype":"Node","errors":[],"lines":[14,23],"inline":false,"attributes":{"content":"import os\nfrom sinch import SinchClient\n\nsinch_client = SinchClient(\n    application_key=os.getenv(\"APPLICATION_KEY\"),\n    application_secret=os.getenv(\"APPLICATION_SECRET\")\n)\n","language":"python"},"children":[{"$$mdtype":"Node","errors":[],"lines":[14,23],"inline":false,"attributes":{"content":"import os\nfrom sinch import SinchClient\n\nsinch_client = SinchClient(\n    application_key=os.getenv(\"APPLICATION_KEY\"),\n    application_secret=os.getenv(\"APPLICATION_SECRET\")\n)\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/verification/_initVerification.md","start":{"line":14},"end":{"line":23}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/verification/_initVerification.md","start":{"line":14},"end":{"line":23}}}],"type":"tag","tag":"admonition","annotations":[{"type":"attribute","name":"type","value":"info"},{"type":"attribute","name":"name","value":"Note"}],"slots":{},"location":{"file":"partials/sdk/python/verification/_initVerification.md","start":{"line":11},"end":{"line":12}}}],"type":"document","annotations":[],"slots":{}},"partials/sdk/python/voice/_initVerification.md":{"$$mdtype":"Node","errors":[],"lines":[],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[0,1],"inline":false,"attributes":{"content":"markdownlint-disable"},"children":[],"type":"comment","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/voice/_initVerification.md","start":{"line":0},"end":{"line":1}}},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"To start using the SDK, you need to initialize the main client class with your credentials from your Sinch "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/voice/_initVerification.md","start":{"line":1},"end":{"line":2}}},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"href":"https://dashboard.sinch.com"},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"dashboard"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/voice/_initVerification.md","start":{"line":1},"end":{"line":2}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/voice/_initVerification.md","start":{"line":1},"end":{"line":2}},"redocly:::linkOriginal:href":"https://dashboard.sinch.com"},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":" and additionally add your "},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/voice/_initVerification.md","start":{"line":1},"end":{"line":2}}},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"href":"https://dashboard.sinch.com/voice/apps"},"children":[{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"Voice app credentials"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/voice/_initVerification.md","start":{"line":1},"end":{"line":2}}}],"type":"link","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/voice/_initVerification.md","start":{"line":1},"end":{"line":2}},"redocly:::linkOriginal:href":"https://dashboard.sinch.com/voice/apps"},{"$$mdtype":"Node","errors":[],"lines":[1,2],"inline":true,"attributes":{"content":"."},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/voice/_initVerification.md","start":{"line":1},"end":{"line":2}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/voice/_initVerification.md","start":{"line":1},"end":{"line":2}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/voice/_initVerification.md","start":{"line":1},"end":{"line":2}}},{"$$mdtype":"Node","errors":[],"lines":[3,11],"inline":false,"attributes":{"content":"from sinch import SinchClient\n\nsinch_client = SinchClient(\n    application_key=\"YOUR_application_key\",\n    application_secret=\"YOUR_application_secret\"\n)\n","language":"python"},"children":[{"$$mdtype":"Node","errors":[],"lines":[3,11],"inline":false,"attributes":{"content":"from sinch import SinchClient\n\nsinch_client = SinchClient(\n    application_key=\"YOUR_application_key\",\n    application_secret=\"YOUR_application_secret\"\n)\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/voice/_initVerification.md","start":{"line":3},"end":{"line":11}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/voice/_initVerification.md","start":{"line":3},"end":{"line":11}}},{"$$mdtype":"Node","errors":[],"lines":[12,13,25,26],"inline":false,"attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Node","errors":[],"lines":[13,14],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[13,14],"inline":false,"attributes":{},"children":[{"$$mdtype":"Node","errors":[],"lines":[13,14],"inline":true,"attributes":{"content":"For testing purposes on your local environment it's fine to use hardcoded values, but before deploying to production we strongly recommend using environment variables to store the credentials, as in the following example:"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/voice/_initVerification.md","start":{"line":13},"end":{"line":14}}}],"type":"inline","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/voice/_initVerification.md","start":{"line":13},"end":{"line":14}}}],"type":"paragraph","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/voice/_initVerification.md","start":{"line":13},"end":{"line":14}}},{"$$mdtype":"Node","errors":[],"lines":[15,24],"inline":false,"attributes":{"content":"import os\nfrom sinch import SinchClient\n\nsinch_client = SinchClient(\n    application_key=os.getenv(\"APPLICATION_KEY\"),\n    application_secret=os.getenv(\"APPLICATION_SECRET\")\n)\n","language":"python"},"children":[{"$$mdtype":"Node","errors":[],"lines":[15,24],"inline":false,"attributes":{"content":"import os\nfrom sinch import SinchClient\n\nsinch_client = SinchClient(\n    application_key=os.getenv(\"APPLICATION_KEY\"),\n    application_secret=os.getenv(\"APPLICATION_SECRET\")\n)\n"},"children":[],"type":"text","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/voice/_initVerification.md","start":{"line":15},"end":{"line":24}}}],"type":"fence","annotations":[],"slots":{},"location":{"file":"partials/sdk/python/voice/_initVerification.md","start":{"line":15},"end":{"line":24}}}],"type":"tag","tag":"admonition","annotations":[{"type":"attribute","name":"type","value":"info"},{"type":"attribute","name":"name","value":"Note"}],"slots":{},"location":{"file":"partials/sdk/python/voice/_initVerification.md","start":{"line":12},"end":{"line":13}}}],"type":"document","annotations":[],"slots":{}}},"variables":{"rbac":{"teams":["anonymous"]},"user":{},"remoteAddr":{"hostname":"documentation.mailgun.com","port":4000,"ipAddress":"216.73.216.209"},"lang":"default_locale","env":{"PUBLIC_REDOCLY_BRANCH_NAME":"main"}}},"pagePropGetterError":{"message":"","name":""}},"slug":"/docs/mailgun/api-reference/send/mailgun/mailing-lists/get-lists-list_address-members-pages","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}