Gamma API
ProjectsIntegrations

List connections to pick from

GET
/api/projects/{projectId}/integrations/connections

The organization's connections, with what each provider can sync โ€” never their settings or secrets.

Who may call it: Whoever manages the project: an owner, security admin or admin of its organization, or an admin of the project. API keys: no.

Authorization

session
cookiegamma.session_token<token>

The session cookie a sign-in sets. Over HTTPS its name carries the __Host- prefix. Browsers send it on their own; other clients keep it from the sign-in response.

Path Parameters

projectId*string

The project's id.

Response Body

OK.

application/json
  1. response
connections*array<>
Example Request
curl -X GET 'http://localhost:3000/api/projects/string/integrations/connections'
Example Response
{  "connections": [    {      "id": "string",      "name": "string",      "provider": "string",      "providerLabel": "string",      "disabledAt": "2019-08-24T14:15:22Z",      "entities": {        "property1": {          "directions": [            "inbound"          ],          "importRule": "open"        },        "property2": {          "directions": [            "inbound"          ],          "importRule": "open"        }      },      "allows": {        "property1": "inbound",        "property2": "inbound"      }    }  ]}