When doing a POST to `/api/v2/tickets`, the resulting ticket includes an audit object similar to this:
"audit": {
"id": 124312341234,
"ticket_id": 99,
"created_at": "2023-04-07T16:38:35Z",
"author_id": 234523452345,
"metadata": {
"system": {
"client": "insomnia/2023.1.0",
"ip_address": "1.2.3.4",
"location": "Somewhere, IA, United States",
"latitude": 45.1234,
"longitude": -90.1234
},
"custom": {}
},
Is there a way that the IP address and user-agent of the person who caused the API request can also be passed along? I'm thinking something similar to storing X-Forwarded-For would be great to audit any API abuse.
Unfortunately, the properties you have mentioned is not included in the JSON payload when making the call.