Skip to main content
GET
/
workspace
/
companies
Get all companies in the workspace
curl --request GET \
  --url https://api.getprimo.com/workspace/companies \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "pagination": {
    "totalElements": 4503599627370495,
    "totalPages": 4503599627370495,
    "page": 4503599627370496,
    "perPage": 50
  }
}
Key: Read Scope: Workspace

Authorizations

Authorization
string
header
required

Use your Primo API key in the Authorization header as Bearer <API_KEY>.

Query Parameters

page
number
default:1

Page number

Required range: 1 <= x <= 9007199254740991
perPage
number
default:50

Number of items per page (max 100)

Required range: 1 <= x <= 100

Response

default - application/json
data
object[]
required
pagination
object
required