{"status_code":200,"status":"OK","data":{"id":"contacts","name":"Contacts","status":"live","linked_resources":[{"id":"companies","unified_property":"company_id"},{"id":"leads","unified_property":"lead_id"},{"id":"users","unified_property":"owner_id"}],"schema":{"type":"object","x-apideck-schema-id":"Contact","x-apideck-weights":{"id":"critical","name":"critical","owner_id":"medium","type":"medium","company_id":"high","company_name":"medium","lead_id":"medium","first_name":"high","middle_name":"low","last_name":"high","prefix":"low","suffix":"low","title":"medium","department":"medium","language":"medium","gender":"medium","birthday":"medium","image":"medium","photo_url":"medium","lead_source":"low","fax":"low","description":"low","current_balance":"edge-case","status":"edge-case","active":"edge-case","websites":"medium","addresses":"high","social_links":"low","phone_numbers":"high","emails":"high","email_domain":"edge-case","custom_fields":"medium","tags":"low","first_call_at":"edge-case","first_email_at":"edge-case","last_activity_at":"medium","updated_at":"high","created_at":"medium","opportunity_ids":"low"},"x-pii":["name","first_name","middle_name","last_name","email"],"properties":{"id":{"description":"Unique identifier for the contact.","type":"string","example":"12345","readOnly":true},"name":{"description":"Full name of the contact.","type":"string","example":"Elon Musk","nullable":true},"owner_id":{"description":"The owner of the contact.","type":"string","example":"54321","nullable":true},"type":{"description":"The type of the contact.","type":"string","example":"personal","x-apideck-enum-id":"contacts.type","enum":["customer","supplier","employee","personal"],"nullable":true},"company_id":{"description":"The company the contact is associated with.","type":"string","example":"23456","nullable":true},"company_name":{"description":"The name of the company the contact is associated with.","type":"string","example":"23456","nullable":true},"lead_id":{"description":"The lead the contact is associated with.","type":"string","example":"34567","nullable":true},"first_name":{"description":"The first name of the contact.","type":"string","example":"Elon","nullable":true},"middle_name":{"description":"The middle name of the contact.","type":"string","example":"D.","nullable":true},"last_name":{"description":"The last name of the contact.","type":"string","example":"Musk","nullable":true},"prefix":{"description":"The prefix of the contact.","type":"string","example":"Mr.","nullable":true},"suffix":{"description":"The suffix of the contact.","type":"string","example":"PhD","nullable":true},"title":{"description":"The job title of the contact.","type":"string","example":"CEO","nullable":true},"department":{"description":"The department of the contact.","type":"string","example":"Engineering","nullable":true},"language":{"type":"string","example":"EN","description":"language code according to ISO 639-1. For the United States - EN","nullable":true},"gender":{"type":"string","x-apideck-enum-id":"contacts.gender","enum":["male","female","unisex"],"description":"The gender of the contact.","example":"female","nullable":true},"birthday":{"description":"The birthday of the contact.","type":"string","example":"2000-08-12","nullable":true},"image":{"type":"string","example":"https://unavatar.io/elon-musk","nullable":true,"deprecated":true},"photo_url":{"type":"string","title":"Photo URL","description":"The URL of the photo of a person.","example":"https://unavatar.io/elon-musk","nullable":true},"lead_source":{"description":"The lead source of the contact.","type":"string","example":"Cold Call","nullable":true},"fax":{"description":"The fax number of the contact.","type":"string","example":"+12129876543","nullable":true},"description":{"description":"The description of the contact.","type":"string","title":"Description","example":"Internal champion","nullable":true},"current_balance":{"description":"The current balance of the contact.","type":"number","title":"Current Balance","example":10.5,"nullable":true},"status":{"description":"The status of the contact.","type":"string","example":"open","nullable":true},"active":{"description":"The active status of the contact.","type":"boolean","example":true,"nullable":true},"websites":{"type":"array","items":{"type":"object","x-apideck-schema-id":"Website","required":["url"],"additionalProperties":false,"x-apideck-weights":{"url":"critical","type":"critical","id":"edge-case"},"properties":{"id":{"description":"Unique identifier for the website","type":"string","example":"12345","nullable":true},"url":{"description":"The website URL","type":"string","example":"http://example.com","minLength":1},"type":{"description":"The type of website","type":"string","x-apideck-enum-id":"websites.type","enum":["primary","secondary","work","personal","other"],"example":"primary","nullable":true}},"$$ref":"#/components/schemas/Website"}},"addresses":{"type":"array","items":{"type":"object","x-apideck-schema-id":"Address","additionalProperties":false,"x-apideck-weights":{"id":"edge-case","name":"edge-case","type":"critical","line1":"high","line2":"low","line3":"edge-case","line4":"edge-case","line5":"edge-case","street_number":"low","city":"high","string":"low","state":"high","postal_code":"high","country":"high","latitude":"low","longitude":"low","county":"edge-case","contact_name":"edge-case","salutation":"edge-case","phone_number":"edge-case","fax":"edge-case","email":"edge-case","website":"edge-case","row_version":"edge-case"},"properties":{"id":{"description":"Unique identifier for the address.","type":"string","example":"123","nullable":true},"type":{"type":"string","description":"The type of address.","x-apideck-enum-id":"addresses.type","enum":["primary","secondary","home","office","shipping","billing","work","other"],"example":"primary","nullable":true},"string":{"type":"string","description":"The address string. Some APIs don't provide structured address data.","example":"25 Spring Street, Blackburn, VIC 3130","nullable":true},"name":{"description":"The name of the address.","type":"string","example":"HQ US","nullable":true},"line1":{"type":"string","example":"Main street","description":"Line 1 of the address e.g. number, street, suite, apt #, etc.","nullable":true},"line2":{"type":"string","example":"apt #","description":"Line 2 of the address","nullable":true},"line3":{"type":"string","example":"Suite #","description":"Line 3 of the address","nullable":true},"line4":{"type":"string","example":"delivery instructions","description":"Line 4 of the address","nullable":true},"line5":{"type":"string","example":"Attention: Finance Dept","description":"Line 5 of the address","nullable":true},"street_number":{"type":"string","example":"25","description":"Street number","nullable":true},"city":{"type":"string","example":"San Francisco","description":"Name of city.","nullable":true},"state":{"type":"string","example":"CA","description":"Name of state","nullable":true},"postal_code":{"type":"string","example":"94104","description":"Zip code or equivalent.","nullable":true},"country":{"type":"string","example":"US","description":"country code according to ISO 3166-1 alpha-2.","nullable":true},"latitude":{"description":"Latitude of the address","type":"string","example":"40.759211","nullable":true},"longitude":{"description":"Longitude of the address","type":"string","example":"-73.984638","nullable":true},"county":{"type":"string","example":"Santa Clara","description":"Address field that holds a sublocality, such as a county","nullable":true},"contact_name":{"description":"Name of the contact person at the address","type":"string","example":"Elon Musk","nullable":true},"salutation":{"description":"Salutation of the contact person at the address","type":"string","example":"Mr","nullable":true},"phone_number":{"description":"Phone number of the address","type":"string","example":"111-111-1111","nullable":true},"fax":{"description":"Fax number of the address","type":"string","example":"122-111-1111","nullable":true},"email":{"description":"Email address of the address","type":"string","example":"elon@musk.com","nullable":true},"website":{"description":"Website of the address","type":"string","example":"https://elonmusk.com","nullable":true},"notes":{"description":"Additional notes","type":"string","title":"Notes","example":"Address notes or delivery instructions.","nullable":true},"row_version":{"type":"string","title":"Row version","description":"A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.","example":"1-12345","nullable":true,"$$ref":"#/components/schemas/RowVersion"}},"$$ref":"#/components/schemas/Address"}},"social_links":{"type":"array","items":{"type":"object","x-apideck-schema-id":"SocialLink","required":["url"],"additionalProperties":false,"x-apideck-weights":{"id":"edge-case","url":"critical","type":"critical"},"properties":{"id":{"description":"Unique identifier of the social link","type":"string","example":"12345","nullable":true},"url":{"description":"URL of the social link, e.g. https://www.twitter.com/apideck","type":"string","example":"https://www.twitter.com/apideck","minLength":1},"type":{"description":"Type of the social link, e.g. twitter","type":"string","example":"twitter","nullable":true}},"$$ref":"#/components/schemas/SocialLink"}},"phone_numbers":{"type":"array","items":{"type":"object","x-apideck-schema-id":"PhoneNumber","required":["number"],"additionalProperties":false,"x-apideck-weights":{"number":"critical","type":"critical","id":"edge-case","country_code":"edge-case","area_code":"edge-case","extension":"edge-case"},"properties":{"id":{"type":"string","description":"Unique identifier of the phone number","example":"12345","nullable":true},"country_code":{"title":"Country code","description":"The country code of the phone number, e.g. +1","type":"string","example":"1","nullable":true},"area_code":{"title":"Area code","description":"The area code of the phone number, e.g. 323","type":"string","example":"323","nullable":true},"number":{"type":"string","title":"Phone number","description":"The phone number","example":"111-111-1111","minLength":1},"extension":{"type":"string","title":"Phone extension","description":"The extension of the phone number","example":"105","nullable":true},"type":{"type":"string","description":"The type of phone number","x-apideck-enum-id":"phone_numbers.type","enum":["primary","secondary","home","work","office","mobile","assistant","fax","direct-dial-in","personal","billing","other"],"example":"primary","nullable":true}},"$$ref":"#/components/schemas/PhoneNumber"}},"emails":{"type":"array","items":{"type":"object","x-apideck-schema-id":"Email","required":["email"],"additionalProperties":false,"x-apideck-weights":{"email":"critical","type":"critical","id":"edge-case"},"properties":{"id":{"type":"string","example":"123","description":"Unique identifier for the email address","nullable":true},"email":{"type":"string","format":"email","description":"Email address","example":"elon@musk.com","minLength":1,"nullable":true},"type":{"type":"string","description":"Email type","x-apideck-enum-id":"emails.type","enum":["primary","secondary","work","personal","billing","other"],"example":"primary","nullable":true}},"$$ref":"#/components/schemas/Email"}},"email_domain":{"type":"string","example":"gmail.com","nullable":true},"custom_fields":{"type":"array","items":{"type":"object","x-apideck-schema-id":"CustomField","additionalProperties":false,"anyOf":[{"required":["id"]},{"required":["name"]}],"x-apideck-strict-any-of":[{"required":["id"]},{"required":["name"]}],"x-apideck-weights":{"id":"critical","value":"critical","name":"medium","description":"edge-case"},"properties":{"id":{"title":"ID","description":"Unique identifier for the custom field.","type":"string","example":"2389328923893298","nullable":true},"name":{"title":"Name","type":"string","description":"Name of the custom field.","example":"employee_level","nullable":true},"description":{"title":"Description","type":"string","description":"More information about the custom field","example":"Employee Level","nullable":true},"value":{"anyOf":[{"type":"string","example":"Uses Salesforce and Marketo","nullable":true},{"type":"number","example":10,"nullable":true},{"type":"boolean","example":true,"nullable":true},{"type":"object","example":{"foo":"bar"},"nullable":true,"additionalProperties":true},{"type":"array","items":{"anyOf":[{"type":"string","example":"Uses Salesforce and Marketo","nullable":true},{"type":"number","example":10,"nullable":true},{"type":"boolean","example":true,"nullable":true},{"type":"object","example":{"foo":"bar"},"nullable":true,"additionalProperties":true}]}}]}},"$$ref":"#/components/schemas/CustomField"},"nullable":true},"tags":{"type":"array","x-apideck-schema-id":"Tags","items":{"type":"string"},"example":["New"],"nullable":true,"$$ref":"#/components/schemas/Tags"},"first_call_at":{"description":"The first call date of the contact.","type":"string","format":"date-time","example":"2020-09-30T07:43:32.000Z","readOnly":true,"nullable":true},"first_email_at":{"description":"The first email date of the contact.","type":"string","format":"date-time","example":"2020-09-30T07:43:32.000Z","readOnly":true,"nullable":true},"last_activity_at":{"description":"The last activity date of the contact.","type":"string","format":"date-time","example":"2020-09-30T07:43:32.000Z","readOnly":true,"nullable":true},"custom_mappings":{"type":"object","x-apideck-schema-id":"CustomMappings","description":"When custom mappings are configured on the resource, the result is included here.","nullable":true,"readOnly":true,"additionalProperties":true,"$$ref":"#/components/schemas/CustomMappings"},"updated_at":{"description":"The last update date of the contact.","type":"string","format":"date-time","example":"2017-08-12T20:43:21.291Z","readOnly":true,"nullable":true},"created_at":{"description":"The creation date of the contact.","type":"string","format":"date-time","example":"2017-08-12T20:43:21.291Z","readOnly":true,"nullable":true},"opportunity_ids":{"description":"The opportunity ids of the contact.","type":"array","items":{"type":"string","example":"12345"}},"pass_through":{"type":"array","description":"The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.","items":{"type":"object","properties":{"service_id":{"type":"string","description":"Identifier for the service to which this pass_through should be applied."},"operation_id":{"type":"string","description":"Optional identifier for a workflow operation to which this pass_through should be applied. This is useful for Unify calls that are making more than one downstream request."},"extend_object":{"type":"object","additionalProperties":true,"description":"Simple object allowing any properties for direct extension."},"extend_paths":{"type":"array","description":"Array of objects for structured data modifications via paths.","items":{"type":"object","properties":{"path":{"type":"string","description":"JSONPath string specifying where to apply the value.","example":"$.nested.property"},"value":{"description":"The value to set at the specified path, can be any type.","example":{"TaxClassificationRef":{"value":"EUC-99990201-V1-00020000"}}}},"required":["path","value"],"additionalProperties":false}}},"required":["service_id"],"additionalProperties":false,"writeOnly":true},"$$ref":"#/components/schemas/PassThroughBody"}},"additionalProperties":false,"$$ref":"#/components/schemas/Contact"}}}