Skip to content

Introduction

Welcome to the MOSA Internet Gateway API. This API allows you to programmatically interact with the mesh network, send encrypted messages, and build custom plugins for the Talivio ecosystem.

All API endpoints are prefixed with /api/v1.

Authentication

Authenticate your requests by including your API Key in the Authorization header.

BASH
curl -X POST https://gateway.mosa.network/api/v1/messages/send \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "recipient": "user_id_here",
    "content": "Hello World"
  }'

Rate Limits

Standard tokens are limited to 60 requests per minute. Headers are provided in the response to track your usage.

Header Description
X-RateLimit-Limit The maximum number of requests you're permitted to make per minute.
X-RateLimit-Remaining The number of requests remaining in the current window.