Channel Endpoints

Create a channel endpoint

Create a new channel endpoint for a resource.

post/v1/channel-endpoints

Request

  • Base URL: https://api.notifly.io
  • URL: https://api.notifly.io/v1/channel-endpoints
  • Auth: one of:
    • API key in header Authorization
    • API key in header Authorization

Request body

OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR

Example request

{
  "identifier": "slack-channel-user123-abc4",
  "subscriberId": "subscriber-123",
  "integrationIdentifier": "slack-prod",
  "connectionIdentifier": "slack-connection-abc123",
  "type": "slack_channel",
  "endpoint": {
    "channelId": "C123456789"
  }
}

Response

Created

Example response

{
  "data": {
    "providerId": "slack",
    "integrationIdentifier": "slack-prod",
    "connectionIdentifier": "slack-connection-abc123",
    "subscriberId": "subscriber-123",
    "contextKeys": [
      "tenant:org-123",
      "region:us-east-1"
    ],
    "type": "slack_channel",
    "endpoint": {
      "channelId": "C123456789"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.