Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

How to create a job to call a custom REST API?

Vote:
0

Hello -

I want to start by saying I'm brand new to development and brand new to Optimizely, so bear with me. 

We have a custom API that we use for other purposes, and we would like to implement it in our B2B site to retrieve information. Our vision is to create an integration connection that points to our API root URL and stores the x-api-key in the header. Then, we want to create subsequent jobs that build off of that connection and target specific endpoints, such as getCustomers and getOrders.

The vision is for it to work the way it does in Postman. 

We are using Configured Commerce if that makes a difference. 

Thank you. 

#337003
Feb 25, 2025 17:37
Ted - Feb 28, 2025 8:28
I think you need to provide more details about what you're trying to achieve, but I would suggest looking into the Optimizely API documentation to figure out how to put in data you've pulled from your bespoke API.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.