Skip to main content

Create user contact

Creates a new contact phone number for a Cogfy user.

POST https://api.cogfy.com/user-contacts

Request body

  • userId: The ID of the user to create the contact.
  • value: The user's phone number.

Example JSON request

{
"userId": "eb070e5e-8dce-42a4-89d1-200bab77a97d",
"value": "5511999999999"
}

Response body

  • id: The unique identifier of the created contact.
  • type: 'phone'
  • value: The created contact's phone number.