> ## Documentation Index
> Fetch the complete documentation index at: https://docs.alvys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get trip stop

> Retrieve a single trip stop by trip and stop ID, including the location, appointment window, arrival and departure timestamps, and stop-level notes.

This endpoint retrieves a single stop record associated with a given trip, including scheduling information, arrival/departure timestamps, location details, and references.

### Endpoint

```
GET /api/p/v{version}/trips/{tripId}/stops/{stopId}
```

### Request Parameters

The following parameters are required in the URL path:

| Parameter | Type   | Required | Description                                    |
| --------- | ------ | -------- | ---------------------------------------------- |
| version   | String | Yes      | The API version to use.                        |
| tripId    | String | Yes      | Unique identifier of the trip.                 |
| stopId    | String | Yes      | Unique identifier of the stop within the trip. |

### Example CURL request

```bash theme={null}
curl --location 'https://integrations.alvys.com/api/p/v1/trips/{tripId}/stops/{stopId}' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'
```

Replace:

* `{version}` with the API version (for example `1`)
* `{tripId}` with the actual trip ID
* `{stopId}` with the stop ID
* `YOUR_ACCESS_TOKEN` with your Bearer token

Example:

```bash theme={null}
curl --location 'https://integrations.alvys.com/api/p/v1/trips/000c3a9bf0000000bf000d000e000a0b/stops/000a3b9bf0000000bf000d000e000a0c' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ...'
```

### Response Parameters

| Parameter                 | Type              | Required | Description                                                                                                |
| ------------------------- | ----------------- | -------- | ---------------------------------------------------------------------------------------------------------- |
| Id                        | string            | Yes      | Unique identifier of the stop.                                                                             |
| Address.City              | string            | No       | City of the stop location.                                                                                 |
| Address.State             | string            | No       | State of the stop location.                                                                                |
| Address.Street            | string            | No       | Street address of the stop location.                                                                       |
| Address.ZipCode           | string            | No       | ZIP code of the stop location.                                                                             |
| AppointmentConfirmed      | boolean           | No       | Indicates whether the appointment has been confirmed.                                                      |
| AppointmentDate           | string (datetime) | No       | Appointment date/time for the stop. Populated when `scheduleType = APPT`.                                  |
| AppointmentRequested      | boolean           | No       | Indicates whether an appointment has been requested.                                                       |
| ArrivedAt                 | string (datetime) | No       | Timestamp when the stop was arrived at (UTC).                                                              |
| CompanyId                 | string            | No       | Unique identifier of the company associated with the stop.                                                 |
| CompanyName               | string            | No       | Name of the company associated with the stop.                                                              |
| CompanyNumber             | string            | No       | Registration or identification number of the company.                                                      |
| Coordinates.Latitude      | string            | No       | Latitude of the stop location.                                                                             |
| Coordinates.Longitude     | string            | No       | Longitude of the stop location.                                                                            |
| DepartedAt                | string (datetime) | No       | Timestamp when the stop was departed from (UTC).                                                           |
| LoadingType               | string            | No       | Loading type at the stop (for example `Live`, `Drop`, `Hook`, `Drop&Hook`).                                |
| References\[]             | array             | No       | List of references associated with the stop.                                                               |
| References\[].Access      | string            | No       | Access level of the reference (`Internal`, `Public`).                                                      |
| References\[].Id          | string            | No       | Unique identifier of the reference.                                                                        |
| References\[].Name        | string            | No       | Name of the reference field.                                                                               |
| References\[].Origin      | string            | No       | Origin of the reference (for example `Manual`, `Integration`).                                             |
| References\[].ReferenceId | string            | No       | External reference identifier.                                                                             |
| References\[].Type        | string            | No       | Reference type (for example `Text`, `Date`).                                                               |
| References\[].Value       | string            | No       | Value of the reference.                                                                                    |
| ScheduleType              | string            | No       | Schedule type of the stop (`APPT` or `FCFS`).                                                              |
| Status                    | string            | No       | Current operational status of the stop.                                                                    |
| StopType                  | string            | No       | Type of stop (for example `Pickup`, `Delivery`, `Waypoint`).                                               |
| StopWindow\.Begin         | string (datetime) | No       | Start of the delivery window when `scheduleType = FCFS`.                                                   |
| StopWindow\.End           | string (datetime) | No       | End of the delivery window when `scheduleType = FCFS`.                                                     |
| \$type                    | string            | No       | Polymorphic type discriminator for the stop representation (`appointment`, `delivery_window`, `waypoint`). |

