# Get contact by ID Retrieve a specific contact by its unique identifier This endpoint provides detailed contact information including: - Complete contact details and demographics - Contact status and relationship information - Client associations and roles - Communication preferences and history - Address and location information - Professional and personal details Contact Management Features: - Contact lifecycle tracking - Client relationship management - Communication preference management - Address and location tracking - Professional information management Contact Details Include: - Contact name and demographics - Contact status and type - Client associations - Communication preferences - Address information - Professional details Business Applications: - Contact relationship management - Client communication planning - Contact database maintenance - Professional network management - Communication preference tracking Real Example: bash curl --location 'https://{{host}}/v1/contact/23456' \ --header 'Authorization: bearer {{token}}' \ --header 'Content-Type: application/json' Response Example: json { "id": 23456, "firstName": "John", "lastName": "Smith", "email": "john.smith@acme.com", "phone": "+1-555-0123", "mobile": "+1-555-0456", "title": "Chief Financial Officer", "department": "Finance", "status": "ACTIVE", "type": "CLIENT_CONTACT", "clientId": 789, "clientName": "Acme Corporation", "isPrimaryContact": true, "address": { "street": "123 Business Ave", "city": "New York", "state": "NY", "zipCode": "10001", "country": "USA" }, "communicationPreferences": { "preferredMethod": "EMAIL", "emailFrequency": "WEEKLY", "newsletterSubscription": true, "marketingEmails": false }, "notes": "Primary contact for all financial matters and audit communications", "createdAt": "2023-01-15T10:00:00Z", "updatedAt": "2024-11-20T14:30:00Z" } Endpoint: GET /gql/v1/contact/{id} Version: 1.0.0 Security: BearerAuth ## Path parameters: - `id` (integer, required) Unique identifier of the contact Example: 23456 ## Response 200 fields (application/json): - `id` (integer) Unique contact identifier Example: 23456 - `firstName` (string) Contact first name Example: "John" - `lastName` (string) Contact last name Example: "Smith" - `email` (string) Primary email address Example: "john.smith@acme.com" - `phone` (string) Primary phone number Example: "+1-555-0123" - `mobile` (string) Mobile phone number Example: "+1-555-0456" - `title` (string) Job title or position Example: "Chief Financial Officer" - `department` (string) Department or division Example: "Finance" - `status` (string) Contact status Enum: "ACTIVE", "INACTIVE", "PENDING", "BLOCKED" - `type` (string) Contact type Enum: "CLIENT_CONTACT", "PROSPECT", "VENDOR", "PARTNER", "STAFF" - `clientId` (integer) Associated client identifier Example: 789 - `clientName` (string) Client name Example: "Acme Corporation" - `isPrimaryContact` (boolean) Whether this is the primary contact for the client Example: true - `address` (object) Contact address information - `address.street` (string) Street address Example: "123 Business Ave" - `address.city` (string) City Example: "New York" - `address.state` (string) State or province Example: "NY" - `address.zipCode` (string) ZIP or postal code Example: "10001" - `address.country` (string) Country Example: "USA" - `communicationPreferences` (object) Communication preferences - `communicationPreferences.preferredMethod` (string) Preferred communication method Enum: "EMAIL", "PHONE", "SMS", "MAIL" - `communicationPreferences.emailFrequency` (string) Preferred email frequency Enum: "DAILY", "WEEKLY", "MONTHLY", "QUARTERLY", "NEVER" - `communicationPreferences.newsletterSubscription` (boolean) Whether subscribed to newsletters Example: true - `communicationPreferences.marketingEmails` (boolean) Whether accepts marketing emails - `notes` (string) Additional notes about the contact Example: "Primary contact for all financial matters and audit communications" - `createdAt` (string) Contact creation timestamp Example: "2023-01-15T10:00:00Z" - `updatedAt` (string) Last update timestamp Example: "2024-11-20T14:30:00Z" ## Response 404 fields (application/json): - `error` (string) Example: "Contact not found" - `message` (string) Example: "Contact with ID 23456 does not exist" ## Response 401 fields ## Response 403 fields ## Response 500 fields