cURL
curl --request PUT \ --url https://app.dograh.com/api/v1/workflow/{workflow_id}/status \ --header 'Content-Type: application/json' \ --data ' { "status": "<string>" } '
{ "id": 123, "name": "<string>", "status": "<string>", "created_at": "2023-11-07T05:31:56Z", "workflow_definition": {}, "current_definition_id": 123, "template_context_variables": {}, "call_disposition_codes": {}, "total_runs": 123, "workflow_configurations": {} }
Archive or restore a voice agent
{"status": "archived"}
{"status": "active"}
Successful Response