Xero + icon

Xero +

Consume Xero API

Contact → Create

AI-generated

Summary

Create a new contact within a specified Xero organization using required and optional contact details.

Inputs

  • Organization Name or ID (required) — Select the target Xero organization by name or ID where the contact will be created.
  • Name (required) — Specify the full name of the contact or organization to be created.
  • Additional Fields — Optionally provide supplementary contact information such as account number, addresses, bank account details, contact status, default currency, email, first and last names, phones, purchase and sales default account codes, Skype username, tax number, and Xero network key.

Output shape

a single contact record object representing the newly created contact in Xero

The output includes the created contact's details as returned by the Xero API. Input fields correspond to Xero contact properties; optional fields can be omitted if not needed. The organization must be selected to specify the Xero tenant context.

Examples

Example 1: Create a contact with minimal required fields

Specify the organization and the contact's full name only.

Example 2: Create a contact with additional details

Include optional fields such as email, phone numbers, addresses, and tax number to enrich the contact record.

Links

Discussion