Journeys
A journey is an automated workflow that performs a series of messaging activities for an Amazon Pinpoint application. Each activity is a customizable component that specifies what causes the activity to occur, when the activity occurs, what the activity does, and which users the activity applies to. The paths and relationships between activities vary based on conditions and criteria that you define, such as specific user attributes and events.
The Journeys resource represents all the journeys that are associated with an Amazon Pinpoint application. You can use this resource to create a new journey or retrieve information about all the journeys that are associated with an application. To update or delete a journey, use the Journey resource.
URI
/v1/apps/
application-id
/journeys
HTTP methods
GET
Operation ID: ListJourneys
Retrieves information about the status, configuration, and other settings for all the journeys that are associated with an application.
Path parameters | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Name | Type | Required | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
application-id | String | True | The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. |
Header parameters | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Name | Type | Required | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
accept | String | False | Indicates which content types, expressed as MIME types, the client understands. |
Query parameters | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Name | Type | Required | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
page-size | String | False | The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
token | String | False | The |
Responses | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Status code | Response model | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
200 | JourneysResponse | The request succeeded. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
400 | MessageBody | The request contains a syntax error (BadRequestException). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
403 | MessageBody | The request was denied because access to the specified resource is forbidden (ForbiddenException). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
404 | MessageBody | The request failed because the specified resource was not found (NotFoundException). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
405 | MessageBody | The request failed because the method is not allowed for the specified resource (MethodNotAllowedException). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
413 | MessageBody | The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
429 | MessageBody | The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
500 | MessageBody | The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException). |
POST
Operation ID: CreateJourney
Creates a journey for an application.
Path parameters | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Name | Type | Required | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
application-id | String | True | The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. |
Header parameters | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Name | Type | Required | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
accept | String | False | Indicates which content types, expressed as MIME types, the client understands. |
Responses | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Status code | Response model | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
201 | JourneyResponse | The request succeeded and the specified resource was created. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
400 | MessageBody | The request contains a syntax error (BadRequestException). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
403 | MessageBody | The request was denied because access to the specified resource is forbidden (ForbiddenException). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
404 | MessageBody | The request failed because the specified resource was not found (NotFoundException). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
405 | MessageBody | The request failed because the method is not allowed for the specified resource (MethodNotAllowedException). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
413 | MessageBody | The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
429 | MessageBody | The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
500 | MessageBody | The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException). |
OPTIONS
Retrieves information about the communication requirements and options that are available for the Journeys resource.
Path parameters | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Name | Type | Required | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
application-id | String | True | The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. |
Responses | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Status code | Response model | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
200 | None | The request succeeded. |
Schemas
Request bodies
{ "Name": "string", "Schedule": { "StartTime": "string", "EndTime": "string", "Timezone": "string" }, "StartCondition": { "Description": "string", "EventStartCondition": { "EventFilter": { "Dimensions": { "EventType": { "DimensionType": enum, "Values": [ "string" ] }, "Attributes": { }, "Metrics": { } }, "FilterType": enum }, "SegmentId": "string" }, "SegmentStartCondition": { "SegmentId": "string" } }, "Limits": { "DailyCap": integer, "MessagesPerSecond": integer, "EndpointReentryCap": integer, "EndpointReentryInterval": "string" }, "StartActivity": "string", "Activities": { }, "RefreshFrequency": "string", "QuietTime": { "Start": "string", "End": "string" }, "WaitForQuietTime": boolean, "SendingSchedule": boolean, "OpenHours": { "EMAIL": { }, "SMS": { }, "PUSH": { }, "VOICE": { }, "CUSTOM": { } }, "ClosedDays": { "EMAIL": [ { "Name": "string", "StartDateTime": "string", "EndDateTime": "string" } ], "SMS": [ { "Name": "string", "StartDateTime": "string", "EndDateTime": "string" } ], "PUSH": [ { "Name": "string", "StartDateTime": "string", "EndDateTime": "string" } ], "VOICE": [ { "Name": "string", "StartDateTime": "string", "EndDateTime": "string" } ], "CUSTOM": [ { "Name": "string", "StartDateTime": "string", "EndDateTime": "string" } ] }, "RefreshOnSegmentUpdate": boolean, "LocalTime": boolean, "CreationDate": "string", "LastModifiedDate": "string", "State": enum }
Response bodies
{ "Item": [ { "Name": "string", "Schedule": { "StartTime": "string", "EndTime": "string", "Timezone": "string" }, "StartCondition": { "Description": "string", "EventStartCondition": { "EventFilter": { "Dimensions": { "EventType": { "DimensionType": enum, "Values": [ "string" ] }, "Attributes": { }, "Metrics": { } }, "FilterType": enum }, "SegmentId": "string" }, "SegmentStartCondition": { "SegmentId": "string" } }, "Limits": { "DailyCap": integer, "MessagesPerSecond": integer, "EndpointReentryCap": integer, "EndpointReentryInterval": "string" }, "StartActivity": "string", "Activities": { }, "RefreshFrequency": "string", "QuietTime": { "Start": "string", "End": "string" }, "WaitForQuietTime": boolean, "SendingSchedule": boolean, "OpenHours": { "EMAIL": { }, "SMS": { }, "PUSH": { }, "VOICE": { }, "CUSTOM": { } }, "ClosedDays": { "EMAIL": [ { "Name": "string", "StartDateTime": "string", "EndDateTime": "string" } ], "SMS": [ { "Name": "string", "StartDateTime": "string", "EndDateTime": "string" } ], "PUSH": [ { "Name": "string", "StartDateTime": "string", "EndDateTime": "string" } ], "VOICE": [ { "Name": "string", "StartDateTime": "string", "EndDateTime": "string" } ], "CUSTOM": [ { "Name": "string", "StartDateTime": "string", "EndDateTime": "string" } ] }, "RefreshOnSegmentUpdate": boolean, "LocalTime": boolean, "CreationDate": "string", "LastModifiedDate": "string", "State": enum, "tags": { }, "Id": "string", "ApplicationId": "string" } ], "NextToken": "string" }
{ "Name": "string", "Schedule": { "StartTime": "string", "EndTime": "string", "Timezone": "string" }, "StartCondition": { "Description": "string", "EventStartCondition": { "EventFilter": { "Dimensions": { "EventType": { "DimensionType": enum, "Values": [ "string" ] }, "Attributes": { }, "Metrics": { } }, "FilterType": enum }, "SegmentId": "string" }, "SegmentStartCondition": { "SegmentId": "string" } }, "Limits": { "DailyCap": integer, "MessagesPerSecond": integer, "EndpointReentryCap": integer, "EndpointReentryInterval": "string" }, "StartActivity": "string", "Activities": { }, "RefreshFrequency": "string", "QuietTime": { "Start": "string", "End": "string" }, "WaitForQuietTime": boolean, "SendingSchedule": boolean, "OpenHours": { "EMAIL": { }, "SMS": { }, "PUSH": { }, "VOICE": { }, "CUSTOM": { } }, "ClosedDays": { "EMAIL": [ { "Name": "string", "StartDateTime": "string", "EndDateTime": "string" } ], "SMS": [ { "Name": "string", "StartDateTime": "string", "EndDateTime": "string" } ], "PUSH": [ { "Name": "string", "StartDateTime": "string", "EndDateTime": "string" } ], "VOICE": [ { "Name": "string", "StartDateTime": "string", "EndDateTime": "string" } ], "CUSTOM": [ { "Name": "string", "StartDateTime": "string", "EndDateTime": "string" } ] }, "RefreshOnSegmentUpdate": boolean, "LocalTime": boolean, "CreationDate": "string", "LastModifiedDate": "string", "State": enum, "tags": { }, "Id": "string", "ApplicationId": "string" }
Properties
Activity
Specifies the configuration and other settings for an activity in a journey.
AttributeDimension
Specifies attribute-based criteria for including or excluding endpoints from a segment.
ClosedDays
The time when a journey will not send messages. QuietTime should be configured first and SendingSchedule should be set to true.
ClosedDaysRule
Specifies the rule settings for when messages can't be sent.
Condition
Specifies the conditions to evaluate for an activity in a journey, and how to evaluate those conditions.
ConditionalSplitActivity
Specifies the settings for a yes/no split activity in a journey. This type of activity sends participants down one of two paths in a journey, based on conditions that you specify.
Note
To create yes/no split activities that send participants down different paths based on push notification events (such as Open or Received events), your mobile app has to specify the User ID and Endpoint ID values. For more information, see Integrating Amazon Pinpoint with your application in the Amazon Pinpoint Developer Guide.
CustomMessageActivity
The settings for a custom message activity. This type of activity calls an AWS Lambda function or web hook that sends messages to participants.
Property | Type | Required | Description |
---|---|---|---|
DeliveryUri | string | False | The destination to send the campaign or treatment to. This value can be one of the following:
|
EndpointTypes | Array of type string Values: | False | The types of endpoints to send the custom message to. Each valid value maps to
a type of channel that you can associate with an endpoint by using the
|
MessageConfig | False | Specifies the message data included in a custom channel message that's sent to participants in a journey. | |
NextActivity | string | False | The unique identifier for the next activity to perform, after Amazon Pinpoint calls the AWS Lambda function or web hook. |
TemplateName | string | False | The name of the custom message template to use for the message. If specified, this value must match the name of an existing message template. |
TemplateVersion | string | False | The unique identifier for the version of the message template to use for the message. If specified, this value must match the identifier for an existing template version. To retrieve a list of versions and version identifiers for a template, use the Template Versions resource. If you don't specify a value for this property, Amazon Pinpoint uses the active version of the template. The active version is typically the version of a template that's been most recently reviewed and approved for use, depending on your workflow. It isn't necessarily the latest version of a template. |
EmailMessageActivity
Specifies the settings for an email activity in a journey. This type of activity sends an email message to participants.
Property | Type | Required | Description |
---|---|---|---|
MessageConfig | False | Specifies the sender address for an email message that's sent to participants in the journey. | |
NextActivity | string | False | The unique identifier for the next activity to perform, after the message is sent. |
TemplateName | string | False | The name of the email message template to use for the message. If specified, this value must match the name of an existing message template. |
TemplateVersion | string | False | The unique identifier for the version of the email template to use for the message. If specified, this value must match the identifier for an existing template version. To retrieve a list of versions and version identifiers for a template, use the Template Versions resource. If you don't specify a value for this property, Amazon Pinpoint uses the active version of the template. The active version is typically the version of a template that's been most recently reviewed and approved for use, depending on your workflow. It isn't necessarily the latest version of a template. |
EventCondition
Specifies the conditions to evaluate for an event that applies to an activity in a journey.
EventDimensions
Specifies the dimensions for an event filter that determines when a campaign is sent or a journey activity is performed.
Property | Type | Required | Description |
---|---|---|---|
Attributes | object | False | One or more custom attributes that your application reports to Amazon Pinpoint. You can use these attributes as selection criteria when you create an event filter. |
EventType | False | The name of the event that causes the campaign to be sent or the journey
activity to be performed. This can be a standard event that Amazon Pinpoint
generates, such as | |
Metrics | object | False | One or more custom metrics that your application reports to Amazon Pinpoint. You can use these metrics as selection criteria when you create an event filter. |
EventFilter
Specifies the settings for an event that causes a campaign to be sent or a journey activity to be performed.
Property | Type | Required | Description |
---|---|---|---|
Dimensions | True | The dimensions for the event filter to use for the campaign or the journey activity. | |
FilterType | string Values: | True | The type of event that causes the campaign to be sent or the journey activity
to be performed. Valid values are: |
EventStartCondition
Specifies the settings for an event that causes a journey activity to start.
GPSCoordinates
Specifies the GPS coordinates of a location.
GPSPointDimension
Specifies GPS-based criteria for including or excluding endpoints from a segment.
HoldoutActivity
Specifies the settings for a holdout activity in a journey. This type of activity stops a journey for a specified percentage of participants.
JourneyCustomMessage
Specifies the message content for a custom channel message that's sent to participants in a journey.
JourneyEmailMessage
Specifies the "From" address for an email message that's sent to participants in a journey.
JourneyLimits
Specifies limits on the messages that a journey can send and the number of times participants can enter a journey.
JourneyPushMessage
Specifies the message configuration for a push notification that's sent to participants in a journey.
JourneyResponse
Provides information about the status, configuration, and other settings for a journey.
JourneySMSMessage
Specifies the sender ID and message type for an SMS message that's sent to participants in a journey.
Property | Type | Required | Description |
---|---|---|---|
EntityId | string | False | A registered Entity ID (currently only used when sending messages to recipients in India). |
MessageType | string Values: | False | The SMS message type. Valid values are |
OriginationNumber | string | False | The number to send the SMS message from. The phone number that you specify
must exist in your Amazon Pinpoint account—you can't pass an arbitrary
phone number. If you want to use a sender ID to send your message, omit this
parameter and use |
SenderId | string | False | The sender ID to display as the sender of the message on a recipient's device. Support for sender IDs varies by country. For more information, see Supported Countries and Regions in the Amazon Pinpoint User Guide. |
TemplateId | string | False | A registered Template ID (currently only used when sending messages to recipients in India). |
JourneySchedule
Specifies the schedule settings for a journey.
JourneysResponse
Provides information about the status, configuration, and other settings for all the journeys that are associated with an application.
MessageBody
Provides information about an API request or response.
MetricDimension
Specifies metric-based criteria for including or excluding endpoints from a segment. These criteria derive from custom metrics that you define for endpoints.
MultiConditionalBranch
Specifies a condition to evaluate for an activity path in a journey.
MultiConditionalSplitActivity
Specifies the settings for a multivariate split activity in a journey. This type of activity sends participants down one of as many as five paths (including a default Else path) in a journey, based on conditions that you specify.
Note
To create multivariate split activities that send participants down different paths based on push notification events (such as Open or Received events), your mobile app has to specify the User ID and Endpoint ID values. For more information, see Integrating Amazon Pinpoint with your application in the Amazon Pinpoint Developer Guide.
OpenHours
Specifies the times when message are allowed to be sent to endpoints.
OpenHoursRule
Specifies the start and end time for OpenHours.
PushMessageActivity
Specifies the settings for a push notification activity in a journey. This type of activity sends a push notification to participants.
Property | Type | Required | Description |
---|---|---|---|
MessageConfig | False | Specifies the time to live (TTL) value for push notifications that are sent to participants in a journey. | |
NextActivity | string | False | The unique identifier for the next activity to perform, after the message is sent. |
TemplateName | string | False | The name of the push notification template to use for the message. If specified, this value must match the name of an existing message template. |
TemplateVersion | string | False | The unique identifier for the version of the push notification template to use for the message. If specified, this value must match the identifier for an existing template version. To retrieve a list of versions and version identifiers for a template, use the Template Versionsresource. If you don't specify a value for this property, Amazon Pinpoint uses the active version of the template. The active version is typically the version of a template that's been most recently reviewed and approved for use, depending on your workflow. It isn't necessarily the latest version of a template. |
QuietTime
Specifies the start and end times that define a time range when messages aren't sent to endpoints.
RandomSplitActivity
Specifies the settings for a random split activity in a journey. This type of activity randomly sends specified percentages of participants down one of as many as five paths in a journey, based on conditions that you specify.
RandomSplitEntry
Specifies the settings for a path in a random split activity in a journey.
RecencyDimension
Specifies criteria for including or excluding endpoints from a segment based on how recently an endpoint was active.
SMSMessageActivity
Specifies the settings for an SMS activity in a journey. This type of activity sends a text message to participants.
Property | Type | Required | Description |
---|---|---|---|
MessageConfig | False | Specifies the sender ID and message type for an SMS message that's sent to participants in a journey. | |
NextActivity | string | False | The unique identifier for the next activity to perform, after the message is sent. |
TemplateName | string | False | The name of the SMS message template to use for the message. If specified, this value must match the name of an existing message template. |
TemplateVersion | string | False | The unique identifier for the version of the SMS template to use for the message. If specified, this value must match the identifier for an existing template version. To retrieve a list of versions and version identifiers for a template, use the Template Versions resource. If you don't specify a value for this property, Amazon Pinpoint uses the active version of the template. The active version is typically the version of a template that's been most recently reviewed and approved for use, depending on your workflow. It isn't necessarily the latest version of a template. |
SegmentBehaviors
Specifies dimension settings for including or excluding endpoints from a segment based on how recently an endpoint was active.
SegmentCondition
Specifies a segment to associate with an activity in a journey.
SegmentDemographics
Specifies demographic-based dimension settings for including or excluding endpoints from a segment. These settings derive from characteristics of endpoint devices, such as platform, make, and model.
SegmentDimensions
Specifies the dimension settings for a segment.
SegmentLocation
Specifies geographical dimension settings for a segment.
SetDimension
Specifies the dimension type and values for a segment dimension.
SimpleCondition
Specifies a condition to evaluate for an activity in a journey.
StartCondition
Specifies the conditions for the first activity in a journey. This activity and its conditions determine which users are participants in a journey.
WaitActivity
Specifies the settings for a wait activity in a journey. This type of activity waits for a certain amount of time or until a specific date and time before moving participants to the next activity in a journey.
WaitTime
Specifies a duration or a date and time that indicates when Amazon Pinpoint determines whether an activity's conditions have been met or an activity moves participants to the next activity in a journey.
WriteJourneyRequest
Specifies the configuration and other settings for a journey.
Property | Type | Required | Description |
---|---|---|---|
Activities | object | False | A map that contains a set of |
ClosedDays | False | The time when journey will stop sending messages. QuietTime should be configured first and SendingSchedule should be set to true. | |
CreationDate | string | False | The date, in ISO 8601 format, when the journey was created. |
LastModifiedDate | string | False | The date, in ISO 8601 format, when the journey was last modified. |
Limits | False | The messaging and entry limits for the journey. | |
LocalTime | boolean | False | Specifies whether the journey's scheduled start and end times use each
participant's local time. To base the schedule on each participant's local time,
set this value to |
Name | string | False | The name of the journey. A journey name can contain a maximum of 150 characters. The characters can be alphanumeric characters or symbols, such as underscores (_) or hyphens (-). A journey name can't contain any spaces. |
OpenHours | False | The time when journey allow to send messages. QuietTime should be configured first and SendingSchedule should be set to true. | |
QuietTime | False | The quiet time settings for the journey. Quiet time is a specific time range when a journey doesn't send messages to participants, if all the following conditions are met:
If any of the preceding conditions isn't met, the participant will receive messages from the journey, even if quiet time is enabled. | |
RefreshFrequency | string | False | The frequency with which Amazon Pinpoint evaluates segment and event data for the journey, as a duration in ISO 8601 format. |
RefreshOnSegmentUpdate | boolean | False | Indicates whether the journey participants should be refreshed when a segment is updated. |
Schedule | False | The schedule settings for the journey. | |
SendingSchedule | boolean | False | Indicates if journey has Advance Quiet Time enabled. This flag should be set to true in order to allow using OpenHours and ClosedDays. |
StartActivity | string | False | The unique identifier for the first activity in the journey. The identifier for this activity can contain a maximum of 128 characters. The characters must be alphanumeric characters. |
StartCondition | False | The segment that defines which users are participants in the journey. | |
State | string Values: | False | The status of the journey. Valid values are:
The |
WaitForQuietTime | boolean | False | Indicates whether endpoints in quiet hours should enter a wait activity until quiet hours have elapsed. |
See also
For more information about using this API in one of the language-specific AWS SDKs and references, see the following: