GET
/
v1
/
connectors
/
{connectorId}
Retrieve a connector
const url = 'https://api.runmorph.dev/v1/connectors/{connectorId}';
const options = {
  method: 'GET',
  headers: {'x-api-key': '<api-key>', 'x-api-secret': '<api-key>'},
  body: undefined
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
{
  "object": "connector",
  "id": "<string>",
  "name": "<string>",
  "operations": [
    "<string>"
  ],
  "settings": [
    {
      "key": "<string>",
      "type": "text",
      "name": "<string>",
      "required": true,
      "description": "<string>",
      "default": "<string>"
    }
  ],
  "cloud": {
    "hasCustomCredential": true
  }
}

Authorizations

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

Path Parameters

connectorId
string
required

Response

OK

The response is of type object.