orvachat

Sessions

Send Passkey Response

POST/api/v1/session/passkey-response

Answer a passkey request during pairing (only when WhatsApp asks for a passkey).

Parameters

  • responseobjectRequired

    The passkey answer from the browser (navigator.credentials.get()).

Code Examples

cURL
curl -X POST "https://orvachat.com/api/v1/session/passkey-response" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "response": {
    "id": "…",
    "rawId": "…",
    "type": "public-key",
    "response": {}
  }
}'

Response Example

200 OK
{
  "code": 200,
  "data": {
    "status": "passkey_response_sent"
  },
  "success": true
}