> For the complete documentation index, see [llms.txt](https://requestmechanic.gitbook.io/request-mechanic-api-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://requestmechanic.gitbook.io/request-mechanic-api-documentation/calls/generate-video-sdk-token.md).

# Generate Video SDK Token

Use the `GET /calls/generate-videosdk-token/` endpoint to retrieve a token required for establishing a secure video call session. This token is essential for initializing video communication between the car owner and the mechanic.

**Parameters**:\
This endpoint does not require any parameters.

**Example Request**:

```bash
curl -X GET "https://requestnowmechanic.com/v1/calls/generate-videosdk-token/" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
```

**Successful Response**

* **Status Code**: `200 OK`
* **Description**: The request was successful, and a video SDK token was generated.
* **Response Body Example**:

  <pre class="language-json"><code class="lang-json">{
    "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
  <strong>}
  </strong></code></pre>

**Error Response**

* **Status Code**: `401 Unauthorized`
* **Description**: Returned if the Bearer Token is not provided or invalid.
