twilio

0.1.0

Explore all defined operations, data models and types for this version. For live editing and client SDK generators, inspect on TypeHub.

Open in TypeHub
Operations (8)

Delete the Media resource. Pass the Media SID with the .json suffix.

DELETE /Accounts/:accountSid/Messages/:messageSid/Media/:sid Any 3 arguments
Operation

Fetch a single Media resource associated with a specific Message resource. Pass the Media SID with the .json suffix, e.g. MExxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.json.

GET /Accounts/:accountSid/Messages/:messageSid/Media/:sid Media 3 arguments
Operation

Read a list of Media resources associated with a specific Message resource.

GET /Accounts/:accountSid/Messages/:messageSid/Media.json Media_Collection 6 arguments
Operation

Send a message (SMS, MMS, WhatsApp or other channel). Use whatsapp:+E164 addresses in To/From for WhatsApp. Form fields (application/x-www-form-urlencoded): To (required, E.164 number or channel address e.g. whatsapp:+15552229999), From (Twilio sender: E.164 number, alphanumeric sender ID, short code or channel address e.g. whatsapp:+15554449999; may be omitted when MessagingServiceSid is set), MessagingServiceSid (MG..., required if From is omitted), Body (text up to 1,600 characters; one of Body, MediaUrl or ContentSid is required), MediaUrl (media URL, repeat up to 10 times), ContentSid (HX... Content Template SID, used for WhatsApp templates), ContentVariables (JSON string of template variable substitutions, requires ContentSid), StatusCallback (URL for status callback requests), ApplicationSid, ValidityPeriod (1-36000 seconds), ScheduleType (fixed, with SendAt and a Messaging Service), SendAt (ISO 8601 time to send), SendAsMms, ShortenUrls, SmartEncoded, PersistentAction (WhatsApp location actions), ProvideFeedback, Attempt, ContentRetention (retain/discard), AddressRetention (retain/obfuscate), RiskCheck (enable/disable), MessageIntent, FallbackFrom, TrafficType (free).

POST /Accounts/:accountSid/Messages.json Message 2 arguments
Operation

Deletes a Message resource from your account. Pass the Message SID with the .json suffix.

DELETE /Accounts/:accountSid/Messages/:sid Any 2 arguments
Operation

Fetch a specific Message. Pass the Message SID with the .json suffix, e.g. SMxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.json.

GET /Accounts/:accountSid/Messages/:sid Message 2 arguments
Operation

Retrieve a list of Message resources associated with a Twilio Account.

GET /Accounts/:accountSid/Messages.json Message_Collection 7 arguments
Operation

Update a Message resource (used to redact Message body text and to cancel not-yet-sent messages). Pass the Message SID with the .json suffix. Form fields (application/x-www-form-urlencoded): Body (the new body; set to an empty string to redact the text content), Status (canceled to cancel a scheduled message).

POST /Accounts/:accountSid/Messages/:sid Message 3 arguments
Operation
Types (5)
part of the Apioo-Project