# Offer a licence

`POST /portfolio/offers` · Rivier · content

Offer a licence: what it allows, where, for how long, whether exclusive, and the price. The buyer answers at a private link; no money moves here.

- Scope: content:admin
- Sdk: content.offer.create
- Cli: content offer create

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "entryId": {
      "type": "string",
      "format": "uuid"
    },
    "assetId": {
      "type": "string",
      "format": "uuid"
    },
    "title": {
      "type": "string",
      "minLength": 1,
      "maxLength": 160
    },
    "usage": {
      "type": "string",
      "minLength": 1,
      "maxLength": 600
    },
    "territory": {
      "type": "string",
      "maxLength": 120,
      "default": "worldwide"
    },
    "termMonths": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1200
    },
    "exclusive": {
      "type": "boolean",
      "default": false
    },
    "priceMinor": {
      "type": "integer",
      "minimum": 0
    },
    "currency": {
      "type": "string",
      "pattern": "^[a-z]{3}$"
    },
    "buyerName": {
      "type": "string",
      "maxLength": 160,
      "default": ""
    },
    "days": {
      "type": "integer",
      "minimum": 1,
      "maximum": 90,
      "default": 30
    }
  },
  "required": [
    "entryId",
    "title",
    "usage",
    "priceMinor",
    "currency"
  ],
  "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/offers' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "entryId": "string",
  "title": "string",
  "usage": "string",
  "priceMinor": 0,
  "currency": "string"
}'
```
