Authentication
AuthorizationBearerSend your token in the Authorization: Bearer <token> header. See Authentication for API keys and OAuth.
Path parameters
userIdstringRequiredThe user to add contact information to.
Request body Required
The model containing contact information details including address, phone number, and type.
application/json
labelstring or nullOptional0 maxLength: 1000 The label of the contact info. Only necessary if type 'custom' is used.
valuestring or nullOptional0 maxLength: 1000 The value of the contact info.
typestring or nullOptional0 maxLength: 25 The type of the contact info. Possible values are: phone, email, address, messenger, social, urls.
subTypestring or nullOptional0 maxLength: 25 The subtype of the contact info, Possible values are: Phone: [ 'work', 'mobile', 'home', 'work Fax', 'fax', 'other' ] Email: [ 'work', 'private', 'other' ] address: [ 'work', 'home', 'other' ] Messenger: [ 'skype', 'whatsapp', 'other' ] social: [ 'facebook', 'twitter', 'xing', 'linkedIn', 'instagram', 'pinterest', 'other' ] urls: [ 'work', 'private', 'gitHub', 'other' ].
addressLine1string or nullOptional0 maxLength: 1000 The first Address line of the address.
addressLine2string or nullOptional0 maxLength: 100 The second address line of the contact info.
zipCodestring or nullOptional0 maxLength: 100 The Zipcode of the contact info.
citystring or nullOptional0 maxLength: 100 The city of the contact info.
statestring or nullOptional0 maxLength: 100 The state of the contact info.
countrystring or nullOptional0 maxLength: 100 The 2 letter iso code of the country.
isAddressbooleanOptionalFlags whether this contactinfo is an address or not. If its an address, the address fields are required.
Responses
200 OK
application/json
labelstring or nullOptional0 maxLength: 1000 The label of the contact info. Only necessary if type 'custom' is used.
valuestring or nullOptional0 maxLength: 1000 The value of the contact info.
typestring or nullOptional0 maxLength: 25 The type of the contact info. Possible values are: phone, email, address, messenger, social, urls.
subTypestring or nullOptional0 maxLength: 25 The subtype of the contact info, Possible values are: Phone: [ 'work', 'mobile', 'home', 'work Fax', 'fax', 'other' ] Email: [ 'work', 'private', 'other' ] address: [ 'work', 'home', 'other' ] Messenger: [ 'skype', 'whatsapp', 'other' ] social: [ 'facebook', 'twitter', 'xing', 'linkedIn', 'instagram', 'pinterest', 'other' ] urls: [ 'work', 'private', 'gitHub', 'other' ].
addressLine1string or nullOptional0 maxLength: 1000 The first Address line of the address.
addressLine2string or nullOptional0 maxLength: 100 The second address line of the contact info.
zipCodestring or nullOptional0 maxLength: 100 The Zipcode of the contact info.
citystring or nullOptional0 maxLength: 100 The city of the contact info.
statestring or nullOptional0 maxLength: 100 The state of the contact info.
countrystring or nullOptional0 maxLength: 100 The 2 letter iso code of the country.
isAddressbooleanOptionalFlags whether this contactinfo is an address or not. If its an address, the address fields are required.
idstringOptionalThe Id of the contact info.
createdOnstringOptionalThe creation date.
createdBystring or nullOptionalThe id of the user who created the entity.
updatedOnstringOptionalThe date when the entity was updated.
updatedBystring or nullOptionalthe id of the user who updated the entity.
404 Not Found
application/json
codestringRequired1 The error code.
descriptionstringRequired1 The description of the error.
linkstringRequired1 The link to the API documentation page.
detailsarray of string or nullOptionalA list of details describing the error.
validationErrorsarray of object or nullOptionalIf a validation error occurred, this contains the validation errors for each property.
Show 2 properties
propertystring or nullOptionalThe name of the property that failed validation.
messagestring or nullOptionalThe reason why this property failed validation.
traceIdstring or nullOptionalThe request trace id for tracking the request.