Contacts
Set or clear phone-number verification timestamp
Marks a specific phone number on the contact as verified (or clears verification when verifiedAt is null). Operates on the matching entry inside the phoneNumber array; org-scoped unless caller is SUPERADMIN.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/api/contacts/string/phone-number/verify" \ -H "Content-Type: application/json" \ -d '{ "phoneNumber": "+14165550100", "verifiedAt": "2026-05-15T09:12:00.000Z" }'{ "message": "Contact verified", "data": { "contact": { "_id": "64f0a1b2c3d4e5f6a7b8c9d0", "firstName": "Jane", "lastName": "Doe" } }}