Docs·Notifications

GET/api/v1/spreelytics/integrations

List integrations

Returns the Slack and Discord channels your team has connected, newest first. Put their IDs in a rule's integrationIds to post its notifications there. You connect a channel in the app, under Integrations.

Keys: an account key or an audience key

Parameters

PropInTypeNotes
contactListId?querystringOptional. Any audience in the team. The list is the same for every audience.

Response

An array of IntegrationDto.

PropTypeNotes
idstringThe integration ID.
typeIntegrationTypeDtoslack or discord.
namestringThe name shown in the app, such as #launches · Acme.
urlHoststringThe host it posts to. The full webhook URL is never returned.
createdAtstringWhen it was connected.
updatedAtstringWhen it last changed.

Request

curl 'https://app.spreelytics.com/api/v1/spreelytics/integrations' \
  -H 'Authorization: Bearer YOUR_API_KEY'
const res = await fetch('https://app.spreelytics.com/api/v1/spreelytics/integrations', {
  headers: { Authorization: 'Bearer YOUR_API_KEY' },
});
const data = await res.json();
import requests

res = requests.get(
    "https://app.spreelytics.com/api/v1/spreelytics/integrations",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
)
data = res.json()

Response

[
  {
    "id": "string",
    "type": "slack",
    "name": "string",
    "urlHost": "string",
    "createdAt": "string",
    "updatedAt": "string"
  }
]

See your own numbers today.

Free up to 1M events a month · no credit card

Contact

Tell us what you need.

A real person reads these. We usually reply within one working day.

Or email us directly at contact@spreelytics.com.