---
title: "Get the User's Address Book"
method: POST
path: "/api/ab/get"
tags: ["address book"]
---

# Get the User's Address Book

`POST /api/ab/get`

This function is an API endpoint that allows an authenticated user to retrieve their address book. It is tagged with "address book" for OpenAPI documentation.

## Parameters

- none

## Returns

If successful, this function returns a `Json<AbGetResponse>` object, which includes the address book information.  <br> If the user is not authorized, this function returns a `status::Unauthorized` error.  <br>

## Errors

This function will return an error if the user is not authorized.

# Example

POST /api/ab/get

## Response `200`

- AbGetResponse
  - `error` boolean, nullable
  - `updated_at` string, nullable
  - `data` string, required

## Other responses

- `401`

---

[API](https://skmtc.dev/nesaku/apis/sctgdesk-api-server.md) · [All operations](https://skmtc.dev/nesaku/apis/sctgdesk-api-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nesaku/sctgdesk-api-server/revisions/b1c0e7a4434f/schema)
