# Register Vendor

`POST https://api.torbox.app/v1/api/vendors/register`

- Operation ID: `register_vendor`
- Group: Vendors
- Auth: API key, `Authorization: Bearer <api key>` (Sign in with TorBox gives the same key)

### Overview

Registers a vendor account under your TorBox account. The vendor account uses your TorBox account's email, is created with the status "pending" and a newly generated vendor token, and your TorBox account is marked as a vendor. Once it is registered, a welcome email is sent to your account's email address and the TorBox team is notified of the signup.

A TorBox account can only have one vendor account, and an account that is itself owned by a vendor cannot register as a vendor.

The `vendor_url` must start with `http://` or `https://` and be a domain with an optional path. A URL with a port, a query string or a fragment is rejected.

To read the vendor account afterwards, including its id, user limit, plan and paid-until date, use the Get Vendor Account endpoint.

### Rate Limits

This endpoint is rate limited to **15 requests per hour** per API token.

### Authorization

Requires an API key using the Authorization Bearer Header. Works with an API key from any plan, including the free plan.

## Request body (`application/x-www-form-urlencoded`)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `vendor_name` | string | yes | Name of the vendor. Required. |
| `vendor_url` | string | yes | Website of the vendor. Must start with http:// or https:// and cannot contain a port, a query string or a fragment. Required. |

## Responses

- `200` Successful Response
- `400` Bad Request
- `401` Unauthorized
- `403` Forbidden
- `404` Not Found
- `409` Conflict
- `422` Validation Error
- `429` Too Many Requests
- `500` Internal Server Error
- `503` Service Unavailable
