I am using the API for Audit logs and it says i can use the filter[created_at] and whenever i use it i get the error at the bottom. Can't find out how to enter the value as an array. An example would be helpful or if this feature has a bug in it. Here is an example of how i am using it:
curl -g 'https://{subdomain}.zendesk.com/api/v2/audit_logs.json?filter[created_at]>2022-08-12T16:10:49Z' -v -H "Authorization: Basic *********************"
Keep in mind I have tested with the other filters and have not had any issues.
"error": {
"title": "Invalid attribute",
"message": "You passed an invalid value for the filter.created_at attribute. Invalid parameter: filter.created_at must be an array from api/v2/audit_logs/index"
}
I've marked this with our documentation team to get updated. What the endpoint is looking for is a range. I've included an example below:
https://{{subdomain}}.zendesk.com/api/v2/audit_logs.json?filter[created_at][]=2022-08-12T16:10:49Z&filter[created_at][]=2022-08-15T23:59:59ZHope this helps