Skip to main content
GET
/
v2
/
entities
List Entities
curl --request GET \
  --url https://public.api.serval.com/v2/entities \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "teamId": "<string>",
      "entityTypeId": "<string>",
      "key": "<string>",
      "name": "<string>",
      "number": 123,
      "createdByUserId": "<string>",
      "updatedByUserId": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "document": "<string>",
      "entityTypeKey": "<string>",
      "entitySchemaKey": "<string>",
      "entitySchemaId": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

teamId
string

The ID of the team.

entityTypeId
string

Optional filter by entity type ID.

Response

Success

data
Entity · object[]

The list of entities.