provider Api20100401Media GET /2010-04-01/Accounts/{AccountSid}/Messages/{MessageSid}/Media.json
@utdk/twilio /2010-04-01/Accounts/{AccountSid}/Messages/{MessageSid}/Media.json
Read a list of Media resources associated with a specific Message resource
Read a list of Media resources associated with a specific Message resource
AccountSid path required
The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that is associated with the Media resources.
string
MessageSid path required
The SID of the Message resource that is associated with the Media resources.
string
DateCreated query
Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
string
DateCreated< query
Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
string
DateCreated> query
Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
string
PageSize query
How many resources to return in each list page. The default is 50, and the maximum is 1000.
integer
Page query
The page index. This value is simply for client state.
integer
PageToken query
The page token. This is provided by the API.
string

Try it

Authentication
Configure credentials for Twilio - Api
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

listmedia
GET/2010-04-01/Accounts/{AccountSid}/Messages/{MessageSid}/Media.json
Read a list of Media resources associated with a specific Message resource

Parameters

required

The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that is associated with the Media resources.

required

The SID of the Message resource that is associated with the Media resources.

Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.

Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.

Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.

How many resources to return in each list page. The default is 50, and the maximum is 1000.

The page index. This value is simply for client state.

The page token. This is provided by the API.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import twilio from '@utdk/twilio';

await twilio.listmedia()