Backend API
Add a new phone number to a user’s profile
cURL
curl --request POST \ --url https://api.wacht.dev/users/{user_id}/phones \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "phone_number": "<string>", "is_primary": false } '
{ "message": "Resource not found" }
API key authentication (Bearer token)
Phone added successfully
Was this page helpful?