---
title: "List automatic deployment configuration"
method: GET
path: "/projects/{project_id}/auto_deployments"
tags: ["Automatic Deployments"]
---

# List automatic deployment configuration

`GET /projects/{project_id}/auto_deployments`

## Request

- Base URL: `https://sg.deployhq.com`
- URL: `https://sg.deployhq.com/projects/{project_id}/auto_deployments`
- Auth: HTTP basic

Returns the webhook URL and auto-deploy settings for each server and server group in the project.

## Path parameters

- `project_id` string, required

## Response `200`

Success

- WebhookUrlDeployablesObject
  - `webhook_url` string
  - `deployables` object[]
    - `identifier` string
    - `name` string
    - `type` string
    - `auto_deploy` boolean
    - `command_deployable` boolean
    - `preferred_branch` string

## Other responses

- `401`: You are not authorized to access this resource. You need to authenticate yourself first.
- `403`: You are not allowed to access this resource. You do not have the necessary permissions.
- `500`: An unexpected error occurred on the server. The server was unable to process the request.

---

[API](https://skmtc.dev/deployhq/apis/deployhq-api-interactive-documentation.md) · [All operations](https://skmtc.dev/deployhq/apis/deployhq-api-interactive-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/deployhq/apis/deployhq-api-interactive-documentation/revisions/830264ae58be?raw)
