> ## Documentation Index
> Fetch the complete documentation index at: https://www.1password.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Get started with the 1Password Accounts API for Partners

> Learn how to authenticate and make your first requests to the 1Password Accounts API for Partners.

The 1Password Accounts API for Partners allows distributors to provision and manage 1Password product entitlements for their customers. This guide walks you through making your first authenticated request.

## Requirements

Before you begin, you'll need a registered distributor account with 1Password. If you don't have a distributor account, [contact 1Password](mailto:msp@1password.com) to register.

## Step 1: Get your bearer token

The Accounts API authorizes requests with a bearer token. When your organization registers as a distributor, you receive an opaque bearer token, prefixed with `op_b_`. You'll include this token in the `Authorization` header of every request. See the [authentication section](/accounts-api/conventions#authentication) in the API conventions guide for more information.

## Step 2: Make your first API call

For your first call to the Accounts API, you can use [curl <Icon icon="arrow-up-right-from-square" />](https://curl.se/) on the command line to send a request to the [`/v1/distributor-products`](/accounts-api/list-products) endpoint. This will let you confirm that your bearer token is valid and which products your distributor account can provision.

Open your terminal and run the following command, replacing `<YOUR_API_TOKEN>` with your bearer token from Step 1.

```shell theme={null}
curl --request GET \
  --url https://api.1password.eu/v1/distributor-products \
  --header "Authorization: Bearer <YOUR_API_TOKEN>"
```

A successful request will return a JSON response with an array of products. For example:

```json theme={null}
{
  "results": [
    {
      "name": "1Password MSP",
      "product_id": "1p-msp-us"
    }
  ],
  "next_page_token": ""
}
```

If additional pages of results are available, the response will also include a `next_page_token`. You can use that token with the `page_token` query parameter to fetch the next page. Learn more about [pagination](/accounts-api/conventions#pagination) in the API.

## Step 3: Try out more examples

You can use the [API reference](/accounts-api/reference) to find more code examples for each endpoint.

Select **Try it** in any endpoint header to open the interactive API playground. You can enter your own values in the input boxes and send requests directly from the playground.

<Warning>
  Requests you send from the API playground are routed through the documentation platform's proxy service. If you prefer to keep your bearer token strictly between your systems and 1Password, copy a code example and run it with your own tools instead.
</Warning>

To use the examples with another tool, select the dropdown menu on a code example and choose which language option you want, select copy <Icon icon="copy" />, then paste the example code into your preferred testing tool.

You can also download the <a href="/static/files/accounts-api/1password-accounts-api_v1_2026-10-01.yaml" download><Icon icon="download" /> OpenAPI specification YAML file</a>, then use it to feed into code-generation tools, create mock servers, or import into API clients.

## Learn more

* [API conventions](/accounts-api/conventions)
* [API reference](/accounts-api/reference)


## Related topics

- [Get started with the 1Password Users API for Partners (Public Preview)](/users-api/get-started.md)
- [Get data and analytics for your 1Password account](/get-started/get-data-and-analytics.md)
- [1Password Users API for Partners (Public Preview)](/users-api.md)
