# QUICKSTART

## API Quick Start

- [Authentication](/content/docs/tracking/quickstart/authentication/index.html)  
- [SignString](/content/docs/tracking/quickstart/authentication/sign-string/index.html)

## OAuth

- [Overview](/content/docs/tracking/quickstart/authentication/oauth/overview/index.html)  
- [Getting Started](/content/docs/tracking/quickstart/authentication/oauth/getting-started/index.html)  
- [Scope List](/content/docs/tracking/quickstart/authentication/oauth/available-scopes/index.html)  
- [Versioning](/content/docs/tracking/quickstart/versioning/index.html)  
- [Rate Limit](/content/docs/tracking/quickstart/rate-limit/index.html)  
- [Body Envelope](/content/docs/tracking/quickstart/body-envelope/index.html)  
- [Request Errors](/content/docs/tracking/quickstart/request-errors/index.html)  
- [Try API Endpoints](/content/docs/tracking/quickstart/try-api-endpoints/index.html)

## CHANGELOG

- [Changelog](/content/docs/tracking/changelog/index.html)  
- [Migration Guide](/content/docs/tracking/migration-guide/index.html)  
- [Past Changelog](/content/docs/tracking/past-changelog/index.html)

## REFERENCE

- [API Overview](/content/docs/tracking/fcd9acb5f448a-api-overview/index.html)

### Tracking

- [Get trackings](/content/docs/tracking/jh865r66gc6hi-get-trackings/index.html)  
- [Create a tracking](/content/docs/tracking/sxafu5cay1usl-create-a-tracking/index.html)  
- [Get a tracking by ID](/content/docs/tracking/bcb1azgtk9n6r-get-a-tracking-by-id/index.html)  
- [Update a tracking by ID](/content/docs/tracking/ambhbdx43wiq2-update-a-tracking-by-id/index.html)  
- [Delete a tracking by ID](/content/docs/tracking/w9cq6brf94whb-delete-a-tracking-by-id/index.html)  
- [Retrack an expired tracking by ID](/content/docs/tracking/7h0qwvzlv6fhg-retrack-an-expired-tracking-by-id/index.html)  
- [Mark tracking as completed by ID](/content/docs/tracking/w8uwm9t73oshp-mark-tracking-as-completed-by-id/index.html)

### Courier

- [Get couriers](/content/docs/tracking/ukw8ouy82dp1k-get-couriers/index.html)  
- [Detect courier](/content/docs/tracking/2qae9fa825r4t-detect-courier/index.html)

### Courier connection

- [Get courier connections](/content/docs/tracking/2ar6bpph8n7ye-get-courier-connections/index.html)  
- [Create courier connections](/content/docs/tracking/ca8lnpup3hk80-create-courier-connections/index.html)  
- [Get courier connection by id](/content/docs/tracking/hkstsz7uw0xab-get-courier-connection-by-id/index.html)  
- [Update courier connection by id](/content/docs/tracking/1zlifu29523fv-update-courier-connection-by-id/index.html)  
- [Delete courier connection by id](/content/docs/tracking/3251e44ike4au-delete-courier-connection-by-id/index.html)

### Estimated delivery date

- [Prediction for the Estimated Delivery Date](/content/docs/tracking/1o2zu0jrca785-prediction-for-the-estimated-delivery-date/index.html)  
- [Batch prediction for the Estimated Delivery Date](/content/docs/tracking/0dkrr2qt6lvwv-batch-prediction-for-the-estimated-delivery-date/index.html)

### MODEL

- [Tracking](/content/docs/tracking/model/tracking/index.html)  
- [Courier](/content/docs/tracking/model/courier/index.html)  
- [Checkpoint](/content/docs/tracking/model/checkpoint/index.html)  
- [Courier Connection](/content/docs/tracking/model/courier-connection/index.html)

### ENUM

- [Additional Tracking Fields](/content/docs/tracking/enum/additional-tracking-fields/index.html)  
- [Delivery Statuses](/content/docs/tracking/enum/delivery-statuses/index.html)  
- [Delivery Sub-statuses](/content/docs/tracking/enum/delivery-sub-statuses/index.html)  
- [Slug Groups](/content/docs/tracking/enum/slug-groups/index.html)  
- [Events](/content/docs/tracking/enum/events/index.html)  
- [Confidence Codes](/content/docs/tracking/enum/confidence-codes/index.html)  
- [AfterShip EDD Revise Reasons](/content/docs/tracking/enum/edd-revise-reasons/index.html)

### Webhook

- [Webhook Overview](/content/docs/tracking/webhook/webhook-overview/index.html)  
- [Webhook Versioning](/content/docs/tracking/webhook/webhook-versioning/index.html)  
- [Webhook Specifications](/content/docs/tracking/webhook/webhook-specifications/index.html)  
- [Webhook Signature](/content/docs/tracking/webhook/webhook-signature/index.html)  
- [Webhook OAuth 2.0](/content/docs/tracking/webhook/webhook-oauth2/index.html)  
- [Webhook Outgoing IPs](/content/docs/tracking/webhook/webhook-outgoing-ips/index.html)  
- [Webhook Changelog](/content/docs/tracking/webhook/webhook-changelog/index.html)

### OTHERS

- [Supported Couriers](/content/docs/tracking/others/supported-couriers/index.html)  
- [CSV Upload & CSV Auto-Fetch](/content/docs/tracking/others/csv-upload-ftp-auto-fetch/index.html)  
- [Shipment CSV Export](/content/docs/tracking/others/csv-export/index.html)  
- [Order CSV Export](/content/docs/tracking/others/order-csv-export/index.html)

### SDK

- [Java SDK](https://github.com/AfterShip/tracking-sdk-java)  
- [Node.js SDK](https://github.com/AfterShip/tracking-sdk-nodejs)  
- [.NET SDK](https://github.com/AfterShip/tracking-sdk-net)  
- [Python SDK](https://github.com/AfterShip/tracking-sdk-python)  
- [Ruby Gem](https://github.com/AfterShip/tracking-sdk-ruby)  
- [PHP SDK](https://github.com/AfterShip/tracking-sdk-php)  
- [Golang SDK](https://github.com/AfterShip/tracking-sdk-go)

### Open Source

- [phone](https://github.com/AfterShip/phone)  
- [email-verifier](https://github.com/AfterShip/email-verifier)

## Detect courier

**POST**  
`https://api.aftership.com/tracking/2026-07/couriers/detect`

**Return** a list of matched couriers based on tracking number format.

### Request

**Security**: API Key

#### Headers

- **Content-Type**: `application/json` (required)

#### Body

```json
{
  "tracking_number": "RA123456879US"
}
```

### Responses

- **200**: Couriers object
  
#### Body

```json
{
  "meta": {
    "code": 200
  },
  "data": {
    "total": 1,
    "couriers": [{
      "slug": "ups-api",
      "name": "UPS",
      "phone": "+1 800 742 5877",
      "web_url": "https://www.ups.com",
      "credentials": {
        "fields": [
          { "name": "user_id", "type": "string", "required": true },
          { "name": "password", "type": "string", "required": true }
        ]
      }
    }]
  }
}
```
