Add contact information to person
Use this method to add emails and mobile phones to a particular person.
Authorizations:
Scopes:
Request rate limit:
query Parameters
identifier | string Example: identifier=370329180020364 Person ID. ID type must match the |
sender | string Example: sender=2094832040560427 Sender or application ID. |
type | string Enum: "ID" "EXTERNAL_ID" "PHONE" "EMAIL" "LINE" "FACEBOOK" "TELEGRAM" "PUSH" "WEB_PUSH" "LIVE_CHAT" "VIBER_BOTS" "INSTAGRAM" "INSTAGRAM_DM" "TWITTER" "APPLE_BUSINESS_CHAT" "KAKAO_SANGDAM" "OPEN_CHANNEL" Example: type=PHONE Type of the person ID |
Request Body schema:
contactInformation required | object Person's contact information | ||||||||||||
|
Responses
successful response
Bad Request
Unauthorized
Forbidden
Too Many Requests
Error responses
Internal Server Error
Error responses
Request samples
- Payload
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
{- "contactInformation": {
- "email": [
- {
- "address": "string"
}
], - "phone": [
- {
- "number": "string"
}
]
}
}
Response samples
- default
- 400
- 401
- 403
- 429
- 4XX
- 500
- 5XX
{- "createdAt": "2018-03-29T13:46:31",
- "modifiedAt": "2018-03-30T11:25:13",
- "id": 1,
- "externalId": "3",
- "firstName": "Jane",
- "lastName": "Smith",
- "address": "67 Farringdon Road",
- "city": "London",
- "country": "United Kingdom",
- "gender": "FEMALE",
- "birthDate": "1966-01-15",
- "middleName": "Janie",
- "preferredLanguage": "en-gb",
- "origin": "API",
- "modifiedFrom": "API",
- "tags": [
- "VIP Customers",
- "New Customers"
], - "customAttributes": {
- "Contract Expiry": "2018-06-01",
- "Company": "Acme",
- "ShoppingCartList": [
- {
- "productName": "Sneakers",
- "productPrice": 25.33,
- "productCategory": "Sport Sneakers",
- "productImage": "/image1.png"
}, - {
- "productName": "T-Shirt",
- "productPrice": 9.99,
- "productCategory": "Casual",
- "productImage": "/image2.png"
}
]
}, - "contactInformation": {
- "phone": [
- {
- "number": "41793026727"
}
], - "email": [
- {
- "address": "janewilliams@acme.com"
}
], - "push": [
- {
- "applicationId": "FDCC8516470A3AE97FB8AC218D5D0D3D",
- "registrationId": "c5db0c47-465c-4e1c-abf8-7cedc275dd19",
- "additionalData": {
- "birthdate": "1988-07-31",
- "email": "test@test.com",
- "firstName": "Jane",
- "gender": "F",
- "lastName": "Smith",
- "middleName": "Janie"
}, - "systemData": {
- "cloudType": "GCM",
- "registrationEnabled": "true",
- "sdkName": "MobileMessaging SDK",
- "os": "Android"
}
}
], - "facebook": [
- {
- "applicationId": "370329180020364",
- "userId": "2094832040560427",
- "systemData": {
- "gender": "female",
- "lastName": "Smith",
- "firstName": "Jane"
}
}
], - "line": [
- {
- "applicationId": "1644264921",
- "userId": "U045147f1ad961bfe996b72bbf417f3c9",
- "systemData": {
- "displayName": "Jane Smith"
}
}
], - "instagram": [
- {
- "applicationId": "17841446795352028",
- "userId": "12461436693342628",
- "systemData": {
- "displayName": "jane.smith"
}
}
], - "twitter": [
- {
- "applicationId": "1148203323283877",
- "userId": "370329180020364",
- "systemData": {
- "displayName": "Jane Smith"
}
}
], - "appleBusinessChat": [
- {
- "applicationId": "387465931",
- "userId": "387465931",
- "systemData": {
- "displayName": "Jane Smith"
}
}
]
}
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See