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

# Create access token

`POST /v2/sdk/credentials`

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.net/kaleyra/apis/kaleyra-io-sms-apis.md) · [All operations](https://skmtc.net/kaleyra/apis/kaleyra-io-sms-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kaleyra/kaleyra-io-sms-apis/versions/d9b785884d03/schema)
