Skip to content
Get started

Pause a call

call.pause(strid) -> CallPauseResponse
POST/call/{id}/pause

Pause a call's retry loop. The current in-progress attempt (if any) will finish, but no new attempts will be started until the call is resumed.

ParametersExpand Collapse
id: str
ReturnsExpand Collapse
class CallPauseResponse:
success: bool

Pause a call

import os
from revox import Revox

client = Revox(
    api_key=os.environ.get("REVOX_API_KEY"),  # This is the default and can be omitted
)
response = client.call.pause(
    "id",
)
print(response.success)
{
  "success": true
}
Returns Examples
{
  "success": true
}