<!-- dev-portal
method: POST
title: Create Driver Association
path: /v1/driver-association
-->

<div style="background-color:#fff3cd; border-left:6px solid #ffeeba; padding:16px; margin-bottom:24px;">
<strong>Note:</strong> GET /v2/driver-association will be deprecated soon and will no longer receive updates or support. Please refer to the <a href="../../../NEW Ford Telematics REST API V2/V2 Migration Guide"><u>Migration Guide</u></a> to learn about the new endpoints and how to transition your integration.
</div>

### POST /v1/driver-association

Create new driver association record

#### Request Body

| Name       | Type           | Required | Description                                                         |
|------------|----------------|----------|---------------------------------------------------------------------|
| driver_id  | UUID           | Yes      | Unique identifier of the driver.                                    |
| vin        | string         | Yes      | Vehicle Identification Number.                                      |
| start_time | OffsetDateTime | Yes      | Start time of the association. example: "2024-09-11T23:00:00.000Z". |

#### Response
201 when created 

##### Response Codes

| Name | Description                                                                                                               |
|------|---------------------------------------------------------------------------------------------------------------------------|
| 201  | Created.                                                                                                                  |

#### Example
```bash
curl -X POST -H "Authorization: \"Bearer ${AUTH_TOKEN}\"" "https://${HOST}/vehicle-status-api" --data '{
    "driver_id": "a3ad4045-1213-4243-a884-0b004470a9cd",
    "vin": "1DTEW1C47KDB54736",
    "start_time": "2024-09-08T00:00:00.000Z"
}'

201 Created
```
