File a government service request
submit_service_requestSubmit a government service request (e.g., report a pothole, broken streetlight, illegal dumping). The request is validated, geocoded, classified, routed to the correct government entity, and recorded. Delivery is enabled per-entity: where the target channel is live, the request is transmitted (response delivery.state = "sent", or "held" when queued for review); for entities not yet enabled it is recorded and routable but not transmitted (delivery.state = "dry_run", or "handoff" with a redirect_url the user finishes). Always check delivery.state. Requires X-API-Key header. Rate limit: 2 requests/hour. Supported countries: US, IE (Ireland), GB (United Kingdom).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| images | No | Up to 3 base64-encoded images (optional). Each item: {data: "base64...", media_type: "image/jpeg"} | |
| address | No | Address to geocode (e.g., "123 Main St, Ventura, CA 93001"). Provide this OR latitude+longitude. | |
| latitude | No | Latitude (-90 to 90). Provide with longitude as alternative to address. | |
| longitude | No | Longitude (-180 to 180). Provide with latitude as alternative to address. | |
| description | Yes | Description of the issue (10-5000 characters) | |
| country_code | No | Country code: "US", "IE", or "GB" (default: "US") | |
| contact_email | Yes | Email of the person reporting the issue | |
| service_type_id | No | Service type ID from list_service_types (optional — auto-classified from description if omitted) |