Reminders API
Use the Alexa Reminders API v2 to create and manage reminders on managed devices in your property. You can configure the text in the reminder, and Alexa speaks the text from the device at the specific time you schedule. Use reminders to build voice experiences that help users remember daily tasks, events, schedules, or any other items they want to remember at a later time.
The API uses JSON over HTTP with OAuth authentication and provides capabilities such as scheduling absolute reminders (for example, a reminder at 3 PM) or relative reminders (for example, a reminder in 10 minutes), updating and deleting reminders, and listing all reminders for a given device. You can also schedule one-time and recurring reminders.
API endpoint
In the request header, set Host
to the following, depending on the region of your organization:
Country | Endpoint |
---|---|
CA, US |
|
DE, ES, FR, IT, UK |
|
Authentication
Each API request must have an authorization header whose value is the access token retrieved from Login with Amazon (LWA).
Operations
The Reminders API includes the following operations.
Operation | HTTP method and URI |
---|---|
| |
| |
| |
| |
|
Create a reminder
Creates a new reminder.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, ES |
US, UK, FR, CA, IT, DE, ES |
US |
Request
To create a reminder, you make a POST request.
Request header example
POST /v2/alerts/reminders HTTP/1.1
Host: api.amazonalexa.com
Accept: application/json
Authorization: Bearer {Access Token}
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Header |
LWA access token. For details, see Authentication. |
String |
Yes |
|
Header |
|
String |
Yes |
Request body examples
Absolute reminder example
The following example creates a single reminder that triggers at 4:30 PM on June 21, 2024.
{
"recipients": [
{
"type": "Endpoint",
"id": "amzn1.alexa.endpoint.did.1234"
}
],
"reminder": {
"trigger": {
"type": "SCHEDULED_ABSOLUTE",
"scheduledTime": "2024-06-21T16:30:00.000",
"timeZoneId": "America/Los_Angeles"
},
"alertInfo": {
"spokenInfo": {
"content": [
{
"locale": "en-US",
"text": "Bingo starts at five p.m.",
"ssml": "<speak>Bingo starts at five p.m.</speak>"
}
]
}
}
}
}
Recurring reminder example
The following example creates a reminder that triggers at 4:30 PM on the fifth day of each month, starting in June 2024 and ending in September 2024.
{
"recipients": [
{
"type": "Endpoint",
"id": "amzn1.alexa.endpoint.did.1234"
}
],
"reminder": {
"trigger": {
"type": "SCHEDULED_ABSOLUTE",
"recurrence": {
"startDateTime": "2024-06-01T00:00:00.000",
"endDateTime": "2024-09-30T00:00:00.000",
"recurrenceRules": [
"FREQ=MONTHLY;BYMONTHDAY=5;BYHOUR=16;BYMINUTE=30;INTERVAL=1;"
]
}
},
"alertInfo": {
"spokenInfo": {
"content": [
{
"locale": "en-US",
"text": "Bingo starts at five p.m.",
"ssml": "<speak>Bingo starts at five p.m.</speak>"
}
]
}
}
}
}
Relative reminder example
The following example creates a reminder that triggers 30 minutes after the specified request time of 2024-06-21T22:30:00. This request time is in UTC. For a device with the time zone "America/Los_Angeles", this reminder is scheduled for June 21, 2024 at 4 PM. For a device with the time zone "America/Denver," this reminder is scheduled for June 21, 2024 at 5 PM.
{
"recipients": [
{
"type": "Endpoint",
"id": "amzn1.alexa.endpoint.did.1234"
}
],
"reminder": {
"requestTime": "2024-06-21T22:30:00",
"trigger": {
"type": "SCHEDULED_RELATIVE",
"offsetInSeconds": "1800"
},
"alertInfo": {
"spokenInfo": {
"content": [
{
"locale": "en-US",
"text": "Bingo starts at five p.m.",
"ssml": "<speak>Bingo starts at five p.m.</speak>"
}
]
}
}
}
}
Request body properties
Property | Description | Type | Required |
---|---|---|---|
|
Array of recipients to which to apply this reminder. You can provide exactly one recipient. |
Array of objects |
Yes |
|
Type of recipient. |
Enum |
Yes |
|
Unique identifier for the recipient. This must be an endpoint ID. |
String |
Yes |
|
Contents of the reminder. |
Object |
Yes |
|
Specifies the date and time to use when scheduling a relative reminder, specified in coordinated universal time (UTC). The API applies the Provide the |
String |
No |
|
Contains information about the trigger for a reminder. |
Object |
Yes |
|
Indicates type of trigger. |
Enum |
Yes |
|
Applies when |
Integer |
Yes when the |
|
Trigger date and time for a single reminder scheduled at an absolute time (
|
String |
Yes when the |
|
A string containing the ID of the time zone. For valid values, see List of tz database time zones identifiers. If you don't provide a time zone, the reminder defaults to use the time zone of the device. Not applicable when the |
Enum |
No |
|
Specifies recurrence information for reminders that repeat at regular intervals. Not applicable when the |
Object |
No |
|
Optional. The start of the recurrence pattern. Defined with both the date and time in ISO 8601 format. When not provided, defaults to the current date and time. |
Enum |
No |
|
Optional. The end of the recurrence pattern. Defined with both the date and time in ISO 8601 format. When not provided, the recurring reminder continues indefinitely. |
Enum |
No |
|
The recurrence pattern for a repeating alert, in the RRULE format.
Supported Values: The supported FREQ RRULE patterns are
If these constraints aren't met, the request returns a 400 error. |
String[] |
Yes |
|
Specifies information about the reminder. |
Object |
Yes |
|
Contains information about the spoken content in the reminder. |
Object |
Yes |
|
Contains the content of the reminder. |
Object[] |
Yes |
|
Defines the locale and language for the reminder text. |
String |
Yes |
|
Text used for spoken content, in Speech Synthesis Markup Language (SSML) format. If you don't provide a value for this field, |
String |
No |
|
Default text used for display and spoken content. If you provide a value in the |
String |
Yes |
Time zones for absolute times
When a reminder trigger is set to an absolute time using the scheduledTime
property, the reminder plays at either the time zone of the device, or a specific time zone you define in the request:
- To set a reminder in the same time zone of the device, set the
scheduledTime
property and leave thetimeZoneId
field unset. - To set a reminder in a specific the time zone, set both the
scheduledTime
andtimeZoneId
properties.
timeZoneId
. For example, if the customer's device is in PDT (Los Angeles), a time of 2019-06-01T19:00:00
in America/New_York
speaks and displays as 4 PM PDT.Response
For a well-formed request, the API returns HTTP 202 Accepted
and a response body where the type
property indicates whether the reminder was successfully created. If an error occurred, the response body contains at status
property with the error code and human readable message.
Response body examples
Success case
{
"type": "ALL_SUCCESS",
"message": "All reminders created successfully.",
"successResults": [
{
"id": "amzn1.alexa.endpoint.did.1234",
"reminderId": "<reminderId>"
}
],
"errors": []
}
Failed case
{
"type": "ALL_FAILED",
"message": "All reminders failed to created.",
"successResults": [],
"errors": [
{
"id": "amzn1.alexa.endpoint.did.1234",
"status": 400,
"errorCode": "DEVICE_NOT_SUPPORTED",
"errorDescription": "Reminders are not supported on this device."
}
]
}
Response headers
Property | Description | Type |
---|---|---|
|
Contains |
String |
|
A UUID generated for the individual request. |
String |
Response body properties
Property | Description | Type |
---|---|---|
|
Type of response. |
Enum |
|
Detailed description of the result. |
String |
|
List of endpoints where the reminder was successfully created. |
Array of objects |
|
The ID of the recipient for the reminder. |
String |
|
The ID of the reminder. |
String |
|
List of endpoints where creating the reminder failed. |
Array of objects |
|
The ID of the recipient for the reminder. |
String |
|
Error status code for the failed reminder. |
String |
|
Short error code string. |
String |
|
Detailed description of the error. |
String |
HTTP status codes
Status | Type | Message |
---|---|---|
400 |
|
Request time date format incorrect. |
400 |
|
Type and field don't match => |
400 |
|
Scheduled time is in the past. |
400 |
|
Date format isn't supported. |
400 |
|
Time zone isn't valid. |
400 |
|
Recurrence pattern is invalid. |
400 |
|
Recurrence pattern is valid but not currently supported. |
400 |
|
Recurrence pattern is valid but minimum interval between two occurrences isn't supported. |
400 |
|
Alert info is missing locale / invalid locale format. Text string is too long. |
400 |
|
Invalid relative time offset. |
400 |
|
Unsupported trigger scheduled time format. Supported format is |
400 |
|
Invalid input error. Check the arguments and try again. |
400 |
|
Recipient ID not valid |
400 |
|
Recipient type isn't supported |
400 |
|
Device not reachable/offline. A directive to create the reminder is sent upon invocation if the reminder is set to go off within seven days. |
400 |
|
Reminders aren't supported on this device. |
400 |
|
The number of recipients has exceeded the allowable threshold of 1. The Reminders API doesn't currently support bulk reminders. |
401 |
|
The incoming request is missing a valid access token in the Authorization HTTP Header. The token might be malformed or have expired. |
403 |
|
Max limit of reminders on the device reached. |
403 |
|
The user doesn't have permission to perform this operation. |
409 |
|
Device has no time zone set. |
429 |
|
The request was throttled. |
500 |
|
Get a reminder
Retrieve a reminder by ID.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, ES |
US, UK, FR, CA, IT, DE, ES |
US |
Request
To get a reminder, make a GET
request with the reminderId
.
Request header example
GET /v2/alerts/reminders/{reminderId}
Host: api.amazonalexa.com
Accept: application/json
Authorization: Bearer {Access Token}
Request path and header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Header |
LWA access token. For details, see Authentication. |
String |
Yes |
|
Header |
|
String |
Yes |
|
Path |
ID for the reminder to retrieve. |
String |
Yes |
Request body example
The request has no body.
Response
A successful response returns HTTP/1.1 200 and a response body with the reminder.
Response body example
Single, absolute scheduled reminder
{
"recipient": {
"id": "amzn1.alexa.endpoint.did.1234",
"type": "Endpoint"
},
"reminder": {
"reminderId": "b4ebac8b...",
"createdTime": "2024-06-21T23:24:44.931Z",
"updatedTime": "2024-06-21T23:24:45.066Z",
"trigger": {
"type": "SCHEDULED_ABSOLUTE",
"scheduledTime": "2024-06-21T18:00:00.000",
"timeZoneId": "America/Denver",
"offsetInSeconds": 0
},
"status": "ON",
"alertInfo": {
"spokenInfo": {
"content": [
{
"locale": "en-US",
"text": "Bingo starts at five p.m.",
"ssml": "<speak>Bingo starts at five p.m.</speak>"
}
]
}
},
"version": "2"
}
}
Recurring reminder
{
"recipient": {
"id": "amzn1.alexa.endpoint.did.1234",
"type": "Endpoint"
},
"reminder": {
"reminderId": "aebbb725...",
"createdTime": "2024-06-21T23:31:53.722Z",
"updatedTime": "2024-06-21T23:31:53.957Z",
"trigger": {
"type": "SCHEDULED_ABSOLUTE",
"scheduledTime": "2024-07-05T16:30:00.000",
"timeZoneId": "America/Denver",
"offsetInSeconds": 0,
"recurrence": {
"startDateTime": "2024-06-01T00:00:00.000-06:00",
"endDateTime": "2024-09-30T00:00:00.000-06:00",
"recurrenceRules": [
"FREQ=MONTHLY;INTERVAL=1;BYMONTHDAY=5;BYHOUR=16;BYMINUTE=30"
]
}
},
"status": "ON",
"alertInfo": {
"spokenInfo": {
"content": [
{
"locale": "en-US",
"text": "Bingo starts at five p.m.",
"ssml": "<speak>Bingo starts at five p.m.</speak>"
}
]
}
},
"version": "3"
}
}
Relative reminder
{
"recipient": {
"id": "amzn1.alexa.endpoint.did.1234",
"type": "Endpoint"
},
"reminder": {
"reminderId": "a64744c5...",
"createdTime": "2024-06-21T20:15:57.272Z",
"updatedTime": "2024-06-21T20:15:57.425Z",
"trigger": {
"type": "SCHEDULED_RELATIVE",
"scheduledTime": "2024-06-21T14:17:57.235",
"timeZoneId": "America/Denver",
"offsetInSeconds": 120
},
"status": "ON",
"alertInfo": {
"spokenInfo": {
"content": [
{
"locale": "en-US",
"text": "Bingo starts at 5pm",
"ssml": "<speak> Bingo starts at five p.m.</speak>"
}
]
}
},
"version": "3"
}
}
Response body properties
Property | Description | Type |
---|---|---|
|
Recipient for this reminder. |
Object |
|
The type of the recipient. |
Enum |
|
Unique identifier for the recipient. This is always an endpoint ID. |
String |
|
Contents of the reminder. |
Object |
|
Unique ID of this reminder alert. |
String |
|
Created time of this reminder in ISO 8601 format. |
String |
|
Last updated time of this reminder in ISO 8601 format. |
String |
|
Indicates the current status of the reminder.
|
Enum |
|
Version of this reminder alert. Version numbers are incremented upon update. |
String |
|
Contains information about the trigger for the reminder. |
Object |
|
Indicates type of trigger. |
Enum |
|
Applies when the |
Integer |
|
Trigger date and time of the reminder in ISO 8601 format.
|
String |
|
A string containing the ID of the time zone. For details about time zones, see Time zones for absolute times. |
Enum |
|
Contains recurrence information for reminders that repeat at regular intervals. |
Object |
|
The start of the recurrence pattern. Includes both the date and time. |
String |
|
The end of the recurrence pattern. Returns an empty string for reminders that don't have a defined end time and therefore repeat indefinitely. |
String |
|
The recurrence pattern for a repeating reminder, in the RRULE format. |
String |
|
Contains information about the reminder. |
Object |
|
Contains information about the spoken content in the reminder. |
Object |
|
Contains the content of the reminder. There can be multiple entries because the caller might have specified different reminders for different locales. |
Array of objects |
|
Locale for the reminder content. |
String |
|
Default text used for display and spoken content. |
String |
|
Text used for spoken content, in Speech Synthesis Markup Language (SSML) format. |
String |
HTTP status codes
Status | Type | Message |
---|---|---|
400 |
|
The provided reminder ID is invalid. |
401 |
|
The request is missing a valid access token in the Authorization HTTP Header. The token might be malformed or have expired. |
403 |
|
The user doesn't have permission to perform this operation. |
404 |
|
Reminder doesn't exist. |
429 |
|
The request was throttled |
500 |
|
Example 404 response body
HTTP/1.1 404 Not Found
Content-Type: application/json
X-Amzn-RequestId: \<UUID generated for this particular request\>
{
"type": "REMINDER_NOT_FOUND",
"message": "Reminder does not exist."
}
Update a reminder
Updates a reminder.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, ES |
US, UK, FR, CA, IT, DE, ES |
US |
Request
To update a reminder, make a PUT
call with the reminderId
and a request body. You must include the full reminder
object with the trigger
and alertInfo
objects.
For example, if you want to change the reminder text, but keep the original scheduled time, set the text
and ssml
properties to the new text, and set the values in the trigger
object to the same values you used when creating the reminder.
Request header example
PUT /v2/alerts/reminders/{reminderId}
Host: api.amazonalexa.com
Accept: application/json
Authorization: Bearer {Access Token}
Request header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Header |
LWA access token. For details, see Authentication. |
String |
Yes |
|
Header |
|
String |
Yes |
|
Path |
ID for the reminder to update. |
String |
Yes |
Request body example
{
"recipient": {
"type": "Endpoint",
"id": "amzn1.alexa.endpoint.did.1234"
},
"reminder": {
"trigger": {
"type": "SCHEDULED_ABSOLUTE",
"timeZoneId": "America/Los_Angeles",
"recurrence": {
"startDateTime": "2019-05-10T6:00:00.000",
"endDateTime": "2019-08-10T10:00:00.000",
"recurrenceRules": [
"FREQ=MONTHLY;BYMONTHDAY=5;BYHOUR=10;INTERVAL=1;"
]
}
},
"alertInfo": {
"spokenInfo": {
"content": [
{
"locale": "en-US",
"text": "Bingo starts at 5pm",
"ssml": "<speak> Bingo starts at five p.m.</speak>"
}
]
}
}
}
}
Request body properties
Property | Description | Type | Required |
---|---|---|---|
|
Recipient for the reminder. Provide an object with the Important: This property accepts a single object. This is different from the create reminder operation, which uses the
recipients property and accepts an array of recipient objects. |
Object |
Yes |
|
Type of recipient. |
Enum |
Yes |
|
Unique identifier for the recipient. This must be an endpoint ID. |
String |
Yes |
|
Contents of the reminder. |
Object |
Yes |
|
Specifies the date and time to use when scheduling a relative reminder, specified in coordinated universal time (UTC). The API applies the Provide the |
String |
No |
|
Contains information about the trigger for a reminder. |
Object |
Yes |
|
Indicates type of trigger. |
Enum |
Yes |
|
Applies when |
Integer |
Yes when the |
|
Trigger date and time for a single reminder scheduled at an absolute time (
|
String |
Yes when the |
|
A string containing the ID of the time zone. For valid values, see List of tz database time zones identifiers. If you don't provide a time zone, the reminder defaults to use the time zone of the device. Not applicable when the |
Enum |
No |
|
Specifies recurrence information for reminders that repeat at regular intervals. Not applicable when the |
Object |
No |
|
Optional. The start of the recurrence pattern. Defined with both the date and time in ISO 8601 format. When not provided, defaults to the current date and time. |
Enum |
No |
|
Optional. The end of the recurrence pattern. Defined with both the date and time in ISO 8601 format. When not provided, the recurring reminder continues indefinitely. |
Enum |
No |
|
The recurrence pattern for a repeating alert, in the RRULE format.
Supported Values: The supported FREQ RRULE patterns are
If these constraints aren't met, the request returns a 400 error. |
String[] |
Yes |
|
Specifies information about the reminder. |
Object |
Yes |
|
Contains information about the spoken content in the reminder. |
Object |
Yes |
|
Contains the content of the reminder. |
Object[] |
Yes |
|
Defines the locale and language for the reminder text. |
String |
Yes |
|
Text used for spoken content, in Speech Synthesis Markup Language (SSML) format. If you don't provide a value for this field, |
String |
No |
|
Default text used for display and spoken content. If you provide a value in the |
String |
Yes |
Response
A successful response returns HTTP/1.1 204 No Content
with no response body. If an error occurs, the response includes a response body with the error information.
Response body example
The following example shows the response body for an error response.
{
"type": "INVALID_INPUT_TIME_FORMAT",
"message": "Request time date format incorrect."
}
Response body properties
Parameter | Description | Type |
---|---|---|
|
Short description. |
Enum |
|
Detailed description of the result. |
String |
HTTP status codes
Status | Type | Message |
---|---|---|
400 |
|
Request time date format incorrect. |
400 |
|
Type and field don't match => |
400 |
|
Scheduled time is in the past. |
400 |
|
Date format isn't supported. |
400 |
|
Time zone isn't valid. |
400 |
|
Recurrence pattern is invalid. |
400 |
|
Recurrence pattern is valid but not currently supported. |
400 |
|
Recurrence pattern is valid but minimum interval between two occurrences isn't supported. |
400 |
|
Alert info is missing locale / invalid locale format. Text string is too long. |
400 |
|
Invalid relative time offset. |
400 |
|
Unsupported trigger scheduled time format. Supported format is |
400 |
|
Invalid input error. Check the arguments and try again. |
400 |
|
Recipient ID not valid |
400 |
|
Recipient type isn't supported |
400 |
|
Device not reachable/offline. A directive to create the reminder is sent upon invocation if the reminder is set to go off within seven days. |
400 |
|
Reminders aren't supported on this device. |
400 |
|
The number of recipients has exceeded the allowable threshold of 1. The Reminders API doesn't currently support bulk reminders. |
401 |
|
The incoming request is missing a valid access token in the Authorization HTTP Header. The token might be malformed or have expired. |
403 |
|
Max limit of reminders on the device reached. |
403 |
|
The user doesn't have permission to perform this operation. |
404 |
|
Reminder to update doesn't exist. |
409 |
|
Device has no time zone set. |
409 |
|
The given version doesn't match latest version. This could occur if there are two concurrent updates for the same reminder. |
429 |
|
The request was throttled |
500 |
|
Delete a reminder
Deletes the specified reminder.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, ES |
US, UK, FR, CA, IT, DE, ES |
US |
Request
To delete a reminder, make a PUT
call with the reminderId
for the reminder to delete.
Request header example
DELETE /v2/alerts/reminders/{reminderId}
Host: api.amazonalexa.com
Accept: application/json
Authorization: Bearer {Access Token}
Request header parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Header |
LWA access token. For details, see Authentication. |
String |
Yes |
|
Header |
|
String |
Yes |
|
Path |
ID for the reminder to delete. |
String |
Yes |
Request body example
The request has no body.
Response
A successful call returns HTTP/1.1 204 No Content
. If an error occurs, the response includes a response body with the error information.
Response body example
The following example shows the response body for an error response.
{
"type": "FORBIDDEN",
"message": "The user does not have permission to perform this operation."
}
Response body properties
Parameter | Description | Type |
---|---|---|
|
Short description. |
Enum |
|
Detailed description of the result. |
String |
HTTP status codes
Status | Type | Message |
---|---|---|
400 |
|
The provided reminder ID is invalid. |
400 |
|
Device not reachable/offline. |
401 |
|
The request is missing a valid access token in the Authorization HTTP Header. The token might be malformed or have expired. |
403 |
|
The user doesn't have permission to perform this operation. |
404 |
|
Reminder doesn't exist. |
429 |
|
The request was throttled |
500 |
|
Get all reminders on an endpoint
Gets all the scheduled reminders for a specified endpoint. There is a 250 reminder limit on a device per caller.
This operation is available in the following countries.
Healthcare | Hospitality | Senior Living | Core |
---|---|---|---|
US |
US, UK, FR, CA, IT, DE, ES |
US, UK, FR, CA, IT, DE, ES |
US |
Request
To get the reminders for an endpoint, make a GET
call and set recipient.id
to the endpoint ID.
GET /v2/alerts/reminders?recipient.id=amzn1.alexa.endpoint.did.<endpointId>&recipient.type=Endpoint&owner=~caller
Request header example
GET /v2/alerts/reminders?recipient.id=amzn1.alexa.endpoint.did.{endpointId}&recipient.type=Endpoint&owner=~caller HTTP/1.1
Host: api.amazonalexa.com
Accept: application/json
Authorization: Bearer {Access Token}
Request header and query parameters
Parameter | Located in | Description | Type | Required |
---|---|---|---|---|
|
Query |
Unique identifier for the recipient. This is an endpoint ID. |
String |
Yes |
|
Query |
Type of recipient. |
String |
Yes |
|
Query |
Owner of the reminders to retrieve. |
String |
Yes |
|
Header |
LWA access token. For details, see Authentication. |
String |
Yes |
|
Header |
|
String |
Yes |
Request body example
The request has no body.
Response
Returns the reminders for the specified endpoint.
Response body example
{
"results": [
{
"recipient": {
"id": "amzn1.alexa.endpoint.did.1234",
"type": "Endpoint"
},
"reminder": {
"reminderId": "84d26afa...",
"createdTime": "2024-06-24T20:59:12.772Z",
"updatedTime": "2024-06-24T20:59:12.929Z",
"trigger": {
"type": "SCHEDULED_ABSOLUTE",
"scheduledTime": "2024-06-24T18:00:00.000",
"timeZoneId": "America/Denver",
"offsetInSeconds": 0
},
"status": "ON",
"alertInfo": {
"spokenInfo": {
"content": [
{
"locale": "en-US",
"text": "Bingo starts at five p.m.",
"ssml": "<speak>Bingo starts at five p.m.</speak>"
}
]
}
},
"version": "2"
}
},
{
"recipient": {
"id": "amzn1.alexa.endpoint.did.1234",
"type": "Endpoint"
},
"reminder": {
"reminderId": "c85c15a9...",
"createdTime": "2024-06-21T23:36:25.342Z",
"updatedTime": "2024-06-24T03:29:53.945Z",
"trigger": {
"type": "SCHEDULED_ABSOLUTE",
"scheduledTime": "2024-06-24T17:40:00.000",
"timeZoneId": "America/Denver",
"offsetInSeconds": 0,
"recurrence": {
"startDateTime": "2024-06-01T00:00:00.000-06:00",
"endDateTime": "2024-09-30T00:00:00.000-06:00",
"recurrenceRules": [
"FREQ=DAILY;INTERVAL=1;BYHOUR=17;BYMINUTE=40"
]
}
},
"status": "ON",
"alertInfo": {
"spokenInfo": {
"content": [
{
"locale": "en-US",
"text": "Take your medication every day after dinner",
"ssml": "<speak>Take your medication every day after dinner</speak>"
}
]
}
},
"version": "3"
}
}
]
}
Response body properties
The operation returns an array of results (results[]
). Each result in the array has the properties shown in the following table.
Property | Description | Type |
---|---|---|
|
Recipient for this reminder. |
Object |
|
The type of the recipient. |
Enum |
|
Unique identifier for the recipient. This is always an endpoint ID. |
String |
|
Contents of the reminder. |
Object |
|
Unique ID of this reminder alert. |
String |
|
Created time of this reminder in ISO 8601 format. |
String |
|
Last updated time of this reminder in ISO 8601 format. |
String |
|
Indicates the current status of the reminder.
|
Enum |
|
Version of this reminder alert. Version numbers are incremented upon update. |
String |
|
Contains information about the trigger for the reminder. |
Object |
|
Indicates type of trigger. |
Enum |
|
Applies when the |
Integer |
|
Trigger date and time of the reminder in ISO 8601 format.
|
String |
|
A string containing the ID of the time zone. For details about time zones, see Time zones for absolute times. |
Enum |
|
Contains recurrence information for reminders that repeat at regular intervals. |
Object |
|
The start of the recurrence pattern. Includes both the date and time. |
String |
|
The end of the recurrence pattern. Returns an empty string for reminders that don't have a defined end time and therefore repeat indefinitely. |
String |
|
The recurrence pattern for a repeating reminder, in the RRULE format. |
String |
|
Contains information about the reminder. |
Object |
|
Contains information about the spoken content in the reminder. |
Object |
|
Contains the content of the reminder. There can be multiple entries because the caller might have specified different reminders for different locales. |
Array of objects |
|
Locale for the reminder content. |
String |
|
Default text used for display and spoken content. |
String |
|
Text used for spoken content, in Speech Synthesis Markup Language (SSML) format. |
String |
HTTP status codes
Status | Type | Message |
---|---|---|
400 |
|
The provided reminder ID is invalid. |
400 |
|
Th provided recipient type is invalid |
401 |
|
The request is missing a valid access token in the Authorization HTTP Header. The token might be malformed or have expired. |
403 |
|
The user doesn't have permission to perform this operation. |
429 |
|
The request was throttled |
500 |
|
Related topics
Last updated: Aug 01, 2024