Skip to main content
GET
/
projects
/
{projectIdOrName}
/
notifications
/
targets
List notification targets
curl --request GET \
  --url https://api.withampersand.com/v1/projects/{projectIdOrName}/notifications/targets \
  --header 'X-Api-Key: <api-key>'
{
  "targets": [
    {
      "id": "<string>",
      "label": "Production Slack Alerts",
      "type": "webhook",
      "metadata": {
        "url": "https://webhooks.mailmonkey.com/salesforce-lead-converted",
        "headers": {
          "Authorization": "Bearer 1234"
        }
      },
      "secrets": {},
      "createTime": "2023-11-07T05:31:56Z",
      "updateTime": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

X-Api-Key
string
header
required

Path Parameters

projectIdOrName
string
required

The Ampersand project ID or project name.

Response

List of notification targets

targets
Notification Target · object[]
I