Gamma API
OrganizationsConnections

List connections

GET
/api/organizations/{slug}/connections

The organization's connections, oldest first, without their secrets.

Who may call it: An owner, security admin or admin of the organization. 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

slug*string

The organization's slug, as in its URL.

Response Body

OK.

application/json
  1. response
connections*array<>
Example Request
curl -X GET 'http://localhost:3000/api/organizations/string/connections'
Example Response
{  "connections": [    {      "id": "string",      "provider": "string",      "name": "string",      "config": {        "property1": null,        "property2": null      },      "allows": {        "property1": "inbound",        "property2": "inbound"      },      "disabledAt": "2019-08-24T14:15:22Z",      "lastCheckedAt": "2019-08-24T14:15:22Z",      "lastError": "string",      "projects": -9007199254740991,      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z"    }  ]}