dc231cafd8de

OpenAPI 3.0.0raw.githubusercontent.com2026-08-01235140905.8 KB
Accounting

Retrieves a specific contact by contact number in a Xero organisation

get/Contacts/{ContactNumber}

Path parameters

ContactNumberstring required

This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50).

Response

Success - return response of type Contacts array with a unique Contact

Example response

{
  "Contacts": [
    {
      "UpdatedDateUTC": "/Date(1573755038314)/",
      "BrandingTheme": {
        "CreatedDateUTC": "/Date(1573755038314)/"
      },
      "BatchPayments": {
        "BankAccountNumber": "123-456-1111111",
        "BankAccountName": "ACME Bank",
        "Details": "Hello World",
        "Code": "ABC",
        "Reference": "Foobar"
      },
      "Attachments": [
        {
          "AttachmentID": "00000000-0000-0000-0000-000000000000",
          "FileName": "xero-dev.jpg",
          "Url": "https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg",
          "MimeType": "image/jpg"
        }
      ]
    }
  ]
}