app.ocho.push.register

ocho-lexicons.ocho.app

Documentation

Registers for push notifications on a given device.

main procedure

Registers for push notifications on a given device.

Input

Encodingapplication/json
pushToken string Required

The expo push token

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": [
        "pushToken"
      ],
      "properties": {
        "pushToken": {
          "type": "string",
          "description": "The expo push token"
        }
      }
    },
    "encoding": "application/json"
  },
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "success"
      ],
      "properties": {
        "success": {
          "type": "boolean",
          "description": "Whether the token was successfully registered."
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Registers for push notifications on a given device."
}

Lexicon Garden

@