---
title: "Create and send pin code to login with"
method: POST
path: "/v1/client/textmessages/createpin"
tags: ["ClientTextMessage"]
---

# Create and send pin code to login with

`POST /v1/client/textmessages/createpin`

## Request body

- CreatePinModel
  - `UserName` string
  - `MobilePhoneNumber` string
  - `UserGuid` string, uuid
  - `Culture` string

## Response `200`

The Pin code have been sent

## Other responses

- `400` — Format error on phonenumber, To many SMS or no match on phonenumber

---

[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)
