Contacts API
Endpoint Index
Action | Endpoint |
---|---|
Create contact | POST /contact/{tenantLocator}/contacts |
Fetch contact | GET /contact/{tenantLocator}/contacts/{locator} |
Lookup contact | GET /contact/{tenantLocator}/contacts/lookup/{locator} |
List contacts | GET /contact/{tenantLocator}/contacts/{staticLocator}/list |
Update contact | PATCH /contact/{tenantLocator}/contacts/{locator} |
Validate contact | PATCH /contact/{tenantLocator}/contacts/{locator}/validate |
Merge contacts | PATCH /contact/{tenantLocator}/contacts/merge |
POST /contact/{tenantLocator}/contacts
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
Request:ContactCreateRequest
Response:Contact
Security Group:contacts  Permission:write
ContactCreateRequest
¶requiredautoValidate booleantype stringdata map<string,object>optionalregion string?
Contact
¶requiredlocator stringstaticLocator stringcontactState Enum draft | validated | discardedtype stringdata map<string,object>createdAt datetimecreatedBy uuidoptionalregion string?updatedAt datetime?updatedBy uuid?validationResult ValidationResult?
GET /contact/{tenantLocator}/contacts/{locator}
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
locator | path | string | required |
Response:Contact
Security Group:contacts  Permission:read
GET /contact/{tenantLocator}/contacts/lookup/{locator}
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
locator | path | string | required |
Response:Contact
Security Group:contacts  Permission:read
GET /contact/{tenantLocator}/contacts/{staticLocator}/list
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
staticLocator | path | string | required |
offset | query | int? | optional |
count | query | int? | optional |
Response:ListPageResponseContact
Security Group:contacts  Permission:read
PATCH /contact/{tenantLocator}/contacts/{locator}
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
locator | path | string | required |
Request:ContactUpdateRequest
Response:Contact
Security Group:contacts  Permission:write
ContactUpdateRequest
¶requiredremoveData map<string,object>setData map<string,object>optionalregion string?type string?
PATCH /contact/{tenantLocator}/contacts/{locator}/validate
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
locator | path | string | required |
Response:Contact
Security Group:contacts  Permission:write
PATCH /contact/{tenantLocator}/contacts/merge
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
Request:ContactsMergeRequest
Response:Contact
Security Group:contacts  Permission:write
ContactsMergeRequest
¶requiredmergeToContact stringcontactLocators string[]