Set the account profile picture
Updates the connected WhatsApp account's own profile photo. The image must be a base64-encoded JPEG; it replaces the current picture and returns the new picture ID.
Updates the connected WhatsApp account's own profile photo. The image must be a base64-encoded JPEG; it replaces the current picture and returns the new picture ID.
Authorization
bearerAuth Per-user API token (UUID v4) sent as Authorization: Bearer <token>. Identifies the tenant and user.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Payload for setting the account's own profile picture.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/profile/picture" \ -H "Content-Type: application/json" \ -d '{ "image_base64": "/9j/4AAQSkZJRgABAQAAAQABAAD..." }'{ "success": true, "picture_id": "1718000000"}{ "success": false, "error": "validation failed", "error_code": "VALIDATION_ERROR", "timestamp": "2026-06-15T12:00:00Z"}{ "success": false, "error": "validation failed", "error_code": "VALIDATION_ERROR", "timestamp": "2026-06-15T12:00:00Z"}{ "success": false, "error": "validation failed", "error_code": "VALIDATION_ERROR", "timestamp": "2026-06-15T12:00:00Z"}{ "success": false, "error": "validation failed", "error_code": "VALIDATION_ERROR", "timestamp": "2026-06-15T12:00:00Z"}{ "success": false, "error": "validation failed", "error_code": "VALIDATION_ERROR", "timestamp": "2026-06-15T12:00:00Z"}{ "success": false, "error": "validation failed", "error_code": "VALIDATION_ERROR", "timestamp": "2026-06-15T12:00:00Z"}Send passkey (WebAuthn) pairing response POST
Second step of passkey pairing. When WhatsApp offers passkey-based device linking, your webhook receives `pair.passkey_request` carrying the WebAuthn challenge (`public_key`). Resolve it in the account owner's authenticator — in a browser, `navigator.credentials.get({ publicKey })` — and submit the resulting credential here. WUTS forwards it to WhatsApp; on success the `pair.passkey_confirmation` webhook delivers a verification code to show the user.
Create, edit, or delete a label PUT
Creates, renames, recolors, or deletes a label for the connected account via a WhatsApp app-state patch. Set deleted=true to remove the label.