Log In

Get a Contact's Address

get/public/v1/contacts/{contact}/address

A contact holds one address. Answers 404 when the contact has none.

  • Authorizationstringrequired

    Bearer authentication header of the form Bearer <token>, where <token> is your API key. See How to set up an API key.

  • contactstringrequired

    The contact UUID

Response

200application/json

AddressResource

  • dataobjectrequired
    ▶Show 13 child attributes
    • idstringrequired
      Example:a1d2d3r4-e5s6-47s8-9a0b-1c2d3e4f5a6b
    • address_1stringrequired
      Example:12 Harbour View Drive
    • address_2string | nullrequired
      Example:Unit 4
    • address_3string | nullrequired
      Example:Building B
    • suburbstring | nullrequired
      Example:Lavender Bay
    • stateenum<string>required
      Available options:ACTNSWNTQLDSATASVICWA
    • postcodestringrequired
      Example:2060
    • countrystringrequired
      Example:Australia
    • latstring | nullrequired
      Example:-33.8447
    • lngstring | nullrequired
      Example:151.2094
    • traditional_place_namestring | nullrequired
      Example:Gadigal Country
    • detailsstring | nullrequired
      Example:Enter via the side gate
    • formattedstringrequired
      Example:Gadigal Country, 12 Harbour View Drive, Unit 4, Building B, Lavender Bay, NSW, 2060
  • 401Unauthenticated
  • 403Authorization error
  • 404Not found