Skip to main content
GET
/
violations
/
list
cURL
curl --request GET \
  --url https://api.bolna.ai/violations/list \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "ce23f363-131a-47fc-8a33-258141a575b0",
      "from_phone_number": "+918035739196",
      "to_phone_number": "+919845866566",
      "date_of_call": "2026-01-05T00:00:00+00:00",
      "status": "submitted",
      "created_at": "2026-03-06T08:25:53.514276+00:00",
      "updated_at": "2026-03-09T07:10:29.135591+00:00",
      "user_id": "9082f423-9c6c-4f19-a131-24f4cc99209a",
      "agent_id": "af4f2c34-4750-4d7c-97a3-4e2e27a643a2",
      "execution_id": "137f88ef-701e-42b6-a26a-7bc1103df5aa",
      "image_url": "73b9ed7c-c255-486b-b2eb-6c21e41a8ca1/violations/ce23f363-131a-47fc-8a33-258141a575b0/9845866566.png",
      "email": "user@example.com"
    }
  ],
  "total": 9,
  "limit": 5,
  "offset": 5,
  "has_more": false
}

Pagination

This API supports pagination using the page_number and page_size query parameters. You can utilize has_more in the API response to determine if you should fetch the next page. You can learn more about it from the pagination documentation.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

status
enum<string>

Filter violations by their current status.

Available options:
pending,
accepted,
rejected,
submitted
page_number
integer
default:1

The page of results to retrieve (starts from 1).

Required range: x >= 1
page_size
integer
default:20

Number of results per page.

Required range: x >= 1

Response

Paginated list of violations

Paginated list of violations.

data
object[]

Array of violation objects.

total
integer

Total number of violations matching the filter.

Example:

9

limit
integer

Number of results returned per page.

Example:

5

offset
integer

The offset of the current page in the result set.

Example:

5

has_more
boolean

Whether there are more results available beyond the current page.

Example:

false