List claims
GET/v1/claims
This endpoint allows you to retrieve a list of created claims.
Request
Query Parameters
- Policy number
- customer email
- customer name
Any text supplied here would be used to search claims any of the following
Default value: 1
The page of results
Default value: 15
Maximum Number of results per page
Possible values: [pending
, approved
, processing
, discharge_voucher
, settled
]
Filter the claims returned by its status.
The child partner key to get all claims belonging to the child partner
Responses
- 200
- 400
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
data object[]
The unique ID of the claim
Current status of the claim
policy object
Policy
The unique ID of the policy
The policy number
The description of the policy
The start date of the coverage
The end date of the coverage
Current status of the policy
The amount requested when creating a claim
The amount approved for the claim
The currency of the amount
The date and time the claim was created
links object
{
"data": [
{
"id": 8,
"status": "processing",
"policy": {
"id": 8,
"number": "PH-34243TF",
"description": "Lorem ipsum...",
"start_date": "2022-03-24",
"end_date": "2023-03-24",
"status": "active"
},
"amount_requested": "239832.00",
"amount_approved": "100000.00",
"currency": "EUR",
"created_at": "2022-03-12T14:19:50.000000Z"
}
],
"links": {
"first": "https://api.grow.curacel.co/claims?page=1",
"last": "https://api.grow.curacel.co/claims?page=3",
"prev": "https://api.grow.curacel.co/claims?page=1",
"next": "https://api.grow.curacel.co/claims?page=2"
}
}
Bad request.
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "Bad request (400)."
}