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

Response

200
application/json
List of destinations
id
string
required

The destination ID.

name
string
required

User-defined name for the destination

type
string
required

The type of the destination

metadata
object
required
createTime
string
required

The time the destination was created.

updateTime
string

The time the destination was updated.