Clear Routing
Deletes the PendingServiceRouting (PSR) record for a voice call. This
API doesn’t need to be called for most scenarios; the PSR record is automatically deleted when
the call is no longer being routed. However, there are some scenarios, like for missed or
abandoned calls when using partner telephony systems (excluding Amazon Connect), where you
must explicitly call this API to clear the PSR record.
URI
https://{MyDomain}.my.salesforce-scrt.com/telephony/v1/voiceCalls/{CALL ID}/clearRouting
Where {MyDomain} is a value configured as part of Salesforce Voice setup and {CALL ID} is the Salesforce voiceCallId or the telephony vendor’s contact ID.
HTTP Method
PATCH
Headers
- Authorization: Bearer <token>
-
String. Standard header. The authorization token, where <token> is the JSON Web Token (JWT). Required.
- Content-Type: <format>
- String. Standard header. The format of the request body. Valid formats include JSON and XML. For example, application/json or application/xml. Required.
- Telephony-Provider-Name: <telephony provider name>
- String. Custom header. The name of the telephony provider that calls this API. For example, Amazon Connect.
Parameters
None.