Skip to content

List all notes for a customer

Request

Security
bearerAuth
Path
organizationIdstringrequired

Organization ID of the member accessing the resource

Example:my-organization-id
customerIdinteger, ( 0 .. 9007199254740991 ]required
Query
offsetinteger, [ 0 .. 9007199254740991 ]
Default:0
limitinteger, ( 0 .. 250 ]
Default:100
categoryIdArray of integers, non-empty
userIdArray of integers, non-empty

Only return notes about these users at the customer

sourceArray of strings, non-empty

Only return notes from these sources, such as hook or salesforce

minCreatedDatestring, (date-time)^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[...

Only return notes created on or after this date

maxCreatedDatestring, (date-time)^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[...

Only return notes created on or before this date

curl -i -X GET \
  'https://docs.api.hook.co/_mock/v1/openapi/organizations/my-organization-id/customers/{customerId}/notes?offset=0&limit=100&categoryId=1&userId=1&source=string&minCreatedDate=2019-08-24T14%3A15%3A22Z&maxCreatedDate=2019-08-24T14%3A15%3A22Z' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Default Response

Bodyapplication/json
itemsArray of objects(Note)required
totalCountnumberrequired
Response
{ "items": [ { … } ], "totalCount": 0 }