# PathStack ## Docs - [Login](https://docs.pathstack.io/api-reference/2024-03-27/auth/login.md): This endpoint takes a username or email, and a password, and returns an access token, refresh token, expiry time, token type, and a sub which is used with the refresh token to get a new access token by calling the refresh endpoint. - [Refresh](https://docs.pathstack.io/api-reference/2024-03-27/auth/refresh.md): This endpoint takes the sub and a refresh token and returns an access token and refresh token. - [Connection By Id](https://docs.pathstack.io/api-reference/2024-03-27/connections/connection-by-id.md): This endpoint returns a Connection by ID. - [Connection Credentials By Id](https://docs.pathstack.io/api-reference/2024-03-27/connections/connection-credentials-by-id.md): Credentials are owner-only. Shared tenants can see connection metadata through the existing scoped connection endpoints, but cannot read another tenant's stored integration credentials. - [Connections](https://docs.pathstack.io/api-reference/2024-03-27/connections/connections.md): This endpoint returns all connections within your tenancy. - [Create Connection](https://docs.pathstack.io/api-reference/2024-03-27/connections/create-connection.md): This endpoint takes attributes for a new Connection and a tenant_id and creates and returns a new Connection. - [Update Connection Credentials](https://docs.pathstack.io/api-reference/2024-03-27/connections/update-connection-credentials.md): Credential updates are restricted to the owning tenant for the same reason as credential reads: shares grant access to connection data, not to the owner's secret integration credentials. - [Create Share Request](https://docs.pathstack.io/api-reference/2024-03-27/consumer/create-share-request.md): This endpoint creates a Share Request. - [Get Share Requests](https://docs.pathstack.io/api-reference/2024-03-27/consumer/get-share-requests.md): This endpoint returns all Share Requests that have been created. - [Create Device](https://docs.pathstack.io/api-reference/2024-03-27/devices/create-device.md): This endpoint creates a Device. - [Delete Device By Id](https://docs.pathstack.io/api-reference/2024-03-27/devices/delete-device-by-id.md): This endpoint deletes a Device. - [Device By Id](https://docs.pathstack.io/api-reference/2024-03-27/devices/device-by-id.md): This endpoint returns a Device by ID. - [Devices](https://docs.pathstack.io/api-reference/2024-03-27/devices/devices.md): This endpoint returns all Devices that have been created by Connections for your Tenancy. - [Update Device By Id](https://docs.pathstack.io/api-reference/2024-03-27/devices/update-device-by-id.md): This endpoint update a Device. - [Event By Id](https://docs.pathstack.io/api-reference/2024-03-27/events/event-by-id.md): This endpoint returns an Event by ID. - [Events](https://docs.pathstack.io/api-reference/2024-03-27/events/events.md): This endpoint returns the Events for a Device. - [Create milestone](https://docs.pathstack.io/api-reference/2024-03-27/milestones/create-milestone.md) - [Delete Milestone](https://docs.pathstack.io/api-reference/2024-03-27/milestones/delete-milestone.md): Deletes a milestone. - [Get Milestone](https://docs.pathstack.io/api-reference/2024-03-27/milestones/get-milestone.md): Returns a milestone - [Get Milestone Update](https://docs.pathstack.io/api-reference/2024-03-27/milestones/get-milestone-update.md): Returns a milestone update - [Get milestones](https://docs.pathstack.io/api-reference/2024-03-27/milestones/get-milestones.md) - [Patch Milestone](https://docs.pathstack.io/api-reference/2024-03-27/milestones/patch-milestone.md): Modifies an existing milestone. - [Positions](https://docs.pathstack.io/api-reference/2024-03-27/positions/positions.md): This endpoint returns the Positions for a Device. - [Positions By Trip Id](https://docs.pathstack.io/api-reference/2024-03-27/positions/positions-by-trip-id.md): This endpoint returns the Positions for a Trip. - [Get Connect](https://docs.pathstack.io/api-reference/2024-03-27/real-time/get-connect.md): This endpoint returns an authenticated url for a websocket connection. - [Get Realtime Positions](https://docs.pathstack.io/api-reference/2024-03-27/real-time/get-realtime-positions.md): This endpoint returns the most recent Position of each Device. You can optionally pass in filter_parameters to filter the devices you will receive. - [Get Tags](https://docs.pathstack.io/api-reference/2024-03-27/tags/get-tags.md): This endpoint returns all Tags on Devices for a Tenant. - [Tenant By Id](https://docs.pathstack.io/api-reference/2024-03-27/tenants/tenant-by-id.md): This endpoint gets a Tenant. - [Tenant Configuration](https://docs.pathstack.io/api-reference/2024-03-27/tenants/tenant-configuration.md): This endpoint gets a Tenant. - [Update Tenant By Id](https://docs.pathstack.io/api-reference/2024-03-27/tenants/update-tenant-by-id.md): This endpoint updates a Tenant. - [Trip By Id](https://docs.pathstack.io/api-reference/2024-03-27/trips/trip-by-id.md): This endpoint returns a Trip by ID. - [Trips](https://docs.pathstack.io/api-reference/2024-03-27/trips/trips.md): This endpoint returns the Trips for a Device. - [Create Webhook](https://docs.pathstack.io/api-reference/2024-03-27/webhooks/create-webhook.md): Creates a new webhook. - [Delete Webhook](https://docs.pathstack.io/api-reference/2024-03-27/webhooks/delete-webhook.md): Deletes a webhook. - [Get Webhook](https://docs.pathstack.io/api-reference/2024-03-27/webhooks/get-webhook.md): Returns a webhook - [Get Webhooks](https://docs.pathstack.io/api-reference/2024-03-27/webhooks/get-webhooks.md): Returns a list of webhooks - [Patch Webhook](https://docs.pathstack.io/api-reference/2024-03-27/webhooks/patch-webhook.md): Modifies an existing webhook. - [Introduction](https://docs.pathstack.io/api-reference/introduction.md) - [Common Use Cases](https://docs.pathstack.io/common-use-cases.md) - [Authentication](https://docs.pathstack.io/content/authentication.md) - [Connect telematics accounts](https://docs.pathstack.io/content/get-connected.md): This guide shows the steps for connecting your Telematics account to PathStack so you can access unified device data. - [Key concepts and definitions](https://docs.pathstack.io/content/key-concepts.md) - [Configuration and versioning](https://docs.pathstack.io/content/manage-account.md) - [Pagination](https://docs.pathstack.io/content/pagination.md) - [Data processing times](https://docs.pathstack.io/content/processing-times.md) - [Supported providers](https://docs.pathstack.io/content/providers.md) - [Realtime data collection](https://docs.pathstack.io/content/realtime.md) - [Start requesting data](https://docs.pathstack.io/content/request-data.md) - [Bestrane](https://docs.pathstack.io/integration-guides/bestrane.md) - [Digital Matter](https://docs.pathstack.io/integration-guides/digitalmatter.md) - [Netstar Australia (FleetAI)](https://docs.pathstack.io/integration-guides/fleetai.md) - [Geoforce](https://docs.pathstack.io/integration-guides/geoforce.md) - [Geotab](https://docs.pathstack.io/integration-guides/geotab.md) - [Intellifleet](https://docs.pathstack.io/integration-guides/intellifleet.md) - [Linxio](https://docs.pathstack.io/integration-guides/linxio.md) - [Michelin Connected Fleet](https://docs.pathstack.io/integration-guides/michelin.md) - [MiX Telematics](https://docs.pathstack.io/integration-guides/mixtelematics.md) - [Teletrac Navman](https://docs.pathstack.io/integration-guides/navman.md) - [Netstar Australia](https://docs.pathstack.io/integration-guides/netstar.md) - [Radius Telematics](https://docs.pathstack.io/integration-guides/radius.md) - [Rand McNally (Fleetsu)](https://docs.pathstack.io/integration-guides/randmcnally.md) - [Scania](https://docs.pathstack.io/integration-guides/scania.md) - [Toyota Halo](https://docs.pathstack.io/integration-guides/toyota-halo.md) - [Verizon Connect](https://docs.pathstack.io/integration-guides/verizon.md) - [Volvo Dynafleet](https://docs.pathstack.io/integration-guides/volvo.md) - [Bridgestone Webfleet](https://docs.pathstack.io/integration-guides/webfleet.md) - [What is PathStack?](https://docs.pathstack.io/introduction.md) - [Contact Information](https://docs.pathstack.io/legal/contact-information.md) - [Data Consumer Terms of Service](https://docs.pathstack.io/legal/data-consumer-terms.md) - [Data Provider Terms of Service](https://docs.pathstack.io/legal/data-provider-terms.md) - [Privacy Statement](https://docs.pathstack.io/legal/privacy-statement.md) - [Security Statement](https://docs.pathstack.io/legal/security-statement.md) - [Quickstart guide](https://docs.pathstack.io/quickstart.md): Explore the following guides and examples to integrate PathStack into your system. ## OpenAPI Specs - [openapi_2024-03-27](https://docs.pathstack.io/api-reference/openapi_2024-03-27.json) - [openapi_2024-03-26](https://docs.pathstack.io/api-reference/openapi_2024-03-26.json) - [openapi](https://docs.pathstack.io/api-reference/openapi.json)