---
title: "Connessione Account tramite fornitura Codice OTP"
method: POST
path: "/api/partner/session/{id}/pair"
---

# Connessione Account tramite fornitura Codice OTP

`POST /api/partner/session/{id}/pair`

Questa chiamata, a partire dall’ID sessione di uno specifico utilizzatore di Trilly e da un numero di telefono, consentirà ad un partner di ricevere un codice OTP per un proprio cliente che potrà utilizzarlo per connettere il telefono al sistema alternativamente al QR Code.

## Path parameters

- `id` number, required

## Query parameters

- `api_key` string, required

## Request body

- object
  - `Phone` string — Numero di telefono che si vuole associare al cliente.

## Response `200`

OK

- object
  - `success` boolean — Risultato dell'operazione.
  - `pairCode` string — Codice OTP.

## Other responses

- `401` — Unauthorized
- `500` — Errore

---

[API](https://skmtc.net/simplenetworks/apis/trilly-api.md) · [All operations](https://skmtc.net/simplenetworks/apis/trilly-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/simplenetworks/trilly-api/versions/b03e55f0d8aa/schema)
