Create a contact
contacts_createCreates a personal contact in the signed-in user's default Contacts folder and returns the stored contact with its new id. Use after searching, as repeated calls create duplicate contacts.
Instructions
Creates a personal contact in the signed-in user's default Contacts folder and returns the stored contact, including the new id. Outlook builds displayName from givenName and surname. Outlook holds at most 3 email addresses per contact. Graph does not de-duplicate: calling this twice creates two contacts, so search first when the contact may already exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| surname | No | The contact's last name. | |
| jobTitle | No | Job title at that organisation. | |
| givenName | Yes | The contact's first name. | |
| companyName | No | Employer or organisation. | |
| mobilePhone | No | Mobile phone number, as free text, e.g. "+1 425 555 0109". | |
| emailAddresses | No | Up to 3 email addresses, in Outlook slot order (Email 1, 2, 3). Outlook has no fourth slot. |