Ir al contenido

SessionsController_create

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