Create In-Page Experience Interaction
Creates an In-Page Experience Interaction
Request body
The id for the interaction
The id of the account that the interaction interaction belongs to.
A date-time string indicating when the interaction was created
A date-time string indicating when the interaction was last modified
The type of interaction
- Link - A hyperlink
- Card - A card that can contain text, a link, and/or an image
- External - A custom type built with HTML, CSS, and JavaScript.
Duration type of the interaction
- point - it appears at some point in playback
- span - it is available over some span of playback
- end - it is available at the end of playback
- full - it is always available There is no need to set durationType if you are setting start and end. It will simply reflect what you set there. For durationType set to end or full only, you can use this as a shortcut instead of setting start and end.
An experience id. If specified when you create an interaction, the interaction will belong to that experience. If you do not specify an experience, the interaction can be used by any experience.
Physical placement of a Link interaction. Used only for 'Link' tupes interactions
Link text for a hyperlink. Used for Link and Card type interactions.
The URL that a hyperlink points to. Used for Link and Card type interactions.
The title for a card. Used forCard type interactions.
The description for a card. Used forCard type interactions.
A URL pointing to the image for a card. Used forCard type interactions.
Example request
{
"createdAt": "2019-03-13T17:47:37.077Z",
"updatedAt": "2019-03-13T17:47:37.077Z",
"experience": "5bc4991f0f6f340011b3e968"
}Response
CREATED
The id for the interaction
The id of the account that the interaction interaction belongs to.
A date-time string indicating when the interaction was created
A date-time string indicating when the interaction was last modified
The type of interaction
- Link - A hyperlink
- Card - A card that can contain text, a link, and/or an image
- External - A custom type built with HTML, CSS, and JavaScript.
Duration type of the interaction
- point - it appears at some point in playback
- span - it is available over some span of playback
- end - it is available at the end of playback
- full - it is always available There is no need to set durationType if you are setting start and end. It will simply reflect what you set there. For durationType set to end or full only, you can use this as a shortcut instead of setting start and end.
An experience id. If specified when you create an interaction, the interaction will belong to that experience. If you do not specify an experience, the interaction can be used by any experience.
Physical placement of a Link interaction. Used only for 'Link' tupes interactions
Link text for a hyperlink. Used for Link and Card type interactions.
The URL that a hyperlink points to. Used for Link and Card type interactions.
The title for a card. Used forCard type interactions.
The description for a card. Used forCard type interactions.
A URL pointing to the image for a card. Used forCard type interactions.
Example response
{
"createdAt": "2019-03-13T17:47:37.077Z",
"updatedAt": "2019-03-13T17:47:37.077Z",
"experience": "5bc4991f0f6f340011b3e968"
}