Get reporters API
editGet reporters API
editReturns information about the users who opened cases.
For the most up-to-date API details, refer to the open API specification.
Request
editGET <kibana host>:<port>/api/cases/reporters
GET <kibana host>:<port>/s/api/cases/reporters
Prerequisites
editYou must have read
privileges for the Cases feature in the Management,
Observability, or Security section of the
Kibana feature privileges, depending on the
owner
of the cases.
Description
editThe API returns information about the users as they existed at the time of the case creation, including their name, full name, and email address. If any of those details change thereafter or if a user is deleted, the information returned by this API is unchanged.
Query parameters
edit-
owner
- (Optional, string or array of strings) A filter to limit the retrieved reporters to a specific set of applications. If this parameter is omitted, the response will contain all reporters from cases that the user has access to read.
Response codes
edit-
200
- Indicates a successful call.
Examples
editReturns all case reporters:
GET api/cases/reporters
The API returns a JSON object with the retrieved reporters. For example:
[ {"username":"elastic","full_name":null,"email":null}, {"username":"user1","full_name":"User 1","email":"user1@elastic.co"}, {"username":"user2","full_name":"User 2","email":"user2@elastic.co"} ]