To get started with Wapi.go, you need to have Golang installed on your machine. If you don’t have Golang installed, you can download it from the official website here.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Wapi.go","colors":{"primary":"#0D9373","light":"#07C983","dark":"#0D9373"},"favicon":"/favicon.svg","logo":{"light":"https://mintcdn.com/softlancer/vO8YSHLeO3ArL664/logo/light.svg?fit=max\u0026auto=format\u0026n=vO8YSHLeO3ArL664\u0026q=85\u0026s=3f8667363198e87aaa7f9cd213534342","dark":"https://mintcdn.com/softlancer/vO8YSHLeO3ArL664/logo/dark.svg?fit=max\u0026auto=format\u0026n=vO8YSHLeO3ArL664\u0026q=85\u0026s=30856305de92b45734eec5cadd4b296c"},"navbar":{"links":[{"label":"Report Bugs","href":"https://github.com/wapikit/wapi.go/issues/new"}],"primary":{"type":"button","label":"Github","href":"https://github.com/wapikit/wapi.go"}},"search":{"prompt":"Search documentation..."},"seo":{"metatags":{"title":"Wapi.go","description":"Wapi.go is a Golang SDK, developed to build whatsapp business apps with ease and faster.","author":"Sarthak Jain \[email protected]>"},"indexing":"navigable"},"footer":{"socials":{"x":"https://x.com/wapikit","github":"https://github.com/wapikit/wapi.go","linkedin":"https://www.linkedin.com/company/wapikit"}},"integrations":{"gtm":{"tagId":"G-7756LGPVG9"}},"navigation":{"global":{"anchors":[{"anchor":"Star us on GitHub","href":"https://github.com/wapikit/wapi.go","icon":"github"},{"anchor":"Sign up for WapiKit","href":"https://app.wapikit.com","icon":"code"},{"anchor":"Community","href":"https://join.slack.com/t/wapikit/shared_invite/zt-2kl7eg29s-4DfP9lFwojQg_yCcyW_w6Q","icon":"slack"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"softlancer","hasAudioNarration":false,"actualSubdomain":"softlancer","customDomains":["golang.wapikit.com"],"gitSource":{"type":"github","owner":"wapikit","repo":"wapi.go","deployBranch":"master","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21e63da8fc07c2afd370d6","collectionId":"98296808-a689-474f-8d03-128b10118158","schemaVersion":"v2"},"entitlements":{},"buildId":"6a53472ad90d51960b93fda4:failure","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"Guide","count":23},{"language":"default","tag":"Building your application","count":9},{"language":"default","tag":"Package Reference Documentation","count":5},{"language":"default","tag":"Packages Documentation","count":5},{"language":"default","tag":"Others","count":4},{"language":"default","tag":"Whatsapp API setup","count":4},{"language":"default","tag":"Installation and Preparations","count":2}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"guide/installation-and-preparations/setup-golang","slug":"/guide/installation-and-preparations/setup-golang","pageMetadata":{"title":null,"description":null,"href":"/guide/installation-and-preparations/setup-golang"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,p:`p`,..._provideComponents(),...props.components},{Tip}=_components;if(!Tip)_missingMdxReference(`Tip`,true);return _jsx(Tip,{children:_jsxs(_components.p,{children:[`To get started with Wapi.go, you need to have Golang installed on your machine. If you don’t have Golang installed, you can download it from the official website `,_jsx(_components.a,{href:`https://go.dev/doc/install`,children:`here`}),`.`]})})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":null,"description":null,"href":"/guide/installation-and-preparations/setup-golang"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"subdomain":"softlancer","siteName":"Wapi.go","title":"Setup golang - Wapi.go","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T02:43:24.049Z","originalFileLocation":"guide/installation-and-preparations/setup-golang.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Wapi.go is a Golang SDK, developed to build whatsapp business apps with ease and faster.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Wapi.go\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/softlancer/G9CINhT0VygGf9Xr/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/softlancer/G9CINhT0VygGf9Xr/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/softlancer/G9CINhT0VygGf9Xr/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/softlancer/G9CINhT0VygGf9Xr/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/softlancer/G9CINhT0VygGf9Xr/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/softlancer/G9CINhT0VygGf9Xr/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/softlancer/G9CINhT0VygGf9Xr/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/softlancer/G9CINhT0VygGf9Xr/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/softlancer/G9CINhT0VygGf9Xr/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Setup golang - Wapi.go\">\u003cmeta data-mint-head property=\"og:description\" content=\"Wapi.go is a Golang SDK, developed to build whatsapp business apps with ease and faster.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Wapi.go\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://golang.wapikit.com/guide/installation-and-preparations/setup-golang\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://softlancer.mintlify.app/_mintlify/api/og/v2?division=Installation+and+Preparations\u0026amp;title=Setup+golang\u0026amp;theme=e33175fa8be1244d98ecd03a\u0026amp;signature=7067899d6aeb0caba577a5f87467b1ffd4e8cd8cb0b44d8ed8e75ef5c7c6e589\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Setup golang - Wapi.go\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Wapi.go is a Golang SDK, developed to build whatsapp business apps with ease and faster.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://softlancer.mintlify.app/_mintlify/api/og/v2?division=Installation+and+Preparations\u0026amp;title=Setup+golang\u0026amp;theme=e33175fa8be1244d98ecd03a\u0026amp;signature=7067899d6aeb0caba577a5f87467b1ffd4e8cd8cb0b44d8ed8e75ef5c7c6e589\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/softlancer/G9CINhT0VygGf9Xr/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Wapi.go\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003cmeta data-mint-head name=\"author\" content=\"Sarthak Jain \u0026lt;[email protected]\u0026gt;\">\u003clink data-mint-head rel=\"canonical\" href=\"https://golang.wapikit.com/guide/installation-and-preparations/setup-golang\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guide/installation-and-preparations/setup-golang.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://golang.wapikit.com/#organization\",\"name\":\"Wapi.go\",\"url\":\"https://golang.wapikit.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/softlancer/vO8YSHLeO3ArL664/logo/light.svg?fit=max\u0026auto=format\u0026n=vO8YSHLeO3ArL664\u0026q=85\u0026s=3f8667363198e87aaa7f9cd213534342\"}},{\"@type\":\"WebSite\",\"@id\":\"https://golang.wapikit.com#website\",\"name\":\"Wapi.go\",\"url\":\"https://golang.wapikit.com\",\"publisher\":{\"@id\":\"https://golang.wapikit.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://golang.wapikit.com/guide/installation-and-preparations/setup-golang#webpage\",\"url\":\"https://golang.wapikit.com/guide/installation-and-preparations/setup-golang\",\"name\":\"Setup golang\",\"dateModified\":\"2026-01-07T02:43:24.049Z\",\"isPartOf\":{\"@id\":\"https://golang.wapikit.com#website\"},\"breadcrumb\":{\"@id\":\"https://golang.wapikit.com/guide/installation-and-preparations/setup-golang#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://golang.wapikit.com/guide/installation-and-preparations/setup-golang#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Wapi.go\",\"item\":\"https://golang.wapikit.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Setup golang\",\"item\":\"https://golang.wapikit.com/guide/installation-and-preparations/setup-golang\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://golang.wapikit.com/guide/installation-and-preparations/setup-golang#article\",\"headline\":\"Setup golang\",\"name\":\"Setup golang\",\"url\":\"https://golang.wapikit.com/guide/installation-and-preparations/setup-golang\",\"mainEntityOfPage\":{\"@id\":\"https://golang.wapikit.com/guide/installation-and-preparations/setup-golang#webpage\"},\"dateModified\":\"2026-01-07T02:43:24.049Z\",\"publisher\":{\"@id\":\"https://golang.wapikit.com/#organization\"},\"isPartOf\":{\"@id\":\"https://golang.wapikit.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Wapi.go\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Wapi.go","nav":{"global":{"anchors":[{"anchor":"Star us on GitHub","href":"https://github.com/wapikit/wapi.go","icon":"github"},{"anchor":"Sign up for WapiKit","href":"https://app.wapikit.com","icon":"code"},{"anchor":"Community","href":"https://join.slack.com/t/wapikit/shared_invite/zt-2kl7eg29s-4DfP9lFwojQg_yCcyW_w6Q","icon":"slack"}]},"tabs":[{"tab":"Guide","groups":[{"group":"Guide","pages":[{"title":"Introduction","href":"/guide/introduction"},{"title":"Quick Start Guide","description":"Welcome to the home of your new documentation","href":"/guide/quickstart"}]},{"group":"Installation and Preparations","pages":[{"title":null,"href":"/guide/installation-and-preparations/setup-golang"},{"title":"Setting up Wapi.go Application Development Environment","description":null,"href":"/guide/installation-and-preparations/creating-application"}]},{"group":"Whatsapp API setup","pages":[{"title":"WhatsApp Business Platform","href":"/guide/whatsapp-api-setup/understanding-whatsapp-business-platform"},{"title":"Create a Meta Business App","href":"/guide/whatsapp-api-setup/creating-business-app"},{"title":"Getting API Key for WhatsApp Cloud Platform","href":"/guide/whatsapp-api-setup/getting-api-key"},{"title":"Configuring Webhook","href":"/guide/whatsapp-api-setup/configuring-webhook"}]},{"group":"Building your application","pages":[{"title":"Wapi.go SDK Architecture","href":"/guide/building-your-application/sdk-architecture"},{"title":"Managing Business Account","href":"/guide/building-your-application/managing-business-account"},{"title":"Manage Message Templates","href":"/guide/building-your-application/managing-message-templates"},{"title":"Managing Phone Numbers","href":"/guide/building-your-application/managing-phone-numbers"},{"title":"Building Message Components","href":"/guide/building-your-application/building-message-components"},{"title":"Sending Messages","href":"/guide/building-your-application/sending-messages"},{"title":"Handle Events","href":"/guide/building-your-application/event-handling"},{"title":"Replying and Reacting to messages","href":"/guide/building-your-application/replying-and-reacting"},{"title":"Handling Media","href":"/guide/building-your-application/handling-media"}]},{"group":"Others","pages":[{"title":"Scope of Wapi.go SDK","href":"/guide/wapijs-sdk-scope"},{"title":"Important Reference Links","href":"/guide/references"},{"title":"Contributing to Wapi.go","href":"/guide/contributing"},{"title":null,"href":"/guide/contact"}]}]},{"tab":"Package Reference Documentation","groups":[{"group":"Packages Documentation","pages":[{"title":null,"href":"/api-reference/pkg/messaging"},{"title":null,"href":"/api-reference/pkg/components"},{"title":null,"href":"/api-reference/pkg/events"},{"title":null,"href":"/api-reference/pkg/business"},{"title":null,"href":"/api-reference/internal/manager"}]}]}]},"basePath":"","title":"Setup golang - Wapi.go","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":[],"chunks":[]}