> For the complete documentation index, see [llms.txt](https://developers.gleantap.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.gleantap.com/fetch-data/events-for-a-customer.md).

# Events for a Customer

## Get events for a customer

> Retrieve list of events for a specific customer

```json
{"openapi":"3.0.0","info":{"title":"Gleantap External API","version":"1.0.0"},"tags":[{"name":"Events","description":"Events"}],"servers":[{"url":"https://api.gleantap.com","description":"Production server"}],"paths":{"/v2/ExternalApi/getEvents":{"post":{"tags":["Events"],"summary":"Get events for a customer","description":"Retrieve list of events for a specific customer","operationId":"d2fbd6c16fb737ffd687aeb1d681b202","parameters":[{"name":"X-API-KEY","in":"header","description":"Your API key","required":true,"schema":{"type":"string"}},{"name":"X-SECRET-KEY","in":"header","description":"Your Secret key","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"required":["user_id","app_id"],"properties":{"app_id":{"type":"string"},"user_id":{"type":"string"},"limit":{"type":"integer","maximum":1000},"offset":{"type":"integer"}},"type":"object"}}}},"responses":{"200":{"description":"Events retrieved successfully","content":{"application/json":{"schema":{"properties":{"events":{"type":"array","items":{"type":"object"}}},"type":"object"}}}},"400":{"description":"Invalid request"}}}}}}
```
