---
title: "Create a contact (iCloud Contacts)"
method: POST
path: "/v1/icloud_contacts/create"
tags: ["write"]
---

# Create a contact (iCloud Contacts)

`POST /v1/icloud_contacts/create`

## Request

- Base URL: `https://muse.space`
- URL: `https://muse.space/v1/icloud_contacts/create`
- Auth: HTTP bearer

Create a contact in an address book from the names, addresses and numbers given.

## Request body

- ContactsCreateInput
  - `address_book_id` string: Address book id from list_address_books; omit for the first that can be written.
  - `name` string: The name as shown; omit to build it from the parts.
  - `given_name` string: First name.
  - `family_name` string: Last name.
  - `organization` string: Company or organization.
  - `job_title` string: Job title.
  - `emails` object[]: Email addresses, the preferred one first.
    - `address` string, required: The email address.
    - `label` string: What kind: work, home, mobile, or a word of their own.
  - `phones` object[]: Phone numbers, the preferred one first.
    - `number` string, required: The number, as it should be dialled or shown.
    - `label` string: What kind: work, home, mobile, or a word of their own.
  - `addresses` object[]: Postal addresses.
    - `street` string: Street and number, as one line.
    - `city` string: Town or city.
    - `region` string: State, county or province.
    - `postal_code` string: Postal code.
    - `country` string: Country.
    - `label` string: What kind: work, home, mobile, or a word of their own.
  - `urls` string[]: Web addresses.
  - `birthday` string, date: Birthday as YYYY-MM-DD.
  - `notes` string: Notes kept with the contact.

## Response `200`

The result.

- ContactsCreateOutput
  - `id` string, required
  - `address_book_id` string, required
  - `name` string, required

## Other responses

- `401`: `unauthorized`, `token_revoked`, `token_expired`
- `403`: `forbidden`, `recipient_not_allowed`
- `404`: `not_found`
- `409`: `reconnect_required`, `changed_since_read`
- `413`: `too_large`
- `422`: `invalid_arguments`, `unreadable`
- `429`: `rate_limited`, `send_cap_reached`, `send_cooldown`
- `500`: `internal`
- `502`: `upstream_unavailable`, `upstream_rejected`, `delivery_unconfirmed`

---

[API](https://skmtc.dev/muse/apis/muse-space-tool-catalogue.md) · [All operations](https://skmtc.dev/muse/apis/muse-space-tool-catalogue/llms.txt) · [OpenAPI document](https://skmtc.dev/muse/apis/muse-space-tool-catalogue/revisions/8bef59003b3c?raw)
