Zvini
22:32:31

« Contact » get

contact/get - Returns a single existing contact.
Method parameters:
id - The ID of the contact to get.
Returns a JSON document of the following format:
{
id: <number> - The ID of the contact.
full_name: <string> - The full name of the contact.
alias: <string> - The alias of the contact.
address: <string> - The address of the contact.
email1: <string> - The primary email of the contact.
email1_label: <string> - The label of the primary email of the contact.
email2: <string> - The secondary email of the contact.
email2_label: <string> - The label of the secondary email of the contact.
phone1: <string> - The primary phone of the contact.
phone1_label: <string> - The label of the primary phone of the contact.
phone2: <string> - The secondary phone of the contact.
phone2_label: <string> - The label of the secondary phone of the contact.
birthday_time: <number> - The Unix timestamp of the birthday of the contact.
username: <string> - The Zvini username of the contact.
timezone: <number> - The timezone offset of the contact in minutes.
tags: <string> - The space-separated list of tags.
notes: <string> - Additional notes of the contact.
favorite: <boolean> - Whether the contact is marked as favorite.
insert_time: <number> - The Unix timestamp of when the contact was created.
update_time: <number> - The Unix timestamp of when the contact was last modified.
}
Expected errors:
CONTACT_NOT_FOUND - A contact with the ID doesn't exist.