# Suggest an approved line

Adds a line as a suggestion. It is never vetted here, and a line that already exists is returned unchanged with created false. Only the user can vet it. At 50 suggestions the oldest is dropped. Requires authentication.

```http
POST https://hiresweep.com/api/openapi/library/approved-lines/suggestions
x-api-key: YOUR_API_KEY
```

## Request body

```json
{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 280
    },
    "theme": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 40
        },
        {
          "type": "null"
        }
      ],
      "description": "What the line is about; empty clears it."
    },
    "avoidWhen": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 200
        },
        {
          "type": "null"
        }
      ],
      "description": "When not to use the line; empty clears it."
    },
    "clientId": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "description": "The client whose data this is, for an operator applying on behalf of clients. Omit for your own."
    }
  },
  "required": [
    "text"
  ]
}
```

## Responses

- `200`: The suggested line, and whether it was new.
