Workflows and integrations
Update a tool's sync settings
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the settings:write ability
Path parameters
installationstringrequiredId of the connected tool, starting with itg_, such as itg_01jx2m8k4t. Find it with GET /integrations.
Body
application/jsondeploy_environmentstringThe GitHub environment whose successful deployments count as a fix shipped, by name from the "environments" list of the repository, such as "production". Empty means any environment of the deploy repository.
Maximum length: 200
deploy_repositorystringThe GitHub repository whose successful deployments mark done issues as shipped, as owner/name from the tool's "teams" list, such as "acme/api". Empty turns this off.
Maximum length: 200
from_emailstringAn email address, such as support@example.com.
Maximum length: 320
impact_field_idstringId of the ticket field, starting with tktf_, such as tktf_01jx2m8k4t. Find it with GET /ticket-types/{type}/fields.
Maximum length: 200
project_idstringThe default for new issues when none is picked: an id from the tool's "projects" list for the team, a Linear project or a Jira issue type, such as "10001". Empty clears it.
Maximum length: 200
service_idstringThe default service new incidents are raised on when none is picked: an id from the tool's "services" list, such as "PABC123". Empty clears it.
Maximum length: 200
severity_idstringThe default severity new incidents are declared with when none is picked: an id from the tool's "severities" list. Empty clears it.
Maximum length: 200
signing_secretstringThe signing secret, as text. It is stored encrypted and never shown again.
Maximum length: 500
statesobjectA JSON object mapping the tool's status ids, from its "states" list, to the dimmi ticket state a ticket moves to, such as {"started": "tkts_01hzy3v8k2m4n6p8q0r2s4t6v8"}. It replaces the whole mapping; an empty value drops that status.
team_idstringId of the team, starting with team_, such as team_01jx2m8k4t. Find it with GET /teams.
Maximum length: 200
Response 200
OKdataobjectrequiredShow child attributesHide child attributes
deploy_environmentstringrequiredThe deployment environment that counts as shipped, such as production. Empty means any environment of the repository.
deploy_repositorystringrequiredThe repository whose successful deployments prove a fix shipped. Empty when not set.
from_emailstringrequiredThe email address dimmi acts as when it calls the tool, used by PagerDuty. Empty when not set.
has_signing_secretbooleanrequiredTrue when the secret that signs the tool's deliveries has been saved.
impact_field_idstringrequiredId of the tool's field where dimmi writes how many customers an incident reaches. Empty when not set.
installation_idstringrequiredId of the installation these settings belong to, starting with itg_.
needs_signing_secretbooleanrequiredTrue when this tool needs a signing secret pasted before its deliveries can be trusted.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
project_idstringrequiredThe tool's id of the project new issues go to by default. Empty when not set.
providerstringrequiredThe tool these settings are for, such as linear, jira or github.
service_idstringrequiredThe tool's id of the service new incidents go to by default. Empty when not set.
severity_idstringrequiredThe tool's id of the severity new incidents get by default. Empty when not set.
statesobjectrequiredWhich dimmi ticket state each of the tool's statuses maps to: keys are the tool's status ids, values are state ids starting with tkts_.
team_idstringrequiredThe tool's id of the team new issues go to by default. Empty when not set.
webhook_urlstringrequiredThe address to give the tool so it delivers its updates to dimmi.
Response error
ErrorcodestringrequiredStable code for programs to tell errors apart, such as validation_failed or internal_error.
errorsobjectEach rejected field mapped to its messages. Only present when the input was invalid.
messagestringrequiredWhat went wrong, in words safe to show a person.