Search + K

Command Palette

Search for a command to run...

Sign In

Retrieve a list of notifications belonging to the account used to make the request

GET /2010-04-01/Accounts/{AccountSid}/Notifications.json
Copy endpoint
https://api.twilio.com

Retrieve a list of notifications belonging to the account used to make the request

Parameters

path Path Parameters

Name Type
AccountSid required

The SID of the Account that created the Notification resources to read.

`AC${string}`

query Query Parameters

Name Type
Log

Only read notifications of the specified log level. Can be: 0 to read only ERROR notifications or 1 to read only WARNING notifications. By default, all notifications are read.

number
MessageDate

Only show notifications for the specified date, formatted as YYYY-MM-DD. You can also specify an inequality, such as <=YYYY-MM-DD for messages logged at or before midnight on a date, or >=YYYY-MM-DD for messages logged at or after midnight on a date.

string
MessageDate<

Only show notifications for the specified date, formatted as YYYY-MM-DD. You can also specify an inequality, such as <=YYYY-MM-DD for messages logged at or before midnight on a date, or >=YYYY-MM-DD for messages logged at or after midnight on a date.

string
MessageDate>

Only show notifications for the specified date, formatted as YYYY-MM-DD. You can also specify an inequality, such as <=YYYY-MM-DD for messages logged at or before midnight on a date, or >=YYYY-MM-DD for messages logged at or after midnight on a date.

string
PageSize

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

number
Page

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

number
PageToken

The page token. This is provided by the API.

string

Responses

200 application/json

OK

{
notifications?: ApiV2010AccountNotification
interface ApiV2010AccountNotification {
account_sid?: `AC${string}` | null;
api_version?: string | null;
call_sid?: `CA${string}` | null;
date_created?: string | null;
date_updated?: string | null;
error_code?: string | null;
log?: string | null;
message_date?: string | null;
message_text?: string | null;
more_info?: string | null;
request_method?: "GET" | "POST" | null;
request_url?: string | null;
sid?: `NO${string}` | null;
uri?: string | null;
}
[]
;
end?: number;
first_page_uri?: string;
next_page_uri?: string | null;
page?: number;
page_size?: number;
previous_page_uri?: string | null;
start?: number;
uri?: string;
}