Method | Description |
---|---|
client.template.get() | Retrieves a list of notification templates with optional filtering, sorting, and pagination |
client.template.create() | Creates a new notification template |
client.template.update() | Updates an existing notification template |
client.template.delete() | Deletes an existing notification template |
client.template.publish() | Publishes a template, making its latest draft version live |
Method | Description |
---|---|
client.template.createChannelTemplate() | Creates or updates channel-specific templates (EMAIL, SMS, etc.) |
client.template.getChannelTemplates() | Retrieves channel templates for a specific template version |
Method | Description |
---|---|
client.message.send() | Sends a message (with or without using a template) to a recipient via a chosen channel |
client.message.sendAwesomeTemplate() | Sends a message using a template path/identifier |
client.message.getReplies() | Retrieves replies for a specific message ID |
client.message.getStatus() | Retrieves the status of a specific message (SENT, DELIVERED, FAILED, etc.) |
Method | Description |
---|---|
client.workflow.trigger() | Triggers a workflow with given data and notification payloads |
client.workflow.triggerBulk() | Triggers a workflow in bulk for multiple recipients |
client.workflow.schedule() | Schedules a workflow to run at a future time (once or recurring) |
Method | Description |
---|---|
client.webhook.configureNotifications() | Configures webhook URL for receiving status updates |
client.webhook.configureInbound() | Configures webhook URL for receiving inbound messages |
Method | Description |
---|---|
client.user.add() | Creates a new user or updates existing user with given unique_id |
client.user.update() | Updates an existing user’s information |
client.user.delete() | Deletes an existing user |
SIREN_API_KEY
: Your API key from the Siren dashboardSIREN_ENV
: Set to dev
for development/testing (defaults to prod
)Clone the repository
Install dependencies
Set up pre-commit hooks
@trysiren/node
SDK!
src/__tests__/
directory.
develop
branch