Cache the profile picture URLs to reduce API calls. Profile pictures don’t change frequently.
The profile picture URLs are temporary and may expire. Always fetch a fresh URL if you encounter a broken image.
Some users may have privacy settings that prevent you from viewing their profile picture. In such cases, the URL will be null or point to a default image.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Hypersender","description":"Send WhatsApp and SMS messages from your own numbers with the Hypersender API. Guides, REST API reference, webhook events, and Laravel SDK docs.","colors":{"primary":"#10b981","light":"#059669","dark":"#10b981"},"logo":{"light":"https://mintcdn.com/hypersender/RX4Bj-Mb6ti70ZQe/logo/light.svg?fit=max\u0026auto=format\u0026n=RX4Bj-Mb6ti70ZQe\u0026q=85\u0026s=e38aff8c21e09ed683da236a8ffe8e13","dark":"https://mintcdn.com/hypersender/RX4Bj-Mb6ti70ZQe/logo/dark.svg?fit=max\u0026auto=format\u0026n=RX4Bj-Mb6ti70ZQe\u0026q=85\u0026s=31d31abc2839f94267a1548817b83538","href":"https://docs.hypersender.com"},"favicon":"https://mintcdn.com/hypersender/dAZ_QYs7yJAVpPpO/favicon.svg?fit=max\u0026auto=format\u0026n=dAZ_QYs7yJAVpPpO\u0026q=85\u0026s=74d0e86aaf7cdfe05cbdf2c13a044dec","background":{"image":{"light":"https://mintcdn.com/hypersender/QHanPLHbv0ntvGTU/images/background.png?fit=max\u0026auto=format\u0026n=QHanPLHbv0ntvGTU\u0026q=85\u0026s=bfcb110c086b77caa501a84cab4586a4","dark":"https://mintcdn.com/hypersender/QHanPLHbv0ntvGTU/images/background-dark.png?fit=max\u0026auto=format\u0026n=QHanPLHbv0ntvGTU\u0026q=85\u0026s=3137c58a2031e6febc74d0c1ec3632ac"}},"navbar":{"links":[{"href":"mailto:[email protected]","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.hypersender.com"}},"footer":{"socials":{"x":"https://x.com/hypersender","github":"https://github.com/hypersender","linkedin":"https://linkedin.com/company/hypersender"}},"search":{"prompt":"Search WhatsApp \u0026 SMS API docs"},"seo":{"metatags":{"canonical":"https://docs.hypersender.com","og:site_name":"Hypersender Docs","og:locale":"en_US","twitter:card":"summary_large_image","twitter:site":"@hypersender","robots":"index, follow","googlebot":"index, follow","author":"Hypersender","theme-color":"#10b981"},"organization":{"id":"https://hypersender.com/#organization","name":"Hypersender","url":"https://hypersender.com","sameAs":["https://x.com/hypersender","https://github.com/hypersender","https://linkedin.com/company/hypersender"]},"indexing":"navigable"},"styling":{"eyebrows":"breadcrumbs","latex":false},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":true},"navigation":{"global":{"anchors":[{"anchor":"WhatsApp Support","icon":"whatsapp","href":"https://wa.me/201065684630"},{"anchor":"Discord Support","icon":"discord","href":"https://discord.gg/ysSmK32ykC"},{"anchor":"Blog","icon":"newspaper","href":"https://hypersender.com/blog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"hypersender","hasAudioNarration":false,"actualSubdomain":"hypersender","customDomains":["docs.hypersender.com"],"gitSource":{"type":"github","owner":"hypersender","repo":"docs-v2","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6aef799cae7fce64eaea8c9e","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"Whatsapp API","count":72},{"language":"default","tag":"SMS API","count":58},{"language":"default","tag":"WhatsApp API","count":47},{"language":"default","tag":"Send Messages","count":36},{"language":"default","tag":"Packages and SDKs","count":30},{"language":"default","tag":"Laravel","count":28},{"language":"default","tag":"SMS Webhooks","count":26},{"language":"default","tag":"Enterprise WhatsApp API","count":22},{"language":"default","tag":"Guides","count":21},{"language":"default","tag":"Overview","count":18}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"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":"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":"editor-metadata","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},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".prose{--tw-prose-code: #10b981}.dark .prose{--tw-prose-code: #34d399}.prose :not(pre)>code,.mdx-prose :not(pre)>code,article :not(pre)>code{color:#10b981!important}.dark .prose :not(pre)>code,.dark .mdx-prose :not(pre)>code,.dark article :not(pre)>code{color:#34d399!important}"}],"page":{"pagePath":"v2/api-reference/whatsapp/contacts/get-profile-picture","slug":"/v2/api-reference/whatsapp/contacts/get-profile-picture","pageMetadata":{"title":"Get Profile Picture","description":"Retrieve the profile picture URL for a specific contact.","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json GET /{instance}/contacts/profile-picture","href":"/v2/api-reference/whatsapp/contacts/get-profile-picture"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Retrieve the profile picture URL for a specific contact.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Info,Note,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Get the profile picture URL for any contact in your WhatsApp instance.`}),`\n`,_jsx(_components.p,{children:`This endpoint allows you to:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Retrieve profile picture URLs for contacts`}),`\n`,_jsx(_components.li,{children:`Display contact avatars in your application`}),`\n`,_jsx(_components.li,{children:`Verify contact identity visually`}),`\n`]}),`\n`,_jsx(Info,{children:_jsx(_components.p,{children:`The returned URL is a direct link to the WhatsApp CDN where the profile picture is hosted.`})}),`\n`,_jsx(Heading,{level:`2`,id:`use-cases`,children:`Use Cases`}),`\n`,_jsx(Heading,{level:`3`,id:`display-contact-avatars`,children:`Display Contact Avatars`}),`\n`,_jsx(_components.p,{children:`Show contact profile pictures in your application’s UI for better user experience.`}),`\n`,_jsx(Heading,{level:`3`,id:`contact-identity-verification`,children:`Contact Identity Verification`}),`\n`,_jsx(_components.p,{children:`Visually verify contact identity before sending sensitive information.`}),`\n`,_jsx(Heading,{level:`3`,id:`crm-integration`,children:`CRM Integration`}),`\n`,_jsx(_components.p,{children:`Sync contact profile pictures to your CRM system for better contact management.`}),`\n`,_jsx(Heading,{level:`3`,id:`chat-interface`,children:`Chat Interface`}),`\n`,_jsx(_components.p,{children:`Build a chat interface that displays profile pictures alongside messages.`}),`\n`,_jsx(Heading,{level:`2`,id:`request-parameters`,children:`Request Parameters`}),`\n`,_jsx(Heading,{level:`3`,id:`chat_id`,children:`chat_id`}),`\n`,_jsx(_components.p,{children:`The contact identifier can be in one of these formats:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Phone number`}),`: `,_jsx(_components.code,{children:`123123123`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Chat ID (regular)`}),`: `,_jsx(_components.code,{children:`[email protected]`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Chat ID (lid)`}),`: `,_jsx(_components.code,{children:`123123@lid`})]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`response-examples`,children:`Response Examples`}),`\n`,_jsx(Heading,{level:`3`,id:`successful-response`,children:`Successful Response`}),`\n`,_jsx(_components.p,{children:`When the profile picture is found:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Profile picture retrieved successfully.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"profilePictureURL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://pps.whatsapp.net/v/t61.24694-24/374498176_337577482181161_7091117586184162691_n.jpg?ccb=11-4\u0026oh=01_Q5Aa3gEERUGD4fegyplSv2MnHmt_UIA9JnpjREhSJMNVWZC-RA\u0026oe=6970FAAA\u0026_nc_sid=5e03e0\u0026_nc_cat=104\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`no-profile-picture`,children:`No Profile Picture`}),`\n`,_jsx(_components.p,{children:`When the contact has no profile picture:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Profile picture not available.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"profilePictureURL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`best-practices`,children:`Best Practices`}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Cache the profile picture URLs to reduce API calls. Profile pictures don’t change frequently.`})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`The profile picture URLs are temporary and may expire. Always fetch a fresh URL if you encounter a broken image.`})}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`Some users may have privacy settings that prevent you from viewing their profile picture. In such cases, the URL will be null or point to a default image.`})}),`\n`,_jsx(Heading,{level:`2`,id:`integration-example`,children:`Integration Example`}),`\n`,_jsx(Heading,{level:`3`,id:`displaying-profile-pictures-in-your-app`,children:`Displaying Profile Pictures in Your App`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`20`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`20`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Fetch profile picture`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `https://app.hypersender.com/api/whatsapp/v2/\"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`instance`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/contacts/profile-picture?chat_id=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`chatId`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `Bearer \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`apiKey`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'application/json'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Use the URL in your UI`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`profilePictureURL`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getElementById`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'avatar'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`).`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`src`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`profilePictureURL`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`} `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`else`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Use a default avatar`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getElementById`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'avatar'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`).`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`src`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '/default-avatar.png'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})}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":"Get Profile Picture","description":"Retrieve the profile picture URL for a specific contact.","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json GET /{instance}/contacts/profile-picture","href":"/v2/api-reference/whatsapp/contacts/get-profile-picture"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Use Cases","slug":"use-cases","depth":2,"children":[{"title":"Display Contact Avatars","slug":"display-contact-avatars","depth":3,"children":[]},{"title":"Contact Identity Verification","slug":"contact-identity-verification","depth":3,"children":[]},{"title":"CRM Integration","slug":"crm-integration","depth":3,"children":[]},{"title":"Chat Interface","slug":"chat-interface","depth":3,"children":[]}]},{"title":"Request Parameters","slug":"request-parameters","depth":2,"children":[{"title":"chat_id","slug":"chat_id","depth":3,"children":[]}]},{"title":"Response Examples","slug":"response-examples","depth":2,"children":[{"title":"Successful Response","slug":"successful-response","depth":3,"children":[]},{"title":"No Profile Picture","slug":"no-profile-picture","depth":3,"children":[]}]},{"title":"Best Practices","slug":"best-practices","depth":2,"children":[]},{"title":"Integration Example","slug":"integration-example","depth":2,"children":[{"title":"Displaying Profile Pictures in Your App","slug":"displaying-profile-pictures-in-your-app","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"x-hidden":true,"tags":["Contacts"],"summary":"Get profile picture","description":"Retrieve the profile picture URL for a specific contact.","parameters":["7d54f19e-2f0b-49ac-a3de-224ede210202","fd7d01b2-e8d6-4fad-ad6f-17c87d609a71","9230c570-8d27-478f-8484-d73e25c13ef4","d6cc0c41-bf1c-4bec-b51a-3296ce11592c"],"responses":{"200":"c7d29347-4e89-48d4-bd86-f83a69ed83df","404":"fa8f544a-74f6-4971-9228-00e3481d1363","422":"91ff45ce-da34-4f14-aa08-e949f5191cca","500":"85e473af-55b1-4e38-b113-6ce3d67848a9"},"security":["6e4c2e50-6e14-4439-9927-3e1049c15888"],"method":"get","type":"path","servers":["311d1d68-49d0-4be0-b903-20b92468febc"],"path":"/{instance}/contacts/profile-picture","baseUrlOptions":["https://app.hypersender.com/api/whatsapp/v2"],"title":"Get profile picture","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"7d54f19e-2f0b-49ac-a3de-224ede210202":{"name":"Accept","in":"header","description":"application/json","schema":{"type":"string","example":"application/json","description":"application/json","uniqueKey":"","typeLabel":"string"}},"fd7d01b2-e8d6-4fad-ad6f-17c87d609a71":{"name":"Content-Type","in":"header","description":"application/json","schema":{"type":"string","example":"application/json","description":"application/json","uniqueKey":"","typeLabel":"string"}},"9230c570-8d27-478f-8484-d73e25c13ef4":{"name":"instance","in":"path","description":"Instance UUID copied from hypersender dashboard","required":true,"schema":{"type":"string","example":"{{ instance_id }}","isRequired":true,"description":"Instance UUID copied from hypersender dashboard","uniqueKey":"","typeLabel":"string"}},"d6cc0c41-bf1c-4bec-b51a-3296ce11592c":{"name":"chat_id","in":"query","description":"Phone number (123123123) or chat ID ([email protected] or 123123@lid)","required":true,"schema":{"type":"string","example":"100875997589545@lid","isRequired":true,"description":"Phone number (123123123) or chat ID ([email protected] or 123123@lid)","uniqueKey":"","typeLabel":"string"}}},"responses":{"c7d29347-4e89-48d4-bd86-f83a69ed83df":{"description":"Profile picture retrieved successfully","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Profile picture retrieved successfully.","uniqueKey":"message","typeLabel":"string"},"data":{"type":"object","properties":{"profilePictureURL":{"type":"string","description":"URL of the profile picture","example":"https://pps.whatsapp.net/v/t61.24694-24/374498176_337577482181161_7091117586184162691_n.jpg?ccb=11-4\u0026oh=01_Q5Aa3gEERUGD4fegyplSv2MnHmt_UIA9JnpjREhSJMNVWZC-RA\u0026oe=6970FAAA\u0026_nc_sid=5e03e0\u0026_nc_cat=104","uniqueKey":"data.profilePictureURL","typeLabel":"string"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Profile picture retrieved successfully.","data":{"profilePictureURL":"https://pps.whatsapp.net/v/t61.24694-24/374498176_337577482181161_7091117586184162691_n.jpg?ccb=11-4\u0026oh=01_Q5Aa3gEERUGD4fegyplSv2MnHmt_UIA9JnpjREhSJMNVWZC-RA\u0026oe=6970FAAA\u0026_nc_sid=5e03e0\u0026_nc_cat=104"}}}},"exampleType":"generated"}},"exampleType":"generated"},"fa8f544a-74f6-4971-9228-00e3481d1363":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","title":"NotFoundError","example":{"message":"Resource not found."},"properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"x-examples":{"Example 1":{"message":"Resource not found."}},"x-stoplight":{"id":"ar3vz55asbxme"},"uniqueKey":"","typeLabel":"NotFoundError · object"},"examples":{"Example":{"title":"Example","value":{"message":"Resource not found."}}},"exampleType":"generated"}},"exampleType":"generated"},"91ff45ce-da34-4f14-aa08-e949f5191cca":{"description":"Validation Error","content":{"application/json":{"schema":{"type":"object","title":"ValidationError","properties":{"errors":{"type":"object","description":"Invalid or missing feilds will be shown here","isRequired":true,"uniqueKey":"errors","typeLabel":"object"},"statusCode":{"type":"number","isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"example":{"message":"The given data was invalid.","errors":{},"statusCode":422},"required":["errors","statusCode"],"x-examples":{"Multiple fields Error":{"message":"The given data was invalid.","errors":{"messages":["The number you want to send the message to is not on whatsapp."],"jid":"[email protected]","exists":false},"statusCode":422},"Single Field error ":{"message":"The given data was invalid.","errors":{"messages":["textMessage.text should not be empty"]},"statusCode":422}},"x-stoplight":{"id":"90x3wfxw7gqcb"},"uniqueKey":"","typeLabel":"ValidationError · object"},"examples":{"Example":{"title":"Example","value":{"message":"The given data was invalid.","errors":{},"statusCode":422}}},"exampleType":"generated"}},"exampleType":"generated"},"85e473af-55b1-4e38-b113-6ce3d67848a9":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","title":"ServerError","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"example":{"message":"Internal Server Error"},"x-stoplight":{"id":"2fhq2gihsfreh"},"uniqueKey":"","typeLabel":"ServerError · object"},"examples":{"Example":{"title":"Example","value":{"message":"Internal Server Error"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"6e4c2e50-6e14-4439-9927-3e1049c15888":{"Authorization":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"Authorization"}}},"servers":{"311d1d68-49d0-4be0-b903-20b92468febc":{"url":"https://app.hypersender.com/api/whatsapp/v2","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"Authorization"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"Authorization","name":"Authorization"}],"title":"Authorization"}]},"originalFileLocation":"v2/api-reference/whatsapp/whatsapp-collection.json"},"subdomain":"hypersender","siteName":"Hypersender","title":"Get Profile Picture - Hypersender","navMaps":{"firstHrefInVersion":{"v2":{"href":"/v2/api-reference/whatsapp/contacts/get-profile-picture","matchLevel":0},"v1":{"href":"/v1/api-reference/whatsapp/send-messages/send-text-safe","matchLevel":2}},"firstHrefInLanguage":{}},"lastModified":"2026-06-25T13:57:43.260Z","gitLastModified":"2026-06-25T13:57:23.000Z","originalFileLocation":"v2/api-reference/whatsapp/contacts/get-profile-picture.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=\"Retrieve the profile picture URL for a specific contact.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Hypersender\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/hypersender/YssXEy8fq447EilS/_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/hypersender/YssXEy8fq447EilS/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/hypersender/YssXEy8fq447EilS/_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/hypersender/YssXEy8fq447EilS/_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/hypersender/YssXEy8fq447EilS/_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/hypersender/YssXEy8fq447EilS/_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/hypersender/YssXEy8fq447EilS/_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/hypersender/YssXEy8fq447EilS/_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/hypersender/YssXEy8fq447EilS/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Profile Picture - Hypersender\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve the profile picture URL for a specific contact.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Hypersender Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.hypersender.com/v2/api-reference/whatsapp/contacts/get-profile-picture\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://hypersender.mintlify.site/_mintlify/api/og/v2?division=Contacts\u0026amp;title=Get+Profile+Picture\u0026amp;description=Retrieve+the+profile+picture+URL+for+a+specific+contact.\u0026amp;theme=d6765127fbd2a000fa399d12\u0026amp;signature=8bd4b55d327ebf604e693da5584e6418b7ceb5b3d1d70ad59bf99ff0aaf657ca\">\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=\"Get Profile Picture - Hypersender\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve the profile picture URL for a specific contact.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://hypersender.mintlify.site/_mintlify/api/og/v2?division=Contacts\u0026amp;title=Get+Profile+Picture\u0026amp;description=Retrieve+the+profile+picture+URL+for+a+specific+contact.\u0026amp;theme=d6765127fbd2a000fa399d12\u0026amp;signature=8bd4b55d327ebf604e693da5584e6418b7ceb5b3d1d70ad59bf99ff0aaf657ca\">\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/hypersender/YssXEy8fq447EilS/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Hypersender\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#10b981\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003cmeta data-mint-head name=\"googlebot\" content=\"index, follow\">\u003cmeta data-mint-head name=\"author\" content=\"Hypersender\">\u003cmeta data-mint-head name=\"theme-color\" content=\"#10b981\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.hypersender.com/v2/api-reference/whatsapp/contacts/get-profile-picture\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/v2/api-reference/whatsapp/contacts/get-profile-picture.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://hypersender.com/#organization\",\"name\":\"Hypersender\",\"url\":\"https://hypersender.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/hypersender/RX4Bj-Mb6ti70ZQe/logo/light.svg?fit=max\u0026auto=format\u0026n=RX4Bj-Mb6ti70ZQe\u0026q=85\u0026s=e38aff8c21e09ed683da236a8ffe8e13\"},\"sameAs\":[\"https://x.com/hypersender\",\"https://github.com/hypersender\",\"https://linkedin.com/company/hypersender\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.hypersender.com#website\",\"name\":\"Hypersender\",\"url\":\"https://docs.hypersender.com\",\"publisher\":{\"@id\":\"https://hypersender.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.hypersender.com/v2/api-reference/whatsapp/contacts/get-profile-picture#webpage\",\"url\":\"https://docs.hypersender.com/v2/api-reference/whatsapp/contacts/get-profile-picture\",\"name\":\"Get Profile Picture\",\"description\":\"Retrieve the profile picture URL for a specific contact.\",\"dateModified\":\"2026-06-25T13:57:23.000Z\",\"isPartOf\":{\"@id\":\"https://docs.hypersender.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.hypersender.com/v2/api-reference/whatsapp/contacts/get-profile-picture#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.hypersender.com/v2/api-reference/whatsapp/contacts/get-profile-picture#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"WhatsApp API\",\"item\":\"https://docs.hypersender.com/v2/api-reference/whatsapp/send-messages/send-text-safe\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Contacts\",\"item\":\"https://docs.hypersender.com/v2/api-reference/whatsapp/contacts/check-contact-exists\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get Profile Picture\",\"item\":\"https://docs.hypersender.com/v2/api-reference/whatsapp/contacts/get-profile-picture\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.hypersender.com/v2/api-reference/whatsapp/contacts/get-profile-picture#apireference\",\"headline\":\"Get Profile Picture\",\"name\":\"Get Profile Picture\",\"description\":\"Retrieve the profile picture URL for a specific contact.\",\"url\":\"https://docs.hypersender.com/v2/api-reference/whatsapp/contacts/get-profile-picture\",\"mainEntityOfPage\":{\"@id\":\"https://docs.hypersender.com/v2/api-reference/whatsapp/contacts/get-profile-picture#webpage\"},\"dateModified\":\"2026-06-25T13:57:23.000Z\",\"publisher\":{\"@id\":\"https://hypersender.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.hypersender.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Hypersender\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Hypersender","nav":{"global":{"anchors":[{"anchor":"WhatsApp Support","icon":"whatsapp","href":"https://wa.me/201065684630"},{"anchor":"Discord Support","icon":"discord","href":"https://discord.gg/ysSmK32ykC"},{"anchor":"Blog","icon":"newspaper","href":"https://hypersender.com/blog"}]},"versions":[{"version":"v2","tabs":[{"tab":"Guides","icon":"book","pages":[{"title":"Guides","href":"/v2/hypersender/hypersender-api-for-whatsapp-and-sms-messaging"}]},{"tab":"Whatsapp API","icon":"whatsapp","groups":[{"group":"Overview","boost":3,"pages":[{"title":"WhatsApp API Introduction","href":"/v2/api-reference/whatsapp/whatsapp-api-introduction"},{"title":"Queued Requests","href":"/v2/api-reference/whatsapp/queued-requests"},{"title":"What is chatId?","href":"/v2/api-reference/whatsapp/what-is-chatid"},{"title":"How to Send a WhatsApp Message in Postman","mode":"wide","href":"/v2/api-reference/whatsapp/how-to-send-a-whatsapp-message-in-postman"}]},{"group":"WhatsApp API","pages":[{"group":"Send Messages","pages":[{"title":"Send Text Safe","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/send-text-safe","href":"/v2/api-reference/whatsapp/send-messages/send-text-safe"},{"title":"Send Text","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/send-text","href":"/v2/api-reference/whatsapp/send-messages/send-text"},{"title":"Send Link Custom Preview","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/send-link-custom-preview","href":"/v2/api-reference/whatsapp/send-messages/send-link-custom-preview"},{"title":"Send File","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/send-file","href":"/v2/api-reference/whatsapp/send-messages/send-file"},{"title":"Send Video","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/send-video","href":"/v2/api-reference/whatsapp/send-messages/send-video"},{"title":"Send Image","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/send-image","href":"/v2/api-reference/whatsapp/send-messages/send-image"},{"title":"Send a Voice Message","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/send-voice","href":"/v2/api-reference/whatsapp/send-messages/send-a-voice-message"},{"title":"Forward Message","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/forward-message","href":"/v2/api-reference/whatsapp/send-messages/forward-message"},{"title":"Send Seen","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/send-seen","href":"/v2/api-reference/whatsapp/send-messages/send-seen"},{"title":"Read Chat","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/read-chat","href":"/v2/api-reference/whatsapp/send-messages/read-chat"},{"title":"Start Typing","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/start-typing","href":"/v2/api-reference/whatsapp/send-messages/start-typing"},{"title":"Stop Typing","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/stop-typing","href":"/v2/api-reference/whatsapp/send-messages/stop-typing"},{"title":"Send Poll","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/send-poll","href":"/v2/api-reference/whatsapp/send-messages/send-poll"},{"title":"Send Contact Card","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/send-contact-card","href":"/v2/api-reference/whatsapp/send-messages/send-contact-card"},{"title":"Send Location","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/send-location","href":"/v2/api-reference/whatsapp/send-messages/send-location"},{"title":"React to Message","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json PUT /{instance}/react-to-message","href":"/v2/api-reference/whatsapp/send-messages/react-to-message"},{"title":"Star Message","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json PUT /{instance}/star-message","href":"/v2/api-reference/whatsapp/send-messages/star-message"},{"title":"Delete WhatsApp Message","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json DELETE /{instance}/delete-message","href":"/v2/api-reference/whatsapp/send-messages/delete-whatsapp-message"}]},{"group":"Queued Requests","pages":[{"title":"Get Queued Request","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json GET /{instance}/queued-requests/{queued_request_uuid}","href":"/v2/api-reference/whatsapp/queued-requests/get-queued-request"}]},{"group":"Contacts","pages":[{"title":"Check Contact Exists","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/contacts/check-exists","href":"/v2/api-reference/whatsapp/contacts/check-contact-exists"},{"title":"Get All Contacts","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json GET /{instance}/contacts/get-all","href":"/v2/api-reference/whatsapp/contacts/get-all-contacts"},{"title":"Get Contact","description":"Retrieve a specific contact by phone number or chat ID.","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json GET /{instance}/contacts/get","href":"/v2/api-reference/whatsapp/contacts/get-contact"},{"title":"Get Profile Picture","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json GET /{instance}/contacts/profile-picture","href":"/v2/api-reference/whatsapp/contacts/get-profile-picture"},{"title":"Upsert Contact","description":"Update or create a contact in your phone address book and WhatsApp.","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/contacts/upsert","href":"/v2/api-reference/whatsapp/contacts/upsert-contact"},{"title":"Get All Known LIDs","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json GET /{instance}/contacts/get-all-known-lids","href":"/v2/api-reference/whatsapp/contacts/get-all-known-lids"},{"title":"Get Count of LIDs","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json GET /{instance}/contacts/get-lids-count","href":"/v2/api-reference/whatsapp/contacts/get-count-of-lids"},{"title":"Get Phone Number by LID","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json GET /{instance}/contacts/get-phone-number-by-lid","href":"/v2/api-reference/whatsapp/contacts/get-phone-number-by-lid"},{"title":"Get LID by Phone Number","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json GET /{instance}/contacts/get-lid-by-phone-number","href":"/v2/api-reference/whatsapp/contacts/get-lid-by-phone-number"}]},{"group":"Queued Requests","pages":[]},{"group":"Send Messages","pages":[]},{"group":"Contacts","pages":[]}]},{"group":"Whatsapp Webhooks","pages":[{"title":"WhatsApp Webhooks Introduction","href":"/v2/api-reference/whatsapp-webhooks/whatsapp-webhooks-introduction"},{"group":"Presence","pages":[{"title":"Presence Update","openapi":"v2/api-reference/whatsapp-webhooks/whatsapp-webhooks.json webhook presence-update","href":"/v2/api-reference/whatsapp-webhooks/presence-update"}]},{"group":"Messages","pages":[{"title":"Messages Any","openapi":"v2/api-reference/whatsapp-webhooks/whatsapp-webhooks.json webhook messages-any","href":"/v2/api-reference/whatsapp-webhooks/messages-any"},{"title":"Message Reaction","openapi":"v2/api-reference/whatsapp-webhooks/whatsapp-webhooks.json webhook messages-reaction","href":"/v2/api-reference/whatsapp-webhooks/message-reaction"},{"title":"Messages Ack","openapi":"v2/api-reference/whatsapp-webhooks/whatsapp-webhooks.json webhook messages-ack","href":"/v2/api-reference/whatsapp-webhooks/messages-ack"},{"title":"Messages Waiting","openapi":"v2/api-reference/whatsapp-webhooks/whatsapp-webhooks.json webhook messages-waiting","href":"/v2/api-reference/whatsapp-webhooks/messages-waiting"},{"title":"Messages Revoked","openapi":"v2/api-reference/whatsapp-webhooks/whatsapp-webhooks.json webhook messages-revoked","href":"/v2/api-reference/whatsapp-webhooks/messages-revoked"}]},{"group":"Poll","pages":[{"title":"Poll Vote","openapi":"v2/api-reference/whatsapp-webhooks/whatsapp-webhooks.json webhook poll-vote","href":"/v2/api-reference/whatsapp-webhooks/poll-vote"},{"title":"Poll Vote Failed","openapi":"v2/api-reference/whatsapp-webhooks/whatsapp-webhooks.json webhook poll-vote-failed","href":"/v2/api-reference/whatsapp-webhooks/poll-vote-failed"}]},{"group":"Presence","pages":[]},{"group":"Messages","pages":[]},{"group":"Poll","pages":[]}]}]},{"tab":"OTP API","icon":"lock","pages":[{"title":"OTP API","href":"/v2/api-reference/otp/otp-api-introduction"}]},{"tab":"SMS API","icon":"message","pages":[{"title":"SMS API","href":"/v2/api-reference/sms/sms-api-introduction"}]},{"tab":"Enterprise WhatsApp API","icon":"fire","pages":[{"title":"Enterprise WhatsApp API","href":"/v2/api-reference/enterprise/enterprise-whatsapp-api-introduction"}]},{"tab":"Packages and SDKs","icon":"box-open","pages":[{"title":"Packages and SDKs","href":"/v2/packages-and-sdks/packages-and-sdks-overview"}]}]},{"version":"v1","pages":[{"title":"v1","href":"/v1/api-reference/whatsapp/send-messages/send-text-safe"}]}]},"basePath":"","title":"Get Profile Picture - Hypersender","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-5FCzAcfS.js","utils-SLtAG4EZ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-2DZi8ZMu.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D7J3nkzE.js","snippetPresets-D0Alv0AH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BI4qNJ2c.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BD3uyr8j.js","shallow-D8iEBr5z.js","getApiPlaygroundDisplay-CgNP4lzR.js","CodeSnippet-CX-QHuMs.js","CodeSnippets-VlXE-ZUf.js","Page-D9ithiIZ.js","getPastedJson-DYNQkZ1M.js","icon-CzacdwOi.js","MethodPill-2JVqoYKi.js","DuplicateIcon-_xVXs-U8.js","createIcon-BRHrweLo.js","DynamicMarkdown-mQG_iQiE.js","SectionHeading-DMpJzv8f.js","axios-vUo_bRtp.js","Markdown-5FGIym-8.js","clsx-D-TRO5q5.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CdrJecqK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CHlcWBLM.js"]}