Description#
The Contacts module provides functionality for managing external contacts. It supports creating, updating, deleting, and retrieving contacts with advanced filtering and pagination.
Entity Model#
| Field | Type | Description |
|---|
_id | ID! | Unique identifier of the contact. |
customer | ID! | Reference to the customer this contact belongs to. |
firstName | String! | First name of the contact. |
lastName | String | Last name of the contact. |
username | String | Username of the contact. |
avatar | String! | URL of the contact's avatar. |
email | String | Email address of the contact. |
phone | String | Phone number of the contact. |
phoneCountryCode | String | Country code of the phone number. |
country | String | Country where the contact resides. |
gender | String | Gender of the contact. |
tags | [Tag] | List of tags associated with the contact. |
createdAt | Date | Timestamp when the contact was created. |
phoneUsagePermission | Boolean | Permission to use the phone for contact. |
emailUsagePermission | Boolean | Permission to use the email for contact. |
language | String | Preferred language of the contact. |
platforms | [PPlatformsType] | Platforms associated with the contact. |
owner | String | Owner of the contact record. |
Queries#
Use this query to get single contact.Mutations#
Use this mutation to create a new contact
Use this mutation to update a contact
Use this mutation to delete a contact
Example Usage#
Modified at 2025-09-28 17:03:37