Client History
Get Client Email Change History
Returns the client email changes, newest first by default. Requires the `general.clients.email_history_read` permission.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
clientId*integer
Client Id
Query Parameters
limit?integer
Sets the limit
Range
1 <= value <= 500Default
10offset?integer
Sets the offset
Range
0 <= valueDefault
0sort_order?string
Sorts the items in ascending or descending order
Default
"desc"Value in
- "asc"
- "desc"
sort_by?"changedAt"
Sorts the items by a specified value
Default
"changedAt"Value in
- "changedAt"
Header Parameters
accept-language?string
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v2/clients/1/email-history?limit=10&offset=0&sort_order=desc&sort_by=changedAt" \ -H "accept-language: ja"{ "total": 0, "data": [ { "id": 0, "previousEmail": "string", "newEmail": "string", "changedBy": 0, "changedAt": "2019-08-24T14:15:22Z" } ]}