Twilio SMS binding spec

Detailed documentation on the Twilio SMS binding component

Setup Dapr component

  1. apiVersion: dapr.io/v1alpha1
  2. kind: Component
  3. metadata:
  4. name: <NAME>
  5. namespace: <NAMESPACE>
  6. spec:
  7. type: bindings.twilio.sms
  8. version: v1
  9. metadata:
  10. - name: toNumber # required.
  11. value: 111-111-1111
  12. - name: fromNumber # required.
  13. value: 222-222-2222
  14. - name: accountSid # required.
  15. value: *****************
  16. - name: authToken # required.
  17. value: *****************
  • toNumber is the target number to send the sms to.
  • fromNumber is the sender phone number.
  • accountSid is the Twilio account SID.
  • authToken is the Twilio auth token.

Warning

The above example uses secrets as plain strings. It is recommended to use a secret store for the secrets as described here.

Output Binding Supported Operations

  • create

Related links

Last modified February 16, 2021: Merge pull request #1235 from dapr/update-v0.11 (b4e9fbb)