# com.getorbyt.send.getSuggestions

> Who the viewer is likely to send a video to, best first: people they recently sent to, then mutual follows, then people who follow them. Everyone listed can receive a send from the viewer. Viewer-specific and never cached.

- Kind: query
- Authority: send.getorbyt.com
- Lexicon: 1
- Published by [getorbyt.com](https://lexicon.garden/identity/did:plc:2xrqztnmzlckb3xfuuukupso), not the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:2xrqztnmzlckb3xfuuukupso/com.getorbyt.send.getSuggestions)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:2xrqztnmzlckb3xfuuukupso/com.getorbyt.send.getSuggestions/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:2xrqztnmzlckb3xfuuukupso/com.getorbyt.send.getSuggestions/analytics)

## Query (`com.getorbyt.send.getSuggestions`)

Type: query · GET

### Parameters (query string)

- `limit` (integer)
  - Constraints: minimum: 1, maximum: 50, default: 25
- `subject` (string · at-uri): The post about to be sent. When given, `sent` lists who already has it from the viewer.

### Output (application/json)

- `actors` (array, required)
  - Constraints: maxLength: 50
  - `items` (ref)
    - Reference: `com.getorbyt.actor.defs#profileView`
- `sent` (array): Of `actors`, those the viewer already sent `subject` to. A send to them again is not delivered twice.
  - Constraints: maxLength: 50
  - `items` (string · did)

### Errors

- `AuthenticationRequired`: No description in schema.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Who the viewer is likely to send a video to, best first: people they recently sent to, then mutual follows, then people who follow them. Everyone listed can receive a send from the viewer. Viewer-specific and never cached.",
      "errors": [
        {
          "name": "AuthenticationRequired"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "actors": {
              "items": {
                "ref": "com.getorbyt.actor.defs#profileView",
                "type": "ref"
              },
              "maxLength": 50,
              "type": "array"
            },
            "sent": {
              "description": "Of `actors`, those the viewer already sent `subject` to. A send to them again is not delivered twice.",
              "items": {
                "format": "did",
                "type": "string"
              },
              "maxLength": 50,
              "type": "array"
            }
          },
          "required": [
            "actors"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "limit": {
            "default": 25,
            "maximum": 50,
            "minimum": 1,
            "type": "integer"
          },
          "subject": {
            "description": "The post about to be sent. When given, `sent` lists who already has it from the viewer.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "com.getorbyt.send.getSuggestions",
  "lexicon": 1
}
```
