---
title: "POST /v1/robot/charge"
method: POST
path: "/v1/robot/charge"
tags: ["Mission"]
---

# POST /v1/robot/charge

`POST /v1/robot/charge`

## Request

- Base URL: `https://api.bearrobotics.ai`
- URL: `https://api.bearrobotics.ai/v1/robot/charge`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bearrobotics/apis/bear-cloud-api/docs/v1/robot/charge/post.ts> (a function with typed inputs; its response is checked against the schema)

Instruct the robot to begin charging, regardless of its current battery
 level.

 This call will fail if:
 - The robot is already executing a mission.
   The current mission must be canceled before issuing this command.

 Notes:
 - This command is only supported on robots equipped with a contact-based
 charging dock.
   Robots without a compatible dock will return a INVALID_ARGUMENT error.

## Request body

- ChargeRobotRequest: Request object for sending a robot to charge
  - `robotId` string, required: Unique identifier of the robot

## Response `200`

OK

- ChargeRobotResponse
  - `missionId` string

## Other responses

- `400`: Bad Request, usually caused by malfored request body.
- `401`: Unauthorized credentials, ensure the JWT is correct and up to date.
- `500`: Internal Server Error
- `503`: Service is temporarily unavailable, which can usually be resolved by backoff retries.
- `504`: Server-side timeout, usually caused by the failure to send/receive commands/responses to the designated robot.

---

[API](https://skmtc.dev/bearrobotics/apis/bear-cloud-api.md) - [All operations](https://skmtc.dev/bearrobotics/apis/bear-cloud-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bearrobotics/apis/bear-cloud-api/revisions/b90843b624b5?raw)
