POST
/
connection
curl --request POST \
  --url https://api.pathstack.io/connection \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "integration_name": "mtdata",
  "credentials": {},
  "business_name": "<string>",
  "abn": "<string>",
  "email": "<string>",
  "active": true,
  "collection_start_time": "2023-11-07T05:31:56Z",
  "collection_end_time": "2023-11-07T05:31:56Z"
}'
{
  "data": {
    "integration_name": "mtdata",
    "business_name": "<string>",
    "abn": "<string>",
    "email": "<string>",
    "active": true,
    "id": "<string>",
    "tenant_id": "<string>",
    "collection_start_time": "2023-11-07T05:31:56Z",
    "collection_end_time": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-api-version
string
default:2024-03-26
Example:

"2024-03-26"

Body

application/json
integration_name
enum<string>
required
Available options:
mtdata,
geotab,
navman,
mixtelematics,
radius,
verizon_connect,
volvo,
fleetsu,
digital_matter,
netstar,
webfleet,
scania,
linxio,
geoforce
credentials
object
required
business_name
string | null
required
abn
string | null
required
email
string | null
required
active
boolean
required
collection_start_time
string | null
collection_end_time
string | null

Response

200
application/json
Successful Response
data
object
required

Successful response payload