Skip to main content
Users
CloudPortalLogin
  • Powered byPowered by
Introduction to Sitecore Personalize
Managing accounts and system settings
Identifying guests
Introduction to experiments
Introduction to experiences
Decisioning
View dashboards
Developer Center
Connecting to an external system
Using client-side JavaScript
Using server-side JavaScript
AI in Personalize
Glossary
  • Sitecore Personalize
  • Connecting Sitecore Personalize to an external system
  • Connecting Sitecore Personalize to a data system or analytical model
  • Configure the request using a GET method

Configure the request using a GET method

After you name and authenticate the connection, you can configure the request using a GET method. Use a GET method if you want to retrieve data from the data system or analytical model, and use it as input in a programmable or decision table. Alternatively, you can configure the request using a POST or PUT method.

To configure the request using a GET method:

  1. On the Configure Request screen, click GET from the method drop-down list.

  2. In the Request URL field, enter the URL to send the request. Use the following format: https://example.com/api/endpoint

    Tip

    You can use FreeMarker to write query parameters at the end of the URL. A query parameter is an extension of the URL that defines specific content or actions based on the data being passed. For example: https://example.com/api/${email}

  3. Click Show Default Headers to display the default headers and parameters for the REST request:

    • Accept - this field displays application/json to specify that JSON is the accepted format for the response.

    • Accept-Encoding - this field displays gzip to specify that gzip is the accepted compression type.

    Tip

    Headers and parameters represent the meta-data associated with the REST API request and response. Headers and parameters contain information that can help you troubleshoot issues.

  4. To add additional headers, click Add Header. In the additional row that displays, enter the following:

    • Key - the header name.

    • Value - the parameter.

  5. To configure the Connection timeout:

    • Connection Timeout (ms) - in the drop-down list, click the milliseconds for the connection to timeout. This is the number of milliseconds of inactivity before the connection closes. This displays 1000 milliseconds by default.

    • Read Timeout (ms) - in the drop-down list, click the milliseconds for the read timeout. This is the number of milliseconds that the connection remains open without a response from the server. This displays 1000 milliseconds by default.

  6. Click Test Request. The results of the test display in the Response pane with the relevant status code.

  7. Click Next. The Review & Save screen displays. You must continue to review and save the connection or none of the connection setup will be saved.

Do you have some feedback for us?

If you have suggestions for improving this article,

Privacy policySitecore Trust CenterCopyright © 1999-2026 Sitecore