Automations
Enable or Disable Automation
Update Automation Status
This endpoint allows you to update the status of a specific automation to enable or disable by providing the automation ID in the URL path.
Request Body
The request body should contain the following parameters:
-
status: (string) The new status for the automation.
-
message: (string) An optional message related to the status update.
Response
The response will have a status code of 200 and a JSON body with the following structure:
-
status: (string) Indicates the status of the request.
-
message: (string) Provides additional information about the status.
Sample Response
{
"status": "",
"message": ""
}
put/automations/status/{automationId}
Request
- Base URL: https://api.speakai.co/v1
- URL: https://api.speakai.co/v1/automations/status/{automationId}
- Auth: API key in header x-speakai-key and API key in header x-access-token
Path parameters
automationIdstring required
Response
Success
Changes
No recorded changes to this operation across all 2 revisions of this API.