---
title: "Create access token"
method: POST
path: "/v2/sdk/credentials"
tags: ["Sdk"]
---

# Create access token

`POST /v2/sdk/credentials`

## Request

- Base URL: `https://api.sandbox.eu.bandyer.com`
- URL: `https://api.sandbox.eu.bandyer.com/v2/sdk/credentials`
- Auth: API key in header `apikey`

Create user access token that can be user in the sdks.

## Request body

- object
  - `user_id` string, required: User Id.
  - `expires_in` number: Expire time.

## Response `200`

- object
  - `user_id` string: User Id.
  - `access_token` string: Access token.
  - `expires_at` string, date-time: Expire time.

## Other responses

- `401`: Unauthorized
- `404`: User was not found
- `422`: Unprocessable Content
- `429`: Too Many request

---

[API](https://skmtc.dev/kaleyra/apis/kaleyra-video-rest-api-v2.md) - [All operations](https://skmtc.dev/kaleyra/apis/kaleyra-video-rest-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/kaleyra/apis/kaleyra-video-rest-api-v2/revisions/4424fd54ae42?raw)
