Create a contact
POST/api/addressbooks/:addressBookId/contacts
Adds a contact to the address book and returns it with its new uid and etag. Omitted fields are stored empty, and photo takes inline base64 image data. The book's updatedAt is bumped.
At least one name field is required (400). name is only used when no structured name field is set: its last word becomes familyName and the rest givenName.
Requires editor or admin; viewers get 403.
Request
Responses
- 201
- 400
- 403
- 404
Created contact.
Request failed. error says why.
Request failed. error says why.
Request failed. error says why.