---
title: "Check-in to a vehicle"
method: POST
path: "/v1/resourceowner/vehicles2/checkin"
tags: ["ResourceOwnerVehicle2V2"]
---

# Check-in to a vehicle

`POST /v1/resourceowner/vehicles2/checkin`

This will check-in the contact specified and if left empty it will check-in the calling user into a vehicle

## Request body

- VehicleCheckInModel
  - `ContactId` integer
  - `VehicleId` integer
  - `DefaultTripType` 0 | 1 | 2 | 3
  - `CheckOutAtUtc` string, date-time
  - `UserDeviceType` 0 | 1 | 2
  - `UserDeviceToken` string

## Response `200`

The user is checked in to vehicle

## Other responses

- `400` — Bad request, could occur for a number of cases, see returned message
- `403` — Request is forbidden, could occur for a number of reasons, see returned message
- `404` — Not found, the vehicle you tried to update can't be found
- `500` — Internal server error

---

[API](https://skmtc.net/automile/apis/automile-api.md) · [All operations](https://skmtc.net/automile/apis/automile-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/automile/automile-api/revisions/bd42075f6b02/schema)
