# acquireCertificate

> For the complete documentation index, see [llms.txt](https://bsvblockchain.com/docs/llms.txt).

**POST** `/acquireCertificate`

Base URL: `http://localhost:3321`

Acquires a certificate

## Body

Content type: `application/json`

- `certifier` (string)
- `type` (string)
- `fields` (object)
- `privilegedReason` (string)
- `privileged` (boolean)

Example:

```json
{
  "certifier": "string",
  "type": "string",
  "fields": {},
  "privilegedReason": "string",
  "privileged": false
}
```

## Responses

### 200

The acquired certificate

- `type` (string)
- `subject` (string)
- `serialNumber` (string)
- `certifier` (string)
- `revocationOutput` (string)
- `signature` (string)
- `fields` (object)

Example:

```json
{
  "type": "string",
  "subject": "string",
  "serialNumber": "string",
  "certifier": "string",
  "revocationOutput": "string",
  "signature": "string",
  "fields": {}
}
```

### 400

Invalid input

### 500

Internal server error