GET
/
sponsors
cURL
curl --request GET \
  --url http://localhost:8080/sponsors
{
  "data": [
    {
      "created_at": "<string>",
      "id": "<string>",
      "last_modified_at": "<string>",
      "name": "<string>",
      "slug": "<string>",
      "sponsor_details": {
        "first_name": "<string>",
        "email": "<string>",
        "last_name": "<string>",
        "phone": "<string>"
      },
      "address": {
        "city": "Bengaluru",
        "country": "IN",
        "line1": "123, MG Road",
        "line2": "Flat 4B, Sunrise Apartments",
        "pincode": "560001",
        "state": "Karnataka"
      },
      "pan": "<string>"
    }
  ],
  "limit": 123,
  "offset": 123,
  "total": 123
}

Query Parameters

statuses
string | null
sponsor_kinds
string | null
time_range
object

A half-open time range, with a mandatory start and an optional end. Designed to be embedded in list/filter query params via #[serde(flatten)].

Deserialize runs [TimeRange::validate] as part of deserialization, so callers never receive a [TimeRange] that violates start_time <= end_time.

limit
integer<int32> | null
offset
integer<int32> | null

Response

List of sponsors

data
object[]
required
limit
integer<int32>
required
offset
integer<int32>
required
total
integer<int64>
required