Setup
You will need a Stream Chat account with a project configured. In Courier, navigate to the Stream Chat Integration page, enter your API key, API secret, and sender ID, then click “Save.”Profile Requirements
To deliver a message to a recipient over Stream Chat, Courier must be provided achannelType and channelId, or a messageId (for updating an existing message). Include these in the recipient profile as streamChat.
Overrides
You can override the request body, API credentials, and endpoint URL that Courier sends to Stream Chat.- Override any of the fields supported by Stream Chat’s
POST /channels/{type}/{id}/messageAPI endpoint. See all send request body fields here. - Override
apiKey,apiSecret, andsenderIdvia the config object. - Override
baseUrl(defaults tohttps://chat-us-east-1.stream-io-api.com).