GET
/
projects
/
{projectIdOrName}
/
destinations
curl --request GET \
  --url https://api.withampersand.com/v1/projects/{projectIdOrName}/destinations \
  --header 'X-Api-Key: <api-key>'
[
  {
    "id": "<string>",
    "name": "leadConvertedWebhook",
    "type": "webhook",
    "metadata": {
      "url": "https://webhooks.mailmonkey.com/salesforce-lead-converted",
      "headers": {
        "Authorization": "Bearer 1234"
      }
    },
    "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

200
application/json
List of destinations
id
string
required

The destination ID.

name
string
required

User-defined name for the destination

Example:

"leadConvertedWebhook"

type
string
required

The type of the destination

Example:

"webhook"

metadata
object
required
createTime
string
required

The time the destination was created.

updateTime
string

The time the destination was updated.