### Example Response

```json theme={null}
{
  "AppointmentRequested": true,
  "AppointmentConfirmed": true,
  "AppointmentDate": "2026-03-16T11:05:40.106Z",
  "ScheduleType": "APPT",
  "LoadingType": "Live",
  "Id": "string",
  "Address": {
    "Street": "123 Industrial Rd",
    "City": "Dallas",
    "State": "TX",
    "ZipCode": "75201"
  },
  "Coordinates": {
    "Latitude": "32.7767",
    "Longitude": "-96.7970"
  },
  "Status": "Open",
  "StopType": "Pickup",
  "ArrivedAt": "2026-03-16T11:05:40.106Z",
  "DepartedAt": "2026-03-16T11:45:40.106Z",
  "References": [
    {
      "Id": "string",
      "ReferenceId": "PO123456",
      "Name": "PO Number",
      "Value": "PO123456",
      "Type": "Text",
      "Access": "Public",
      "Origin": "Manual"
    }
  ],
  "CompanyId": "string",
  "CompanyNumber": "GT530",
  "CompanyName": "Alvys Distribution",
  "$type": "appointment"
}
```

### Status Codes

| Status Code   | Description                                    |
| ------------- | ---------------------------------------------- |
| 200 OK        | Stop successfully retrieved.                   |
| 404 Not Found | Trip or stop does not exist or is not visible. |

### Versioning

The `version` parameter in the URL path specifies which version of the API you are using. Including the version ensures that your integration interacts with the correct API contract and remains compatible as the API evolves.

For more details, see the **Versioning** documentation.

### Rate Limits

All endpoints are subject to API rate limits to ensure service stability and protect against traffic spikes.\
Refer to the **Rate Limits** documentation for more information.

<br />


## OpenAPI

````yaml GET /api/p/v{version}/trips/{tripId}/stops/{stopId}
openapi: 3.0.1
info:
  title: Alvys
  description: >-
    Alvys provides a robust set of REST APIs to allow you to integrate Alvys
    into virtually any platform. These APIs cover most of Alvys' major product
    areas with additional endpoints being added regularly based on customer
    requests.
  contact:
    name: Alvys Support
    url: https://www.alvys.com/resources/contact/
  version: v1
servers:
  - url: https://integrations.alvys.com
    description: Public API Server
  - url: https://api.alvys.com/
    description: Public API Server
security:
  - Public: []
tags:
  - name: Authentication
    description: Obtain an OAuth 2.0 access token for the Alvys Public API.
  - name: Carrier Settlement Statements
    description: >-
      Search carrier settlement statements and retrieve a single statement by
      number.
  - name: Carriers
    description: Read carrier records, search carriers, and manage carrier documents.
  - name: Customers
    description: Create, read, update, delete, and search customer records.
  - name: Deductions
    description: >-
      Create one-time deductions and search or delete existing deduction
      records.
  - name: DispatchPreferences
    description: Dispatch preferences endpoints for reading dispatch rules and preferences.
  - name: Driver Settlement Statements
    description: >-
      Search driver settlement statements and retrieve a single statement by
      number.
  - name: Drivers
    description: >-
      Read driver records, search drivers and driver events, and manage driver
      documents.
  - name: Fuel
    description: Read and search fuel transactions.
  - name: Invoices
    description: >-
      Read invoices, create carrier invoices, and record carrier and customer
      payments.
  - name: Loads
    description: Read, update, search loads, and manage load documents and notes.
  - name: Locations
    description: Read and search company location details.
  - name: Maintenance
    description: Read and search maintenance records.
  - name: Tenders
    description: Create, accept, reject, cancel, update, and search inbound EDI tenders.
  - name: Tolls
    description: Read and search toll transactions.
  - name: Trailers
    description: Read trailers, search trailer events, and manage trailer documents.
  - name: Trips
    description: >-
      Read, search trips, manage trip documents, and record stop appointments,
      arrivals, and departures.
  - name: Trucks
    description: Read trucks, search truck events, and manage truck documents.
  - name: Users
    description: List and search users.
  - name: Visibility
    description: >-
      Read inbound and outbound visibility history and search outbound
      visibility errors.
  - name: Webhooks
    description: >-
      Create, read, update, delete, enable, disable, verify, test, and rotate
      secrets for webhook subscriptions; read event types, delivery logs, and
      health metrics.
