> You are reading the Docusign Developer Documentation. For clean Markdown of any page, append .md to the page URL.
>
> Documentation indexes by section:
> - APIs and SDKs: https://docusign.docs.buildwithfern.com/docs/llms.txt
> - Platform 101: https://docusign.docs.buildwithfern.com/platform/llms.txt
> - Extension Apps: https://docusign.docs.buildwithfern.com/extension-apps/llms.txt
> - Docusign CLI: https://docusign.docs.buildwithfern.com/docusign-cli/llms.txt
>
> Authentication (OAuth, JWT Grant, M2M): https://docusign.docs.buildwithfern.com/platform/auth
> Webhooks and Connect: https://docusign.docs.buildwithfern.com/platform/webhooks
>
> OpenAPI specifications: https://docusign.docs.buildwithfern.com/openapi.json
> MCP server: https://docusign.docs.buildwithfern.com/_mcp/server

# GetAddressBookItems

These methods can be used to manage your server side address book in the Docusign system. You will be able to retrieve address book entries.

### Schema

![SaveTemplate](/_fern-files/_img/fae215a8ffbd6f3200db73026f4bce56debafd22d7ace6b5ae42959550b08fad.webp)

**`C#`**

```csharp title="C#"
// This is simple -- just input your account ID
DocuSignWeb.AddressBookItem[] items =
    _apiClient.GetAddressBookItems(_accountId);
// Display information about the address book items
Console.WriteLine("There there are {0} items in the address book:", items.Length);
foreach (DocuSignWeb.AddressBookItem item in items)
{
    Console.WriteLine("\t{0}: {1}", item.UserName, item.Email);
}
```

**`PHP`**

```php title="PHP"
$getAddressBookItemsparams = new GetAddressBookItems();
$getAddressBookItemsparams->AccountID = $AccountID;
$getAddressBookItemsResponse = $api->GetAddressBookItems($getAddressBookItemsparams);
```

| Name      | Schema Type | Description            |
| --------- | ----------- | ---------------------- |
| AccountID | DSXId       | Account ID information |

Retrieves your address book and account shared address book. This method returns an array of AddressBookItem objects.

## AddressBookItem

### Schema

![SaveTemplate](/_fern-files/_img/b426d316a452e3b13059b85ad4a464e97fe1b110f777f4f9225838563fe08f8c.webp)

| Name          | Schema Type      | Description                                                                                                                                   |
| ------------- | ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| AddressBookID | DSXId            | Unique identifier of the address book item. This can be a maximum of 100 characters.                                                          |
| Email         | String           | Email associated with the address book item. This can be a maximum of 100 characters.                                                         |
| UserName      | String           | Name associated with the address book item. This can be a maximum of 100 characters.                                                          |
| AccountName   | String           | Account name associated with the address book item. This can be a maximum of 100 characters.                                                  |
| Shared        | Boolean          | True if the address book item is shared with the API user’s account.                                                                          |
| Created       | DateTime         | Date the address book item was created.                                                                                                       |
| Owner         | Boolean          | True if the API user account is the owner of the address book item.                                                                           |
| Phone1        | AddressBookPhone | PhoneNumber: string: phone number, maximum length is 20. PhoneNumberDesignation: value: one of the following: Home, Mobile, Work, Fax, Other. |
| Phone2        | AddressBookPhone | PhoneNumber: string: phone number, maximum length is 20. PhoneNumberDesignation: value: one of the following: Home, Mobile, Work, Fax, Other. |
| Phone3        | AddressBookPhone | PhoneNumber: string: phone number, maximum length is 20. PhoneNumberDesignation: value: one of the following: Home, Mobile, Work, Fax, Other. |
| Phone4        | AddressBookPhone | PhoneNumber: string: phone number, maximum length is 20. PhoneNumberDesignation: value: one of the following: Home, Mobile, Work, Fax, Other. |

## Rules and exceptions for GetAddressBookItems

* Account_Lacks_Permissions – account does not have permissions to use this API.
* User_Lacks_Permissions – user does not have permissions to use this API.
* Address book items that are passed to this API that the user does not own will not be removed.