Prerequisites
To get started with the Voyado Elevate API integration, a few prerequisites must be met.- Origin host and cross-origin resource sharing available
- Cluster credentials received
- Connection requirements met
Origin host and cross-origin resource sharing
Cross-origin resource sharing (CORS) is a mechanism for controlling what domain Ajax requests to the cluster are allowed to originate from. Voyado can help with the origin host configuration as part of the customer onboarding process, if you provide the necessary information. Default configuration allows Ajax requests originating from all origins, but restricting access to the API is recommended. The following information is needed from the customer to configure the origin host correctly:- Protocols (HTTP/HTTPS)
- Domains (subdomains)
- Ports (80, 443)
Connection requirements
- TLS version 1.3 is recommended. Version 1.2 is supported.
- Server Name Indication (SNI) enabled.
- A CA certificate store that trusts Amazon root certificates. For more information, see the Amazon Trust Services Repository .
- HTTP version 2 is recommended. Version 1.1 is also supported.
- Deprecated: a CA certificate store that trusts Let’s Encrypt root certificates. For more information, see Let’s Encrypt Certificate Compatibility .
Tips and best practices
Caching
A general rule of thumb is to never cache Elevate-generated responses. Caching prevents personalization and can cause notifications to be erroneous due to cached tickets. This does not include static data and resources such as images, which can be cached.Bots and crawlers
To keep your Elevate usage and analytics accurate, ensure you allow well-known crawlers (for example, Googlebot) but block or throttle unwanted bots. Detect bots early and avoid calling Elevate APIs for them. Learn more in Handling bots and crawlers.Request parameters
Query parameters are case-sensitive.Request headers
The APIs support various request headers.Utility resources
OpenAPI specifications
Each version of each API contains a downloadable OpenAPI specification that can be used with tools such as Swagger UI . The OpenAPI specifications are found under Specifications for the corresponding API version.Postman collections
Each version of each API contains a downloadable Postman collection that can be tested using the tool Postman . The collections are found under Postman collections.Setting environment variables
Note that the file uses environment variables, located under the Variables tab in the Postman interface. To run the requests, thecluster-id variable must first be changed. The cluster-id will automatically be applied to the baseUrl parameter.
