---
title: "Rotate agent endpoint credentials"
method: POST
path: "/api/v1/novasynth/agent-endpoints/{id}/rotate-credentials"
tags: ["NovaSynth"]
---

# Rotate agent endpoint credentials

`POST /api/v1/novasynth/agent-endpoints/{id}/rotate-credentials`

## Request

- Base URL: `https://dev.noveum.ai`
- URL: `https://dev.noveum.ai/api/v1/novasynth/agent-endpoints/{id}/rotate-credentials`
- Auth: API key in cookie `apiKeyCookie` and HTTP bearer

Updates encrypted secrets for the endpoint type (LiveKit, phone, etc.).

## Path parameters

- `id` string, required

## Query parameters

- `projectId` string

## Request body

- union
  - object
    - `type` string, required
    - `livekitApiSecret` string, required
  - object
    - `type` string, required
    - `websocketAuthHeader` string, required
  - object
    - `type` string, required
    - `pipecatApiKey` string, required
  - object
    - `type` string, required
    - `vapiApiKey` string, required
  - object
    - `type` string, required
    - `retellApiKey` string, required
  - object
    - `type` string, required
    - `elevenLabsApiKey` string, required
  - object
    - `type` string, required
    - `authSecret` string, required

## Response `200`

Success

- object

## Other responses

- `201`: Created
- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `409`: Conflict
- `422`: Unprocessable entity
- `500`: Internal server error

---

[API](https://skmtc.dev/noveum/apis/noveum-api.md) · [All operations](https://skmtc.dev/noveum/apis/noveum-api/llms.txt) · [OpenAPI document](https://skmtc.dev/noveum/apis/noveum-api/revisions/1745e27f38d0?raw)
