Explore all defined operations, data models and types for this version. For live editing and client SDK generators, inspect on TypeHub.
Delete the Media resource. Pass the Media SID with the .json suffix.
Fetch a single Media resource associated with a specific Message resource. Pass the Media SID with the .json suffix, e.g. MExxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.json.
Read a list of Media resources associated with a specific Message resource.
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).
Deletes a Message resource from your account. Pass the Message SID with the .json suffix.
Fetch a specific Message. Pass the Message SID with the .json suffix, e.g. SMxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.json.
Retrieve a list of Message resources associated with a Twilio Account.
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).
Error response returned by the Twilio REST API when a request fails.
A Media resource represents a media file (image, video, etc.) associated with a Message resource.
A paginated list of Media resources.
A Message resource represents an inbound or outbound message (SMS, MMS, WhatsApp or other channel).
A paginated list of Message resources.