---
title: "Store Telnyx WebRTC credentials securely"
method: POST
path: "/integrations/credentials/telnyx"
tags: ["IntegrationCredentials"]
---

# Store Telnyx WebRTC credentials securely

`POST /integrations/credentials/telnyx`

## Request

- Base URL: `https://api.clinicos.vet/backend/business`
- URL: `https://api.clinicos.vet/backend/business/integrations/credentials/telnyx`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/docs/integrations/credentials/telnyx/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- TelnyxCredentialsDto: Telnyx WebRTC credentials for browser-based softphone
  - `apiKey` string, nullable: Telnyx v2 API key (optional, for provisioning)
  - `sipUsername` string, nullable: SIP credential connection username (required for WebRTC)
  - `sipPassword` string, nullable: SIP credential connection password (required for WebRTC)
  - `connectionId` string, nullable: TeXML/Credential connection ID
  - `callerIdNumber` string, nullable: Caller ID phone number (Telnyx DID)
  - `callerIdName` string, nullable: Caller ID name (displayed on outbound calls)

## Response `200`

OK

- TelnyxCredentialsStatusDto
  - `isConfigured` boolean
  - `hasSipCredentials` boolean
  - `hasApiKey` boolean
  - `callerIdNumber` string, nullable
  - `callerIdName` string, nullable

---

[API](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1.md) - [All operations](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/revisions/099cf36186e0?raw)
