Skip to content

PATCH /v1/projects/{id}/platforms/voice/profiles/{profileId}/inbound

Updates selected fields of a profile's inbound destination when the shared profile version matches. The profileId may identify the default or an additional profile. At least one of destinationUri or credentials is required. Credential omission preserves destination authentication, null removes it, and an object replaces it atomically. Requires platforms:write bound to the path project.

photon.projects.platforms.updateVoiceProfileInbound(input: UpdateVoiceProfileInboundInput, options?: RequestOptions): Promise<UpdateVoiceProfileInboundOutput>
import { Photon } from "@photon-ai/api";

const photon = new Photon({
  headers: { Authorization: `Bearer ${process.env.PHOTON_API_TOKEN}` },
});
const result = await photon.projects.platforms.updateVoiceProfileInbound({
  path: {
    id: "id",
    profileId: "profileId",
  },
  body: {
    expectedVersion: 1,
  },
});
{
  "inbound": null,
  "profileVersion": 1
}

Parameters

Photon-VersionPhotonVersion

Selects the API contract date. Without it, the request is served as 2026-07-01.

idstringrequired
profileIdstringrequired

Body

credentialsSipInboundCredentialsWithPassword | null
destinationUristring
expectedVersionintegerrequired

Returns

200 The updated inbound configuration and profile version. VoiceProfileInboundConfiguration

Headers: Photon-Version. The raw response carries these headers; see Raw responses.

inboundSipInboundConfiguration | nullrequired
profileVersionintegerrequired