Introduction
This document describes the API for the Snap Send Solve integration service, which allows responsible organisations to retrieve and update incident reports.
The full specifications and details of all current APIs can be found on SwaggerHub at SnapSendSolve Integration v2.
Overview
Snap Send Solve is a powerful platform that enables users to report issues such as potholes, graffiti and damaged infrastructure directly to local authorities and service providers. With the added benefit of API integration, Snap Send Solve can seamlessly connect with your organisation’s case management system, streamlining the reporting process and ensuring that issues are addressed promptly and efficiently.
Authentication
Snap Send Solve integration APIs use API key authentication to authorise requests. Follow the steps below to authenticate your API requests:
Obtaining API Credentials
To access the APIs, you need an API key and an authorityId
. These credentials can be obtained by logging in to the Snap Send Solve portal as an admin user and clicking on the Authority menu on the left-hand side.
Using the API Key
The API key must be included in the HTTP request header for all API calls. Add the API key to the Authorization
header as shown below: Authorization: <your-api-key>
List of APIs
Snap Send Solve provides various API endpoints for managing incident reports.
Overview of API Endpoints
Get a List of Reports
Endpoint:
/v2/reports
Method: GET
Description: Retrieves a list of incident reports for a specific authority. The only mandatory parameter is the
authorityId
.
Get Report Details
Endpoint:
/v2/reports/{reportId}
Method: GET
Description: Fetches detailed information for a single report by its ID.
Update a Report
Endpoint:
/v2/reports/{reportId}
Method: POST
Description: Updates the status, stage, or other details of a specific report.
Get Incident Types
Endpoint:
/v2/incidentTypes
Method: GET
Description: Returns a list of all active incident types available for reporting.
Get Triage Authorities
Endpoint:
/v2/reports/{reportId}/triage/authorities
Method: GET
Description: Lists authorities available for triaging a report.
Triage a Report
Endpoint:
/v2/reports/{reportId}/triage
Method: POST
Description: Triages a report to another authority
Important Information
Detailed Specifications: SwaggerHub documentation for each API endpoint includes information on required and optional parameters, request and response schema, and example requests and responses.
Authentication: Ensure that all API requests include the appropriate Authorization
header with the API key. Error Handling: APIs return standard HTTP status codes to indicate success or failure, along with detailed error messages when applicable.
Need more help? Get support from our team by emailing us at contact@snapsendsolve.com or sending us a message.