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

# Get Zalo sender public key

`GET /zalo/1/sender/{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/zalo/1/sender/{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

Returns previously generated public RSA key. In case you haven't already generated an RSA key, you need to do that using the "Create Zalo sender public key" method. To use the public RSA key, please *Base64 decode* the provided value!

## Path parameters

- `sender` string, required: Sender ID.

## Response `200`

OK

- 6a8bbdacebad88e7e0de8bdfd30e29e04d114b9f00175a0482b9e26b742d85d5PublicKeyResponse
  - `publicKey` string, required: Public key. The value is *Base64 encoded*!

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: 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)
