Open Inventory / Docs
EndpointsContactsContactsIdComments

List a contact's comments

The API runs on your application instance. Schemas and field names come directly from the OpenAPI specification. Session-authenticated requests require a session on that instance.

GET
/contacts/{id}/comments

Authorization

bearerAuth
headerAuthorizationBearer <inv_ token>

Path Parameters

id*string
Formatuuid

Header Parameters

X-Organization-ID?string

Organization membership selected for this request. User-bound credentials may select any active membership; standalone tokens may only repeat their pinned organization ID.

Formatuuid

Response Body

Chronological contact comment thread

application/json
  1. response
comments*array<>
Example Request
curl -X GET 'https://inventory.example.com/api/v1/contacts/497f6eca-6276-4993-bfeb-53cbbbba6f08/comments'
Example Response
{  "comments": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "contactId": "b5ec5d98-4bee-4da1-ad24-dde86346cb1d",      "body": "string",      "authorName": "string",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "canEdit": true    }  ]}