- Get comments
Adding a Client
Get a list of clients
Get a client
Edit client
Delete client
Bulk adding clients
List client card comments
Add a client card comment
Delete a comment for a client
List client card files
Upload a completed document to a client card
Delete a client card file
Search by customer history
Get client loyalty summary
Leave a Comment
Get a chain client by phone number.
Deprecated. Get full client profiles in a location
Get comments
The comment object has the following fields:
| Field | Type | Description |
|---|---|---|
| id | number | Comment ID |
| salon_id | number | location ID |
| type | number | 1 - comment to the team member, 0 - to the location |
| master_id | number | Team Member ID if type = 1 |
| text | string | Comment text |
| date | string | Date when the comment was left |
| rating | number | Rating (from 1 to 5) |
| user_id | number | Id of the user who left the comment |
| username | string | Name of the user who left the comment |
| user_avatar | string | Avatar of the user who left the comment |
| record_id | number | ID of the post after which the review was left (the value will be non-zero if the review was left through a link asking for a review after the visit) |
Security
BearerPartnerUser
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/comments/{location_id}
- Productionhttps://api.alteg.io/api/v1/comments/{location_id}
curl -i -X GET \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/comments/{location_id}?start_date=string&end_date=string&team_member_id=0&rating=0&page=0&count=0' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: string'OK
Array of objects with data
Example:
[ { "id": 18437, "salon_id": 12345, "type": 1, "master_id": 8864, "text": "Fine!", "date": "2026-09-21T23:00:00.000-05:00", "rating": 4, "user_id": 157169, "user_name": "Victor Sitnikov", "user_avatar": "/images/no-master.png", "record_id": 100001 } ]
Response
{ "success": true, "data": [ { … } ], "meta": [] }