Get Automations settings
GET
/api/v1/automations/settings
const url = 'https://digize.com/api/v1/automations/settings';const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://digize.com/api/v1/automations/settings \ --header 'x-api-key: <x-api-key>'How every workflow runs: time limit, retries, what’s kept of runs, failure alerts, the schedules’ time zone and webhooks.
Needs the automations:read permission.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Done
Media typeapplication/json
object
timeoutMinutes
required
integer
retries
required
integer
saveRunData
required
string
retentionDays
required
integer
concurrency
required
integer
notifyByEmail
required
boolean
notifyEmails
required
Array<string>
notifyBySlack
required
boolean
slackChannel
required
string
webhookBaseUrl
required
Webhook triggers listen at this address followed by their path.
string
Example
{ "saveRunData": "all"}What was sent isn’t valid (invalid).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}No key, or one that’s unknown, off or expired.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}The key doesn’t have the permission this needs.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}Nothing has that id (not_found).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}Over the rate limit; see retry-after.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}