<!-- dev-portal
method: POST
title: Token
path: /token
-->

### POST /token

Retrieves a temporary bearer token based on the customer's `clientId` and `clientSecret`

#### Request Body

Content type: `application/x-www-form-urlencoded`

| Name         | Type   | Required | Description                                |
|--------------|--------|----------|--------------------------------------------|
| clientId     | string | Yes      | clientId provided to customer by Ford.     |
| clientSecret | string | Yes      | clientSecret provided to customer by Ford. |

#### Response

| Name          | Type      | Description                                                                                                   |
|---------------|-----------|---------------------------------------------------------------------------------------------------------------|
| access_token  | string    | Bearer token to use for authentication for all other Telematics API endpoints.                                |
| token_type    | string    | Type of token, will always return "Bearer"                                                                    |
| expires_in    | timestamp | UTC timestamp at which the returned access_token will expire. This will be 5 minutes after the request time.  |

| Name | Description                                                                                                               |
|------|---------------------------------------------------------------------------------------------------------------------------|
| 200  | Ok.                                                                                                                       |

##### Example

```bash
curl -X POST  -H "Content-Type: application/x-www-form-urlencoded" --data "clientId=${clientId}" --data "clientSecret=${clientSecret}" https://${HOST}/vehicle-status-api/token"
{
  "access_token": "...",
  "token_type": "Bearer",
  "expires_in": "1675667857713"
}
```
