Management
Get Connections
Management
Get Connections
Returns connected integrations for your organization.
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",
"sync_schedules": [
{
"function_name": "get_inventory",
"latest_sync": "2023-01-01T00:00:00Z",
"sync_frequency": 3600,
"in_progress": false
}
],
"errors": [
{
"error_message": "error_message",
"affected_endpoints": [
{
"endpoint": "GET /connection",
"preventing_sync": false
}
],
"first_seen": "2023-01-01T00:00:00Z",
"last_seen": "2023-01-01T00:00:00Z"
}
],
"available_actions": [
"get_inventory",
"get_products"
],
"available_endpoints": [
"get_inventory",
"get_products"
],
"integration_type": "wms",
"webhooks_disabled": false
}
],
"next_token": "next_token",
"total_count": 1
}
Headers
Your organization-level Trackstar API key.
Example:
"<x-trackstar-api-key>"
Query Parameters
The page token to use to retrieve the next page of results. If this field is omitted, there are no subsequent pages.
Example:
"page_token"
Response
200
application/json
Successful response
The response is of type object
.
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",
"sync_schedules": [
{
"function_name": "get_inventory",
"latest_sync": "2023-01-01T00:00:00Z",
"sync_frequency": 3600,
"in_progress": false
}
],
"errors": [
{
"error_message": "error_message",
"affected_endpoints": [
{
"endpoint": "GET /connection",
"preventing_sync": false
}
],
"first_seen": "2023-01-01T00:00:00Z",
"last_seen": "2023-01-01T00:00:00Z"
}
],
"available_actions": [
"get_inventory",
"get_products"
],
"available_endpoints": [
"get_inventory",
"get_products"
],
"integration_type": "wms",
"webhooks_disabled": false
}
],
"next_token": "next_token",
"total_count": 1
}