Ir al contenido

SessionsController_connect

POST
/sessions/{id}/connect
curl --request POST \
--url https://example.com/sessions/example/connect \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '{ "method": "qr", "phone": "example" }'
id
required
string
Media typeapplication/json
object
method
string
Allowed values: qr pairing_code
phone
string
/^\d{8,15}$/