GET
/
v1
/
connections
/
{connectorId}
/
{ownerId}
const options = {
  method: 'GET',
  headers: {'x-api-key': '<api-key>', 'x-api-secret': '<api-key>'}
};

fetch('https://api.runmorph.dev/v1/connections/{connectorId}/{ownerId}', options)
  .then(response => response.json())
  .then(response => console.log(response))
  .catch(err => console.error(err));
{
  "object": "connection",
  "connectorId": "<string>",
  "ownerId": "<string>",
  "operations": [
    "<string>"
  ],
  "status": "<string>",
  "createdAt": "<string>",
  "updatedAt": "<string>"
}

Session Token
You can also retrieve a connection using a session token by making a GET request to /v1/s/connection. This requires setting both the x-api-key and x-session-token headers.

Authorizations

x-api-key
string
header
required
x-api-secret
string
header
required

Path Parameters

connectorId
required
Available options:
hubspot,
pipedrive,
salesforce,
aircall,
gong,
attio,
dialpad,
calendly
ownerId
string
required

Response

200
application/json

OK

The response is of type object.