The documentation you are viewing is for Dapr v0.11 which is an older version of Dapr. For up-to-date documentation, see the latest version.
Twilio SMS binding spec
Detailed documentation on the Twilio SMS binding component
Setup Dapr component
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
name: <NAME>
namespace: <NAMESPACE>
spec:
type: bindings.twilio.sms
version: v1
metadata:
- name: toNumber # required.
value: 111-111-1111
- name: fromNumber # required.
value: 222-222-2222
- name: accountSid # required.
value: *****************
- name: authToken # required.
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
- Bindings building block
- How-To: Trigger application with input binding
- How-To: Use bindings to interface with external resources
- Bindings API reference
Last modified July 7, 2022: update nav bar v0.11 (#2633) (b309d3d)