Транзакционная почта

Получить ключ отправки по ID

Возвращает ключ отправки транзакционной почты пользователя.

get/v1/public/external-mails/keys/{keyId}

Request

  • Base URL: https://api.rusender.ru/api
  • URL: https://api.rusender.ru/api/v1/public/external-mails/keys/{keyId}
  • Auth: HTTP bearer

Path parameters

keyIdinteger required

ID ключа отправки.

Response

Ключ отправки.

okboolean required

Флаг успешного выполнения.

Example response

{
  "ok": true,
  "data": {
    "id": 123,
    "name": "Production key",
    "status": "enabled",
    "partOfToken": "a1b2c3",
    "domain": {
      "id": 45,
      "name": "example.com",
      "isVerified": true
    },
    "createdAt": "2026-01-15T10:00:00.000Z",
    "updatedAt": "2026-05-01T12:00:00.000Z"
  },
  "meta": {
    "requestId": "550e8400-e29b-41d4-a716-446655440000",
    "timestamp": "2026-03-05T12:00:00.000Z",
    "pagination": {
      "page": 1,
      "limit": 20,
      "totalItems": 150,
      "totalPages": 8
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.