# Content certificate issue

`POST /portfolio/certificates` · Rivier · content

Issue a certificate of authenticity for a work or one numbered edition, with a serial number anyone can check.

- Scope: content:admin
- Sdk: content.certificate.issue
- Cli: content certificate issue

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "entryId": {
      "type": "string",
      "format": "uuid"
    },
    "title": {
      "type": "string",
      "minLength": 1,
      "maxLength": 160
    },
    "artist": {
      "type": "string",
      "minLength": 1,
      "maxLength": 160
    },
    "medium": {
      "type": "string",
      "maxLength": 200,
      "default": ""
    },
    "year": {
      "type": "integer",
      "minimum": 1000,
      "maximum": 3000
    },
    "editionNo": {
      "type": "integer",
      "minimum": 1
    },
    "editionSize": {
      "type": "integer",
      "minimum": 1
    },
    "assetId": {
      "type": "string",
      "format": "uuid"
    }
  },
  "required": [
    "entryId",
    "title",
    "artist"
  ],
  "additionalProperties": false
}
```

## Responses

- `201`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/portfolio/certificates' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "entryId": "string",
  "title": "string",
  "artist": "string"
}'
```
