Contacts

Get a contact by id

Changed on
get/contacts/{contactId}

Request

Path parameters

contactIdstring uuid required

Response

Contact details

idstring uuid required
waIdstring nullable required

WhatsApp id of the contact

waProfileNamestring nullable required

Name in the WhatsApp profile of the contact

firstNamestring nullable required
lastNamestring nullable required
fullNamestring nullable required
emailstring nullable required
phonestring nullable required
occupationstring nullable required
genderstring nullable required
birthdatestring nullable required
agenumber nullable required
notesstring nullable required
createDatestring date-time required
updateDatestring date-time required
customPropertiesobject required

Values of the custom contact properties of the workspace, keyed by property name

Changes

    • breaking

      added the pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ to the path request parameter contactId

    • breaking

      for the path request parameter contactId, the format changed from no format to uuid

    • breaking

      response property age list-of-types was widened by adding types null and number to media type application/json of response 200

    • breaking

      response property customProperties/additionalProperties/ list-of-types was widened by adding types boolean null and number to media type application/json of response 200

    • breaking

      response property email list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      response property firstName list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      response property gender list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      response property lastName list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      response property notes list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      response property occupation list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      response property phone list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      response property waId list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      response property waProfileName list-of-types was widened by adding types null to media type application/json of response 200

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response's property pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$ was added for the status

    • info

      the response's property pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ was added for the status

    • info

      the response's property pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$ was added for the status

    • info

      added 'propertyNames' constraint to the response property for the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the optional property to the response with the status