JavaScript
const options = { method: 'GET', headers: {'x-api-key': '<api-key>', 'x-api-secret': '<api-key>'} }; fetch('https://api.runmorph.dev/v1/s/connection', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "connectorId": "<string>", "ownerId": "<string>", "operations": [ "<string>" ], "status": "<string>", "createdAt": "<string>", "updatedAt": "<string>", "object": "connection" }
OK
connection