# Add a tier: a name, free or paid, a price and a period (month, year or once)

`POST /members/tiers` · Rivier · content

Add a tier: a name, free or paid, a price and a period (month, year or once).

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

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    },
    "slug": {
      "type": "string",
      "pattern": "^[a-z0-9][a-z0-9-]{0,62}$"
    },
    "kind": {
      "type": "string",
      "enum": [
        "free",
        "paid"
      ],
      "default": "paid"
    },
    "priceMinor": {
      "type": "integer",
      "minimum": 0,
      "maximum": 10000000,
      "default": 0
    },
    "currency": {
      "type": "string",
      "pattern": "^[a-z]{3}$",
      "default": "eur"
    },
    "period": {
      "type": "string",
      "enum": [
        "month",
        "year",
        "once"
      ],
      "default": "month"
    },
    "description": {
      "type": "string",
      "maxLength": 1000,
      "default": ""
    },
    "position": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000,
      "default": 0
    }
  },
  "required": [
    "name",
    "slug"
  ],
  "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/members/tiers' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "string",
  "slug": "string"
}'
```
