2b5d29ef67
Scripts, flows, apps, resources and resource types from the Windmill workspace. API token excluded via .gitignore (config/).
60 lines
1.9 KiB
YAML
60 lines
1.9 KiB
YAML
description: A Twilio resource type for sending messages to a number of
|
|
recipients via the Message Service.
|
|
format_extension: null
|
|
is_fileset: false
|
|
schema:
|
|
$schema: https://json-schema.org/draft/2020-12/schema
|
|
type: object
|
|
order:
|
|
- account_sid
|
|
- auth_token
|
|
- message_service_sid
|
|
- content_sid
|
|
- origin_number
|
|
- recipients
|
|
properties:
|
|
account_sid:
|
|
type: string
|
|
description: The 34 letter SID used to represent a Twilio resource.
|
|
default: ''
|
|
nullable: false
|
|
pattern: ^.{34}$
|
|
auth_token:
|
|
type: string
|
|
description: The token used to authenticate Twilio API requests
|
|
default: ''
|
|
nullable: false
|
|
content_sid:
|
|
type: string
|
|
description: The SID for the message content template.
|
|
default: ''
|
|
nullable: false
|
|
message_service_sid:
|
|
type: string
|
|
description: The SID for a messaging service, which is a container that bundle
|
|
messaging functionality for your specific use cases (such as WhatsApp).
|
|
It can be found in the Messaging Services menu; each service has their
|
|
own SID. By including it, you can retrieve usage statistics for the
|
|
service.
|
|
default: ''
|
|
origin_number:
|
|
type: string
|
|
description: 'The phone number from which messages will originate. This number
|
|
must be initially approved and authenticated in the Twilio UI before it
|
|
can be activated and used. If you are sending via a WhatsApp number,
|
|
prefix your phone number with whatsapp:'
|
|
default: ''
|
|
nullable: false
|
|
recipients:
|
|
type: array
|
|
description: 'The list of phone numbers to which alerts will be sent. If you are
|
|
sending to WhatsApp numbers, prefix your phone numbers with whatsapp:'
|
|
default: []
|
|
items:
|
|
type: string
|
|
required:
|
|
- account_sid
|
|
- auth_token
|
|
- content_sid
|
|
- origin_number
|