GET
/
connections
curl --request GET \
  --url https://production.trackstarhq.com/connections \
  --header 'x-trackstar-api-key: <x-trackstar-api-key>'
{
  "data": [
    {
      "connection_id": "07b344db-0304-4866-9ae1-ac8af5292a28",
      "integration_name": "integration_name",
      "customer_id": "customer_id",
      "created_at": "2023-01-01T00:00:00Z",
      "last_used": "2023-01-01T00:00:00Z",
      "times_used": 1,
      "latest_sync": "2023-01-01T00:00:00Z",
      "errors": [
        {
          "error_message": "error_message",
          "affected_endpoints": [
            "GET /connection"
          ],
          "first_seen": "2023-01-01T00:00:00Z",
          "last_seen": "2023-01-01T00:00:00Z"
        }
      ],
      "available_endpoints": [
        "get_inventory",
        "get_products"
      ],
      "integration_type": "wms"
    }
  ],
  "next_token": "next_token",
  "total_count": 1
}

Headers

x-trackstar-api-key
string
required

Your organization-level Trackstar API key.

Query Parameters

access_token
string

An optional access token to filter connections by. If included, a single connection associated with the access token will be returned.

Response

200 - application/json
data
object[]

A list of connections for your organization.

next_token
string | null

See pagination for more details.

total_count
integer

The number of items returned.