Skip to Content
Client History

Get Client Email Change History

Returns the client email changes, newest first by default. Requires the `general.clients.email_history_read` permission.

GET
/api/v2/clients/{clientId}/email-history

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

clientId*integer

Client Id

Query Parameters

limit?integer

Sets the limit

Range1 <= value <= 500
Default10
offset?integer

Sets the offset

Range0 <= value
Default0
sort_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"    }  ]}