# Get a tool's sync settings

```http
GET https://trydimmi.com/api/v1/integration-installations/{installation}/issue-settings
```

## Authorization

Send an API token as `Authorization: Bearer <token>`.
The token needs: `settings:read`.

## Path parameters

- `installation` (string, required): Id of the connected tool, starting with itg_, such as itg_01jx2m8k4t. Find it with GET /integrations.

## Response 200 (OK)

- `data` (object, required)
  - `deploy_environment` (string, required): The deployment environment that counts as shipped, such as production. Empty means any environment of the repository.
  - `deploy_repository` (string, required): The repository whose successful deployments prove a fix shipped. Empty when not set.
  - `from_email` (string, required): The email address dimmi acts as when it calls the tool, used by PagerDuty. Empty when not set.
  - `has_signing_secret` (boolean, required): True when the secret that signs the tool's deliveries has been saved.
  - `impact_field_id` (string, required): Id of the tool's field where dimmi writes how many customers an incident reaches. Empty when not set.
  - `installation_id` (string, required): Id of the installation these settings belong to, starting with itg_.
  - `needs_signing_secret` (boolean, required): True when this tool needs a signing secret pasted before its deliveries can be trusted.
  - `object` (string, required): The kind of record this is, the same for every record of its kind, such as article.
  - `project_id` (string, required): The tool's id of the project new issues go to by default. Empty when not set.
  - `provider` (string, required): The tool these settings are for, such as linear, jira or github.
  - `service_id` (string, required): The tool's id of the service new incidents go to by default. Empty when not set.
  - `severity_id` (string, required): The tool's id of the severity new incidents get by default. Empty when not set.
  - `states` (object, required): Which 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_id` (string, required): The tool's id of the team new issues go to by default. Empty when not set.
  - `webhook_url` (string, required): The address to give the tool so it delivers its updates to dimmi.

## Response default (Error)

- `code` (string, required): Stable code for programs to tell errors apart, such as validation_failed or internal_error.
- `errors` (object): Each rejected field mapped to its messages. Only present when the input was invalid.
- `message` (string, required): What went wrong, in words safe to show a person.

## Example request

```bash
curl --request GET \
  --url 'https://trydimmi.com/api/v1/integration-installations/{installation}/issue-settings' \
  --header 'Authorization: Bearer <token>'
```

## Example response

```json
{
  "data": {
    "deploy_environment": "<string>",
    "deploy_repository": "<string>",
    "from_email": "<string>",
    "has_signing_secret": true,
    "impact_field_id": "<string>",
    "installation_id": "<string>",
    "needs_signing_secret": true,
    "object": "<string>",
    "project_id": "<string>",
    "provider": "<string>",
    "service_id": "<string>",
    "severity_id": "<string>",
    "states": {
      "<key>": "<string>"
    },
    "team_id": "<string>",
    "webhook_url": "<string>"
  }
}
```

---

Index of all dimmi docs: https://trydimmi.com/llms.txt (full text: https://trydimmi.com/llms-full.txt)
