app.ocho.message.send

ocho-lexicons.ocho.app

Documentation

Sends a message to a user from an app.

main procedure

Sends a message to a user from an app.

Input

Encodingapplication/json
did string Required

The user to send the message to.

message string Required

The message to send to the user.

Output

Encodingapplication/json
success boolean Required

Whether the token was successfully registered.

Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "type": "procedure",
  "input": {
    "schema": {
      "type": "object",
      "required": [
        "message",
        "did"
      ],
      "properties": {
        "did": {
          "type": "string",
          "description": "The user to send the message to."
        },
        "message": {
          "type": "string",
          "description": "The message to send to the user."
        }
      }
    },
    "encoding": "application/json"
  },
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "success"
      ],
      "properties": {
        "success": {
          "type": "boolean",
          "description": "Whether the token was successfully registered."
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Sends a message to a user from an app."
}

Lexicon Garden

@