paths:
  /api/p/v{version}/trips/{tripId}/stops/{stopId}:
    get:
      tags:
        - Trips
      summary: Get trip stop
      parameters:
        - name: tripId
          in: path
          required: true
          schema:
            type: string
        - name: stopId
          in: path
          required: true
          schema:
            type: string
        - name: version
          in: path
          description: API version (e.g., 1.0)
          required: true
          schema:
            type: string
            default: '1.0'
            example: '1.0'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Alvys.Models.Trips.StopResponse'
        '401':
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails'
        '429':
          description: Too Many Requests
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails'
      security:
        - Public: []
components:
  schemas:
    Alvys.Models.Trips.StopResponse:
      required:
        - $type
      type: object
      oneOf:
        - $ref: '#/components/schemas/Alvys.Models.Trips.AppointmentStopResponse'
        - $ref: '#/components/schemas/Alvys.Models.Trips.DeliveryWindowStopResponse'
        - $ref: '#/components/schemas/Alvys.Models.Trips.WaypointStopResponse'
      properties:
        $type:
          type: string
          description: Type discriminator for polymorphic serialization
      additionalProperties: false
      discriminator:
        propertyName: $type
        mapping:
          appointment:
            $ref: '#/components/schemas/Alvys.Models.Trips.AppointmentStopResponse'
          delivery_window:
            $ref: '#/components/schemas/Alvys.Models.Trips.DeliveryWindowStopResponse'
          waypoint:
            $ref: '#/components/schemas/Alvys.Models.Trips.WaypointStopResponse'
    Microsoft.AspNetCore.Mvc.ProblemDetails:
      type: object
      properties:
        Type:
          type: string
          nullable: true
        Title:
          type: string
          nullable: true
        Status:
          type: integer
          format: int32
          nullable: true
        Detail:
          type: string
          nullable: true
        Instance:
          type: string
          nullable: true
      additionalProperties: {}
    Alvys.Models.Trips.AppointmentStopResponse:
      required:
        - AppointmentConfirmed
        - AppointmentRequested
        - Id
        - References
        - ScheduleType
        - StopType
      type: object
      properties:
        AppointmentRequested:
          type: boolean
        AppointmentConfirmed:
          type: boolean
        AppointmentDate:
          type: string
          format: date-time
          nullable: true
        ScheduleType:
          type: string
        LoadingType:
          type: string
          nullable: true
        Id:
          type: string
        Address:
          allOf:
            - $ref: '#/components/schemas/Alvys.Features.Locations.ShortAddress'
          nullable: true
        Coordinates:
          allOf:
            - $ref: '#/components/schemas/Alvys.Models.Coordinates'
          nullable: true
        Status:
          type: string
          nullable: true
        StopType:
          type: string
        ArrivedAt:
          type: string
          format: date-time
          nullable: true
        DepartedAt:
          type: string
          format: date-time
          nullable: true
        References:
          type: array
          items:
            $ref: '#/components/schemas/Alvys.Models.References.ReferenceResponse'
        CompanyId:
          type: string
          nullable: true
        CompanyNumber:
          type: string
          nullable: true
        CompanyName:
          type: string
          nullable: true
      additionalProperties: false
    Alvys.Models.Trips.DeliveryWindowStopResponse:
      required:
        - Id
        - References
        - ScheduleType
        - StopType
      type: object
      properties:
        StopWindow:
          allOf:
            - $ref: '#/components/schemas/Alvys.Models.Trips.DateTimeWindowDto'
          nullable: true
        ScheduleType:
          type: string
        LoadingType:
          type: string
          nullable: true
        Id:
          type: string
        Address:
          allOf:
            - $ref: '#/components/schemas/Alvys.Features.Locations.ShortAddress'
          nullable: true
        Coordinates:
          allOf:
            - $ref: '#/components/schemas/Alvys.Models.Coordinates'
          nullable: true
        Status:
          type: string
          nullable: true
        StopType:
          type: string
        ArrivedAt:
          type: string
          format: date-time
          nullable: true
        DepartedAt:
          type: string
          format: date-time
          nullable: true
        References:
          type: array
          items:
            $ref: '#/components/schemas/Alvys.Models.References.ReferenceResponse'
        CompanyId:
          type: string
          nullable: true
        CompanyNumber:
          type: string
          nullable: true
        CompanyName:
          type: string
          nullable: true
      additionalProperties: false
    Alvys.Models.Trips.WaypointStopResponse:
      required:
        - $type
        - Id
        - References
        - StopType
      type: object
      properties:
        StopWindow:
          allOf:
            - $ref: '#/components/schemas/Alvys.Models.Trips.DateTimeWindowDto'
          nullable: true
        Id:
          type: string
        Address:
          allOf:
            - $ref: '#/components/schemas/Alvys.Features.Locations.ShortAddress'
          nullable: true
        Coordinates:
          allOf:
            - $ref: '#/components/schemas/Alvys.Models.Coordinates'
          nullable: true
        Status:
          type: string
          nullable: true
        StopType:
          type: string
        ArrivedAt:
          type: string
          format: date-time
          nullable: true
        DepartedAt:
          type: string
          format: date-time
          nullable: true
        References:
          type: array
          items:
            $ref: '#/components/schemas/Alvys.Models.References.ReferenceResponse'
        CompanyId:
          type: string
          nullable: true
        CompanyNumber:
          type: string
          nullable: true
        CompanyName:
          type: string
          nullable: true
        $type:
          enum:
            - waypoint
          type: string
          description: Type discriminator for polymorphic serialization
      additionalProperties: false
    Alvys.Features.Locations.ShortAddress:
      required:
        - City
        - State
        - Street
        - ZipCode
      type: object
      properties:
        Street:
          type: string
        City:
          type: string
        State:
          type: string
        ZipCode:
          type: string
      additionalProperties: false
    Alvys.Models.Coordinates:
      required:
        - Latitude
        - Longitude
      type: object
      properties:
        Latitude:
          type: string
        Longitude:
          type: string
      additionalProperties: false
    Alvys.Models.References.ReferenceResponse:
      required:
        - Name
        - Value
      type: object
      properties:
        Id:
          type: string
          nullable: true
        ReferenceId:
          type: string
          nullable: true
        Name:
          type: string
        Value:
          type: string
        Type:
          type: string
          nullable: true
        Access:
          type: string
          nullable: true
        Origin:
          type: string
          nullable: true
      additionalProperties: false
    Alvys.Models.Trips.DateTimeWindowDto:
      required:
        - Begin
        - End
      type: object
      properties:
        Begin:
          type: string
          format: date-time
        End:
          type: string
          format: date-time
      additionalProperties: false
  securitySchemes:
    Public:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        OAuth 2.0 client-credentials access token. Obtain one from
        https://auth.alvys.com/oauth/token (grant_type=client_credentials,
        audience=https://api.alvys.com/public/), then paste it here. The
        playground sends it as `Authorization: Bearer <token>`.

````