Skip to content

Twilio Integration for client side SMS notification #643

@daltonfury42

Description

@daltonfury42

Feature: Let clients supply Twilio credentials to enable them to send SMS from their Twilio account.

Step 1:

In the queue settings, add two text boxes to enter their Account SID and Auth Token and a "Save Credentials" button.

Once the user clicks on save credentials, make a network call

PUT /me/sms
{
  "integration": "twilio"
  "accountSid": "<sid>",
  "authToken": "<token>"
}

Saving the credentials is a one time activity, on success or when the user navigates to settings again for the same or a different queue, in place of the above form, a "Clear Credentials" button should be displayed.

Clicking on the clear credentials button will make a DELETE /me/sms?integration=twilio backend call to delete the credentials.

Step 2:

If credentials are saved at backend, a "Enable SMS" toggle will be activated, which the user can use to enable and pause notifications.

This should trigger a patch call to the backend:

PATCH /queue/<queue-id>
{
  "enableSms": true/false
}

Step 3:

  1. Add links and short documentation to help users create twilio credentials.
  2. Add link to "Contact us if you want our team to set up SMS for for a fee".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions