Fetch a specific Message
GET
/2010-04-01/Accounts/{AccountSid}/Messages/{Sid}.json https://api.twilio.com
Fetch a specific Message
Parameters
path Path Parameters
| Name | Type |
|---|---|
AccountSid
required
The SID of the Account associated with the Message resource | `AC${string}` |
Sid
required
The SID of the Message resource to be fetched | string |
Responses
200 application/json
OK
interface ApiV2010AccountMessage {
body?: string | null;
num_segments?: string | null;
direction?:MessageEnumDirection ;
from?: string | null;
to?: string | null;
date_updated?: string | null;
price?: string | null;
error_message?: string | null;
uri?: string | null;
account_sid?: `AC${string}` | null;
num_media?: string | null;
status?:MessageEnumStatus ;
messaging_service_sid?: `MG${string}` | null;
sid?: string | null;
date_sent?: string | null;
date_created?: string | null;
error_code?: number | null;
price_unit?: string | null;
api_version?: string | null;
subresource_uris?: {} | null;
}
body?: string | null;
num_segments?: string | null;
direction?:
from?: string | null;
to?: string | null;
date_updated?: string | null;
price?: string | null;
error_message?: string | null;
uri?: string | null;
account_sid?: `AC${string}` | null;
num_media?: string | null;
status?:
messaging_service_sid?: `MG${string}` | null;
sid?: string | null;
date_sent?: string | null;
date_created?: string | null;
error_code?: number | null;
price_unit?: string | null;
api_version?: string | null;
subresource_uris?: {} | null;
}