Connections
Overview
GET /connections
Retrieves the list of all connections configured within your account. A connection is the link between one of your telematics provider accounts and Manifold. Each connection has its provider and its health status, so you can monitor your integrations.
The list is not paginated: every connection of your account is returned at once. The response carries the id of each connection, which is the Connection-Id you send to most other endpoints.
Request details
Headers
| Header | Type | Required | Description |
|---|---|---|---|
x-api-key | String | Yes | API key used to authenticate the request |
This endpoint does not use the Connection-Id header, and takes no query parameters.
Response
{
"status": 200,
"message": null,
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Fleet Management Connection 1",
"providerId": "456e1234-e89b-12d3-a456-426614174111",
"healthStatus": 2,
"createdAt": "2024-10-13T15:28:33.692Z"
}
],
"next": null
}Response field explanations
Top-level fields
status: Integer code indicating the request status (200 means success)message: Additional details, ornulldata: The list of connectionsnext: Alwaysnull: this list has only one page
Connection object fields
id: Unique ID of the connectionname: Human-readable name of the connectionproviderId: ID of the telematics provider of the connectionhealthStatus: The state of the connection:1: Created (the connection has been set up and not yet validated)2: Validated (the credentials were checked and the connection is working)3: Failed (the connection could not be validated or stopped working)4: Duplicated (the same provider account is connected twice)
createdAt: When the connection was created
Health status details
| Status code | Description | Recommended action |
|---|---|---|
1 | Created | Wait for validation to finish |
2 | Validated | No action required |
3 | Failed | Check the credentials of the provider account and reconnect |
4 | Duplicated | Remove or merge the duplicate connection |
Example request
curl --request GET \
--url "https://api.analytics.autos/connections" \
--header 'x-api-key: YOUR-API-KEY'Common use cases
- Finding the
Connection-Idto use in other requests - Auditing connected telematics providers
- Monitoring integration health
Best practices
- Call this endpoint first, and use the ids it returns as the
Connection-Idof the other endpoints - Check the health status of your connections regularly
- Store and rotate API keys securely
Updated 14 days ago
Did this page help you?