---
title: "Get WhatsApp sender public key"
method: GET
path: "/whatsapp/1/senders/{sender}/public-key"
tags: ["channels", "whatsapp", "whatsapp-service-management", "whatsapp-sender-management"]
---

# Get WhatsApp sender public key

`GET /whatsapp/1/senders/{sender}/public-key`

## Request

- Base URL: `https://api.infobip.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.infobip.com/whatsapp/1/senders/{sender}/public-key`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.infobip.com/auth/1/oauth2/token`
  - API key in header `Authorization`
  - API key in header `Authorization`
  - HTTP basic

Retrieves the public key for WhatsApp encryption. The public key enables
            end-to-end encrypted data exchange with WhatsApp, such as in WhatsApp Flows.

## Path parameters

- `sender` string, required

## Response `200`

Public key retrieved successfully.

- 6a832d7980b0224fa17e623a753d9dcd3d97aedf6ae653c996ab303ad0c7f980SenderPublicKeyResponse: WhatsApp sender public key information
  - `publicKey` string, required: PEM-formatted customer public key
  - `publicKeySignatureStatus` string, required: Status of the customer public key signature

## Other responses

- `400`: Bad request.
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Sender not found.
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/infobip/apis/infobip-openapi-specification.md) - [All operations](https://skmtc.dev/infobip/apis/infobip-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/infobip/apis/infobip-openapi-specification/revisions/9dcbbaf902de?raw)
