# social.colibri.sync.sendHum

> Published by [colibri.social](https://lexicon.garden/identity/did:plc:mprdjqjluoswa7awzggaggj3)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:mprdjqjluoswa7awzggaggj3/social.colibri.sync.sendHum)
- [Documentation](https://lexicon.garden/lexicon/did:plc:mprdjqjluoswa7awzggaggj3/social.colibri.sync.sendHum/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:mprdjqjluoswa7awzggaggj3/social.colibri.sync.sendHum/examples)

## Definitions

### `social.colibri.sync.sendHum`

**Type**: `procedure`

Informs this AppView of an off-protocol event that occurred on a peer AppView. Requires inter-service auth: a JWT signed by the caller's AppView signing key, aud = this AppView's did:web, lxm = social.colibri.sync.sendHum. The receiver drops the Hum unless the JWT issuer equals both the envelope `origin` and the `subject`'s declared presenceService.

#### Input

**Encoding**: `application/json`

#### Errors

- **AuthRequired**: Missing or invalid service-auth JWT.
- **Forbidden**: A trust-model check failed (origin is not the subject's declared presenceService, subject is not a community member, origin is not an AppView, or a channel does not belong to the community).
- **InvalidRequest**: A parameter or body field was missing or malformed.
- **NotEnabled**: Humming is disabled on this AppView.
- **RateLimited**: The peer exceeded its per-peer sendHum rate budget.

## Raw Schema

```json
{
  "id": "social.colibri.sync.sendHum",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "ref": "lex:social.colibri.sync.subscribeEvents#humEnvelope",
          "type": "ref"
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "AuthRequired",
          "description": "Missing or invalid service-auth JWT."
        },
        {
          "name": "Forbidden",
          "description": "A trust-model check failed (origin is not the subject's declared presenceService, subject is not a community member, origin is not an AppView, or a channel does not belong to the community)."
        },
        {
          "name": "InvalidRequest",
          "description": "A parameter or body field was missing or malformed."
        },
        {
          "name": "NotEnabled",
          "description": "Humming is disabled on this AppView."
        },
        {
          "name": "RateLimited",
          "description": "The peer exceeded its per-peer sendHum rate budget."
        }
      ],
      "description": "Informs this AppView of an off-protocol event that occurred on a peer AppView. Requires inter-service auth: a JWT signed by the caller's AppView signing key, aud = this AppView's did:web, lxm = social.colibri.sync.sendHum. The receiver drops the Hum unless the JWT issuer equals both the envelope `origin` and the `subject`'s declared presenceService."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
