chat
Register device
Register a new device for the current user with encryption keys.
post/api/chat/devices
Request
- Base URL: https://api.corabea.it (the document declares no server; this is the origin it was published from)
- URL: https://api.corabea.it/api/chat/devices
- Auth: HTTP bearer
Request body
Example request
{
"device_fingerprint": "abc123def456...",
"device_name": "iPhone 13 Pro",
"device_type": "mobile",
"key_type": "RSA-2048",
"public_key": "-----BEGIN PUBLIC KEY-----\n...\n-----END PUBLIC KEY-----"
}Response
Successful Response
Example response
{
"device_id": "123e4567-e89b-12d3-a456-426614174000",
"message": "Dispositivo registrato con successo"
}Changes
No recorded changes to this operation across all 55 revisions of this API.