Gamma API
OrganizationsCompanies

List companies

GET
/api/organizations/{slug}/companies

By name.

Who may call it: Any member 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 __Secure- 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
companies*array<>
Example Request
curl -X GET 'http://localhost:3000/api/organizations/string/companies'
Example Response
{  "companies": [    {      "id": "string",      "organizationId": "string",      "name": "string",      "legalName": "string",      "registrationNumber": "string",      "description": "string",      "website": "string",      "logo": "string",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "memberIds": [        "string"      ]    }  ]}