SmartGare
API referenceEndpoints

List occupants

Searches the declared register with optional filters. **Required permission:** `referential.occupant:read`

GET/referential/v1/occupants

Searches the declared register with optional filters.

Required permission: referential.occupant:read

AuthorizationBearer <token>

In: header

Query Parameters

name?string
legal_identifier?string

Response Body

*/*

curl -X GET "https://example.com/referential/v1/occupants"
[  {    "address_city": "string",    "address_line1": "string",    "address_line2": "string",    "address_zip": "string",    "corrected_at": "2019-08-24T14:15:22Z",    "corrected_by": "string",    "created_at": "2019-08-24T14:15:22Z",    "email": "string",    "id": "string",    "kind": "COMPANY",    "legal_identifier": "string",    "name": "string",    "phone_number": "string",    "updated_at": "2019-08-24T14:15:22Z",    "website": "string"  }]