Addressbook

An addressbook represents a collection of contacts for the currently authenticated user.

Get the addressbook data

GET /addressbook

Response

Status: 200 OK
{
  "addressbook": {
    "entries": [
      {
        "name": "Jane Doe",
        "links": [
          {
            "rel": "self",
            "href": "https://portal.cryptorage.com/api/contacts/23"
          }
        ]
      },
      {
        "name": "James Does",
        "links": [
          {
            "rel": "self",
            "href": "https://portal.cryptorage.com/api/contacts/42"
          }
        ]
      }
    ],
    "links": [
      {
        "rel": "self",
        "href": "https://portal.cryptorage.com/api/addressbook"
      }
    ]
  }
}

Error

Status: 404 Not Found
{
  "error": "ERR_ADDRESSBOOK_NOT_FOUND"
}

General error

Status: 500 Server Error
error message