# Offline Protocol > Offline Protocol developer documentation: the offline mesh networking SDK for React Native, Python and Rust, BLE messaging, OfflineID, CLI, MCP server and APIs. > ## Agent Instructions > These docs target Mesh SDK v0.32.0. Match the installed package and binding before generating code. Start at /getting-started/agents for task-specific reading paths. Apps that call enableTelemetry on 0.26.0 to 0.29.0 should update to 0.30.0 or later: the telemetry uploader trusts only the telemetry endpoint's issuing roots from 0.30.0. > Call the company and product Offline Protocol, never Offline alone. Current packages: @offline-protocol/mesh-sdk 0.32.0 (React Native), offline-protocol-sdk 0.32.0 on PyPI (Python 3.10 to 3.13; wheels for macOS 14+ arm64, Linux x86_64 and aarch64 with glibc 2.34+, Windows x86_64; other hosts build from source; extras lan and http add LAN discovery, the HTTP front and offline-protocol-verify), the offline-protocol crates 0.32.0 on crates.io, the OfflineProtocolSDK Swift package 0.32.0 (preview, iOS 13+ only), the Android library com.offlineprotocol:offline-protocol-sdk 0.32.0 on Maven Central (preview, minSdk 24), the Java binding com.offlineprotocol:offline-protocol-java 0.32.0 on Maven Central (JDK 22+, native library from the GitHub release's desktop archives), the C header offline_protocol.h with the native library in the GitHub release's desktop archives, the Ruby binding offline_protocol 0.32.0 on RubyGems (Ruby 3.3+, native library from the GitHub release's desktop archives), the C# binding (preview, .NET 8; source in bindings/csharp in the SDK repository at tag v0.32.0, a project reference over the C API, not on NuGet), the browser binding (experimental; the offline-protocol-web crate 0.32.0 on crates.io, with the JavaScript in bindings/web built from the SDK repository, not on npm), the offline_protocol Flutter plugin (preview, not on pub.dev; a path dependency on the SDK repository at tag v0.32.0; MeshSdk carries the React Native module's native surface), the service container image ghcr.io/offline-protocol/offline-protocol-service 0.32.0 (linux/amd64 and linux/arm64), @offline-protocol/id-react 0.3.0, @offline-protocol/id-react-native 0.4.0, @offline-protocol/pol 0.1.2 and @offline-protocol/cli 0.3.2 (account setup commands such as offline apps status, offline apps native and offline apply since 0.3.0). Canonical docs URLs start with https://www.offlineprotocol.com/docs. > The Mesh SDK runs in a native app or gateway, and from 0.31.0 in a browser through the experimental browser binding (a full node in a Web Worker; see /mesh-sdk/web). The OfflineID SDK for React does not provide browser mesh transport. Local mesh operation does not require a portal account or API key. The Mesh SDK appId is a mesh app identifier the developer chooses, not the portal App ID (app_...) that OfflineID and Proof of Location require. > In v0.32.0 service RPC bodies are sealed in the 1:1 MLS session once the recipient runs 0.29 or later and the session is confirmed; discovery, the first request to a provider never met, and requests to older peers are signed plaintext, so keep secrets out of service bodies unless the event says encrypted: true. Service subscriptions (subscribeService, publishServiceUpdate, from 0.32.0) are always sealed in the 1:1 MLS session with no plaintext fallback; under the default restricted policy the provider app must answer service_subscribe_received with acceptServiceSubscription or rejectServiceSubscription within 60 seconds. Content that begins with __MEMBER__ is a reserved prefix and is refused. The HTTP front (offline-protocol-service --http) always carries calls inside encrypted direct messages but does not authorize callers. Message delivery, durable local acceptance and backend commit are distinct outcomes. Use the workflow guide for the required application logic. > Offline Protocol CLI 0.3.2 is on npm (@offline-protocol/cli, command offline). Its local MCP server, named offline-protocol, runs with npx -y @offline-protocol/cli@0.3.2 mcp serve and requires no login or key. Hosted MCP is at https://mcp.offlineprotocol.com/mcp with an app API key in Authorization: Bearer and the matching App ID in x-app-id; organization keys are rejected, and Claude Desktop and Claude.ai cannot send these headers; there, use the public read-only endpoint https://mcp.offlineprotocol.com/public/mcp as a custom connector, or local MCP to scaffold or edit projects. Follow /tools/overview for setup and do not invent commands beyond it. MCP provides integration context and planning, not mesh execution; file-writing tools are local only. > In v0.32.0 phone Wi-Fi peer streams carry data: Android over Wi-Fi Direct (the SDK forms the group with autoAccept on Android 10+) and over the Wi-Fi network it is on (DNS-SD), iOS over Network framework (LAN or AWDL). Android and iOS meet over that slot only on a shared Wi-Fi network that allows multicast; iOS 0.28 and later does not see iOS 0.27 or earlier over it. Otherwise use BLE or a provisioned relay across platforms. The Swift and Android packages are previews; the Android library is on Maven Central from 0.29.0 only, so never give a Gradle line for an earlier version. The receiver core ACKs before application persistence; use application acceptance for durable workflows. > OfflineID App IDs are public. A request naming an application needs a credential: an allowed browser origin, an API key in X-Api-Key from a server, or, from an iOS or Android app, an attestation from a build registered to the application (iOS bundle ID and Team ID, Android package and signing certificate SHA-256). Register native apps with offline apps native add or offline apply, pass attestation providers (createExpoAppIntegrityProviders with @expo/app-integrity) to OfflineAppProvider, sign in on a physical device, and check readiness with offline apps status. Follow /getting-started/agent-quickstart and /id-sdk/app-attestation; error responses list the fixing commands in data.next_steps. > Proof of Location is Sepolia testnet witness evidence, not zero-knowledge proof or proof of presence. The geohash is public onchain. Read /proof-of-location/security before integration. - [Build with Offline Protocol](https://www.offlineprotocol.com/docs/index.md): Offline Protocol developer docs: an offline mesh networking SDK for React Native, Python and Rust. Connect devices over BLE, sync state and call services. - [Choose an Offline Protocol SDK](https://www.offlineprotocol.com/docs/getting-started/sdk-setup.md): Pick the Mesh SDK for React Native, Python or Rust device coordination, the OfflineID SDK for hosted sign-in, or a constrained leaf for embedded firmware. - [Quickstart: send your first local message](https://www.offlineprotocol.com/docs/getting-started/quickstart.md): React Native quickstart for Mesh SDK v0.32.0: run two physical phones and exchange an encrypted message over Bluetooth LE with no account or API key. - [Agent quickstart: set up an app from the terminal](https://www.offlineprotocol.com/docs/getting-started/agent-quickstart.md): Set up an Offline Protocol app end to end from a terminal or coding agent: sign in, create the app, register iOS and Android apps, install SDKs and verify. - [Platforms and transports](https://www.offlineprotocol.com/docs/getting-started/platforms.md): Supported platforms for Mesh SDK v0.32.0: React Native, Python, Java, C, C#, Ruby, the browser, Rust, firmware and native previews, over BLE, Wi-Fi and relays. - [Build with an AI agent](https://www.offlineprotocol.com/docs/getting-started/agents.md): Give your AI coding agent the current Offline Protocol version, platform, workflow and API context, plus the live setup prompt, before it writes code. - [Core concepts](https://www.offlineprotocol.com/docs/getting-started/core-concepts.md): Core Offline Protocol concepts: peers, off1 device addresses, MLS sessions, messages, replicated documents, services and the three acknowledgment levels. - [What the SDK handles](https://www.offlineprotocol.com/docs/getting-started/why-offline.md): What the Offline Protocol SDK handles (discovery, identity, messaging, shared state, service calls) and what stays in your application and backend. - [Local handoff](https://www.offlineprotocol.com/docs/guides/local-handoff.md): Hand an operational update from one nearby device to another with the Mesh SDK, persist it locally and track the receiving application's explicit acceptance. - [Synchronize shared state](https://www.offlineprotocol.com/docs/guides/shared-state.md): Synchronize checklists, notes, counters and shared settings between devices with Mesh SDK replicated documents (DataStore), then merge when peers reconnect. - [Deliver retained events to a backend](https://www.offlineprotocol.com/docs/guides/backend-delivery.md): Retain device readings and workflow events while offline, deliver them to your existing backend through an adapter and reconcile destination acceptance. - [Discover, invoke and subscribe to a service](https://www.offlineprotocol.com/docs/guides/nearby-service.md): Advertise a capability with MeshServices, discover an approved provider on nearby devices, call it, and subscribe to its published updates over the mesh. - [Offline Protocol examples](https://www.offlineprotocol.com/docs/examples/overview.md): Runnable Offline Protocol examples for Mesh SDK v0.32.0 and OfflineID: source location, build prerequisites and the result each example should produce. - [Run a two-phone BLE app](https://www.offlineprotocol.com/docs/examples/two-phone-app.md): Build a bare React Native host app with the published Mesh SDK v0.32.0 package and exchange messages between two phones over Bluetooth LE. - [Backend integrations](https://www.offlineprotocol.com/docs/integrations/overview.md): Connect Offline Protocol device workflows to existing data platforms through destination adapters, including the Confluent and Kafka connector evaluation. - [Offline Protocol CLI and MCP server](https://www.offlineprotocol.com/docs/tools/overview.md): Install the Offline Protocol CLI 0.3.2 (@offline-protocol/cli), run its local MCP server or hosted MCP, connect a coding agent and scaffold an integration. - [Use Offline Protocol from your coding agent](https://www.offlineprotocol.com/docs/tools/coding-agents.md): Connect Claude Code, Codex, Cursor, VS Code, Claude Desktop or another MCP client to Offline Protocol through local or hosted MCP. - [Troubleshoot the Mesh SDK](https://www.offlineprotocol.com/docs/operations/troubleshooting.md): Diagnose Mesh SDK discovery, permissions, encrypted sessions, persistence and backend delivery problems, and collect the details support needs. - [Deploy to production](https://www.offlineprotocol.com/docs/operations/production.md): Qualify an Offline Protocol deployment for production: workflow acceptance, identity lifecycle, persistence, background operation and operating limits. - [Upgrade the SDK](https://www.offlineprotocol.com/docs/operations/upgrades.md): Upgrade the Offline Protocol Mesh SDK to v0.32.0 while preserving device identities, persisted work and application event handling across releases. - [Licensing and hosted services](https://www.offlineprotocol.com/docs/operations/licensing.md): Mesh SDK licensing (AGPL-3.0-only or commercial), App Store distribution, hosted plans, usage quotas and integration support from Offline Protocol. - [Applications and API keys](https://www.offlineprotocol.com/docs/getting-started/get-api-key.md): Create Offline Protocol applications and scoped API keys with the CLI or developer portal, configure telemetry and revoke exposed credentials. - [Portal analytics and usage](https://www.offlineprotocol.com/docs/getting-started/analytics.md): What each number in the developer portal counts: OfflineID monthly active users, Mesh SDK delivery metrics, Proof of Location verifications and billed usage. - [Offline Protocol FAQ](https://www.offlineprotocol.com/docs/support/faq.md): Offline Protocol FAQ: offline operation, platforms, encryption, licensing, plans and billing, API keys, telemetry, Proof of Location and support. - [Contact Offline Protocol support](https://www.offlineprotocol.com/docs/support/contact.md): Get help from Offline Protocol with SDK integration, a deployment, connector evaluations or commercial licensing, and what to include in a support request. - [Mesh SDK overview](https://www.offlineprotocol.com/docs/mesh-sdk/overview.md): The Offline Protocol Mesh SDK (v0.32.0) is an offline mesh networking SDK for messaging, replicated documents and service calls between nearby devices. - [Install the Mesh SDK in React Native](https://www.offlineprotocol.com/docs/mesh-sdk/installation-rn.md): Install @offline-protocol/mesh-sdk 0.32.0 in a React Native app: requirements, iOS Info.plist, Android manifest, BLE and Wi-Fi runtime permissions. - [React Native lifecycle](https://www.offlineprotocol.com/docs/mesh-sdk/setup-rn.md): Create one OfflineProtocol instance in a React Native app, register event handlers before startup, start transports and stop the mesh cleanly. - [Python and Linux gateways](https://www.offlineprotocol.com/docs/mesh-sdk/python.md): Install the Mesh SDK v0.32.0 Python package from PyPI and run a full Offline Protocol peer on a Linux or desktop gateway over local IP, with persistent state. - [Local API service](https://www.offlineprotocol.com/docs/mesh-sdk/local-api.md): Run one Offline Protocol engine as a local service in v0.32.0 and let several applications on the host share its identity over JSON-RPC 2.0 on a WebSocket. - [HTTP front](https://www.offlineprotocol.com/docs/mesh-sdk/http-front.md): Let programs that do not use the SDK call a service on another device with one plain HTTP request, carried end to end encrypted by the Mesh SDK v0.32.0 service. - [Native Swift and Android packages](https://www.offlineprotocol.com/docs/mesh-sdk/native.md): Preview native packages in Mesh SDK v0.32.0: the OfflineProtocolSDK Swift package for iOS and the Android bindings and native libraries from the GitHub release. - [Flutter plugin (preview)](https://www.offlineprotocol.com/docs/mesh-sdk/flutter.md): Flutter plugin in Mesh SDK v0.32.0: MeshSdk gives Dart the React Native module's native surface on iOS and Android, from the SDK repository by path. - [Java binding](https://www.offlineprotocol.com/docs/mesh-sdk/java.md): Use the Mesh SDK v0.32.0 from Java 22 or later on desktop and server: the typed binding on Maven Central over the native library from the release. - [C binding](https://www.offlineprotocol.com/docs/mesh-sdk/c.md): Call the Mesh SDK v0.32.0 from C, C++, Go, C# or Zig: a C header over the native library, with JSON parameters, results and events. - [Ruby binding](https://www.offlineprotocol.com/docs/mesh-sdk/ruby.md): Use the Mesh SDK v0.32.0 from Ruby 3.3 or later in scripts, tooling and servers: the offline_protocol gem over the native library from the release. - [C# binding](https://www.offlineprotocol.com/docs/mesh-sdk/csharp.md): Use the Mesh SDK v0.32.0 from C# on .NET 8 for desktop and server hosts: an async ProtocolEngine over the C API and the native library from the release. - [Browser binding (experimental)](https://www.offlineprotocol.com/docs/mesh-sdk/web.md): Run the Mesh SDK v0.32.0 in a browser: a full node in a Web Worker with OPFS storage, WebRTC links, nearby rooms, Nostr relays and Web Bluetooth. - [Rust and constrained devices](https://www.offlineprotocol.com/docs/mesh-sdk/embedded.md): Offline Protocol on hardware: the IntelligenceMesh Relay on ESP32 today, and a Rust full peer or the offline-protocol-leaf firmware component for your device. - [Device identity and addressing](https://www.offlineprotocol.com/docs/mesh-sdk/identity.md): Mesh SDK device identity: Ed25519 keys, off1 bech32m addresses, the app/profile namespace, verified invites for first contact and migrating from userId. - [Mesh SDK configuration](https://www.offlineprotocol.com/docs/mesh-sdk/configuration.md): Configure Mesh SDK v0.32.0 transports, encryption, message retention, relays, telemetry and shared state, with defaults and deployment guidance. - [Reticulum and Nostr](https://www.offlineprotocol.com/docs/mesh-sdk/reticulum-nostr.md): Use Reticulum and Nostr as external transport infrastructure with the Offline Protocol Mesh SDK, and understand the gateway contract and privacy boundary. - [Find an SDK API](https://www.offlineprotocol.com/docs/mesh-sdk/reference.md): Choose a focused React Native API reference by task, with links to working guides and event payloads. - [Mesh SDK methods](https://www.offlineprotocol.com/docs/mesh-sdk/methods.md): Every public method signature in the Offline Protocol Mesh SDK React Native package v0.32.0, generated from the published TypeScript source. - [Lifecycle and listeners](https://www.offlineprotocol.com/docs/mesh-sdk/api/lifecycle.md): Start, pause, resume and stop the React Native protocol instance; register typed event handlers. - [Messaging and receipts](https://www.offlineprotocol.com/docs/mesh-sdk/api/messaging.md): Send application messages, manage connection requests and inspect delivery outcomes. - [Device identity and sessions](https://www.offlineprotocol.com/docs/mesh-sdk/api/identity.md): Read device addresses, manage key packages and establish MLS sessions. - [Groups and membership](https://www.offlineprotocol.com/docs/mesh-sdk/api/groups.md): Mesh SDK v0.32.0 group methods: create MLS groups, invite and remove members, manage roles and send group messages. - [Files and media](https://www.offlineprotocol.com/docs/mesh-sdk/api/files.md): Mesh SDK v0.32.0 file transfer methods: send files, images, voice and video notes, inspect transfer progress and cancel a transfer. - [Transports and routing](https://www.offlineprotocol.com/docs/mesh-sdk/api/networking.md): Configure transport paths, routing, relay roles, retries and platform bridge callbacks. - [Telemetry controls](https://www.offlineprotocol.com/docs/mesh-sdk/api/telemetry.md): Enable optional telemetry, flush its buffer and inspect collection status. - [DataStore methods](https://www.offlineprotocol.com/docs/mesh-sdk/api/data.md): Exact document, map, list, text, counter and attachment signatures for local shared state. - [MeshServices methods](https://www.offlineprotocol.com/docs/mesh-sdk/api/services.md): MeshServices methods in Mesh SDK v0.32.0: register and discover services on nearby devices, call them, and subscribe to their published updates. - [Configuration types](https://www.offlineprotocol.com/docs/mesh-sdk/configuration-types.md): Exact TypeScript configuration interfaces in the published Mesh SDK React Native v0.32.0 package, generated from its type declarations. - [Mesh SDK events](https://www.offlineprotocol.com/docs/mesh-sdk/events.md): Event payloads emitted by the Mesh SDK React Native package v0.32.0: delivery outcomes, discovery, secure sessions, shared data and service events. - [DataStore reference](https://www.offlineprotocol.com/docs/mesh-sdk/data.md): Mesh SDK DataStore reference: create replicated documents, update maps, lists, text and counters, scope replication and fetch attachments. - [Custody for replicated documents](https://www.offlineprotocol.com/docs/mesh-sdk/custody.md): Custody in Mesh SDK v0.32.0 lets a device hold a neighbour's replicated-document frames for hours while the recipient is away, under quotas you set. - [Types and protocol boundaries](https://www.offlineprotocol.com/docs/mesh-sdk/types-and-internals.md): Use the released Mesh SDK bindings and distinguish application data from transport internals, wire specification and protocol boundaries. - [Public types](https://www.offlineprotocol.com/docs/mesh-sdk/public-types.md): Complete exported parameter, result and event TypeScript types for the Offline Protocol Mesh SDK v0.32.0 React Native package. - [Mesh SDK error codes](https://www.offlineprotocol.com/docs/mesh-sdk/errors.md): The 25 ProtocolError variants in Mesh SDK v0.32.0, what each error code means and the recovery action your application should take. - [Technical overview](https://www.offlineprotocol.com/docs/tech/overview.md): Technical overview of Offline Protocol: a coordination layer inside your apps and devices for Connect, Sync and Invoke, and what platform bridges supply. - [Offline Protocol architecture](https://www.offlineprotocol.com/docs/tech/architecture.md): How Offline Protocol fits together: application, Rust protocol core, platform transport bridges, identity and storage, and upstream backend integration. - [Transport and routing](https://www.offlineprotocol.com/docs/tech/networking.md): How the Mesh SDK routes over BLE, phone Wi-Fi peer streams, local IP, internet relay, Reticulum and Nostr, with multi-hop forwarding and gateways in v0.32.0. - [Security and authorization](https://www.offlineprotocol.com/docs/tech/security.md): Offline Protocol security model: Ed25519 identity verification, MLS-encrypted messages, signed plaintext control traffic, authorization and the threat model. - [Application state and receipts](https://www.offlineprotocol.com/docs/tech/ux.md): Show users what an offline app has saved, delivered, accepted and synchronized, using separate indicators for each state and clear recovery actions. - [Limits and capacity](https://www.offlineprotocol.com/docs/tech/rate-limits.md): Default queue sizes, payload ceilings and retention windows in Mesh SDK v0.32.0, and how to handle capacity exhaustion in your application. - [Products and services](https://www.offlineprotocol.com/docs/tech/ecosystem.md): The Offline Protocol product set: Mesh SDK, OfflineID SDK, hosted telemetry, internet relay, destination integrations, CLI and MCP, and which ones you need. - [Offline Protocol glossary](https://www.offlineprotocol.com/docs/tech/terminology.md): Definitions of terms used throughout the Offline Protocol docs, including acceptance, address, CRDT, DORS, full peer, leaf, MLS, outbox and reconciliation. - [OfflineID SDK overview](https://www.offlineprotocol.com/docs/id-sdk/overview.md): OfflineID is Offline Protocol's hosted identity SDK for React (0.2.0) and React Native (0.4.0): email sign-in, user profiles and connections. - [OfflineID SDK for React](https://www.offlineprotocol.com/docs/id-sdk/setup-react.md): Install @offline-protocol/id-react 0.3.0, configure the application provider with your App ID and add hosted email sign-in to a React web app. - [OfflineID SDK for React Native](https://www.offlineprotocol.com/docs/id-sdk/setup-rn.md): Install @offline-protocol/id-react-native 0.4.0 to add attested email sign-in, session restoration and user profiles to a React Native or Expo app. - [App attestation for native sign-in](https://www.offlineprotocol.com/docs/id-sdk/app-attestation.md): Register iOS and Android apps, attach App Attest or Android key attestation to OfflineID sign-ins, and use development mode for simulators and Expo Go. - [OfflineID hooks](https://www.offlineprotocol.com/docs/id-sdk/core-modules.md): OfflineID SDK hooks for authentication, profiles and connections in the published React 0.3.0 and React Native 0.4.0 packages, with usage notes. - [React account example](https://www.offlineprotocol.com/docs/examples/social-app.md): React example with the OfflineID SDK (@offline-protocol/id-react 0.3.0): add hosted account sign-in and display a signed-in user's profile connections. - [Mobile account example](https://www.offlineprotocol.com/docs/examples/quickstart-rn.md): Run the OfflineID React Native SDK (@offline-protocol/id-react-native 0.4.0) for attested hosted sign-in, separately from local Mesh SDK communication. - [OfflineID hosted HTTP API](https://www.offlineprotocol.com/docs/api-reference/introduction.md): Offline Protocol hosted HTTP API reference: authenticate a user, identify your application with x-app-id, and handle OfflineID account and profile responses. - [Send email sign-in code](https://www.offlineprotocol.com/docs/api-reference/auth/send-auth-code.md): Sends a one-time OfflineID sign-in code to the provided email address for the application identified by X-App-Id. Exchange the code with POST /auth/verify-code. A native app attaches an attestation from a registered build; a browser is accepted from the application's allowed origins, and a server wi… - [Verify email sign-in code](https://www.offlineprotocol.com/docs/api-reference/auth/verify-code.md): Verifies the one-time code sent to the user's email and returns the OfflineID user with a JWT. Send that token as the bearer credential on authenticated endpoints. A native app attaches an attestation built on a new challenge; a token from a sign-in whose attestation verified serves as the applicati… - [Sign out](https://www.offlineprotocol.com/docs/api-reference/auth/sign-out.md): End the bearer token's session, or every session of the same user on every device. Hosted services then refuse the token with a 401. - [Get account details](https://www.offlineprotocol.com/docs/api-reference/users/get-account-details.md): Returns the signed-in OfflineID user account and its bound identity address, or null when no address is bound. Requires the user's JWT and X-App-Id. - [Issue signed OfflineID credential](https://www.offlineprotocol.com/docs/api-reference/users/credential.md): Unwrapped response. Requires a previously bound identity address. Signature is standard base64 Ed25519. Returns 503 if issuance is disabled. - [Get credential issuer public key](https://www.offlineprotocol.com/docs/api-reference/users/credential-issuer-key.md): Unwrapped public response. public_key is standard base64. Cache trusted issuer keys for offline verification; handle rotation and expiry explicitly. - [Request account deletion code](https://www.offlineprotocol.com/docs/api-reference/users/request-deletion.md): Send a deletion confirmation code to the account's email address. It does not delete the account; the code expires in 15 minutes. - [Confirm account deletion](https://www.offlineprotocol.com/docs/api-reference/users/confirm-deletion.md): Confirm the deletion code and schedule the OfflineID account for deletion 30 days later. Every session of the account is signed out at once. - [Create profile](https://www.offlineprotocol.com/docs/api-reference/profiles/create.md): Creates a new user profile with a username and optional referral code. - [Get profile](https://www.offlineprotocol.com/docs/api-reference/profiles/get.md): Fetch an OfflineID profile by username. Only the owner receives the exact location; other callers receive location: null. - [Search usernames](https://www.offlineprotocol.com/docs/api-reference/profiles/search.md): Returns up to 10 usernames matched with LIKE; it does not return full profiles. - [Get all user profiles](https://www.offlineprotocol.com/docs/api-reference/profiles/get-all.md): Retrieves a paginated list of all profiles the authenticated user owns. - [Update social links](https://www.offlineprotocol.com/docs/api-reference/profiles/update-socials.md): Updates the social media links and about text on a profile and returns the updated profile. Requires the signed-in user's JWT and X-App-Id. - [Update profile location](https://www.offlineprotocol.com/docs/api-reference/profiles/update-location.md): Update the signed-in owner's saved coordinates. Only the owner receives the exact location; other callers receive location: null. - [Change username visibility](https://www.offlineprotocol.com/docs/api-reference/profiles/change-visibility.md): Hides or shows a profile's username by setting hidden to true or false. Requires the signed-in user's JWT and X-App-Id. - [Check username availability](https://www.offlineprotocol.com/docs/api-reference/profiles/availability.md): Checks whether a username is available for a new OfflineID profile. Returns available as a boolean together with a reason string. - [Get profile image privacy](https://www.offlineprotocol.com/docs/api-reference/profiles/get-pfp-privacy.md): Returns who can see a profile's image: EVERYONE, CONNECTIONS or NOBODY. Requires the signed-in user's JWT and X-App-Id. - [Set profile image privacy](https://www.offlineprotocol.com/docs/api-reference/profiles/set-pfp-privacy.md): Sets who can see a profile's image to EVERYONE, CONNECTIONS or NOBODY and returns the saved setting. Requires the signed-in user's JWT and X-App-Id. - [Create a location commitment](https://www.offlineprotocol.com/docs/api-reference/profiles/location-commitment.md): Submit a Proof of Location commitment as a Sepolia testnet task. The geohash cell and task time are public; a 200 confirms submission, not acceptance. - [Add connection](https://www.offlineprotocol.com/docs/api-reference/connections/create.md): Creates a connection between the current user's profile (current_user) and another OfflineID profile (connected_peer), both identified by username. - [Remove connection](https://www.offlineprotocol.com/docs/api-reference/connections/delete.md): Delete a connection by UUID. Only a party authorized to remove the connection may delete it. - [List connections](https://www.offlineprotocol.com/docs/api-reference/connections/get.md): Returns the connections of an OfflineID profile identified by username. Use the page and limit query parameters to paginate the result. - [Set connection location sharing](https://www.offlineprotocol.com/docs/api-reference/connections/location-sharing.md): Opt in or out of sharing your location on your own side of an OfflineID connection. Sharing is one-directional and off by default. - [Get locations shared with you](https://www.offlineprotocol.com/docs/api-reference/connections/locations.md): List the saved locations that connected peers opted in to share with a profile you own. An ordinary connection does not grant location access. - [Get network map](https://www.offlineprotocol.com/docs/api-reference/stats/nodes.md): Public and unauthenticated. Returns device counts per area for the network map, never a device's or profile's location. Responses are paginated: page defaults to 1 and limit to 50. Each client IP can make 60 requests a minute. - [Proof of Location](https://www.offlineprotocol.com/docs/proof-of-location/intro.md): Offline Protocol Proof of Location: witness-attested location evidence committed to Ethereum Sepolia, with explicit trust, privacy and testnet boundaries. - [Location evidence architecture](https://www.offlineprotocol.com/docs/proof-of-location/architecture.md): Proof of Location architecture: backend task submission, per-operator round-trip-time checks, signed witness attestations and onchain indexing. - [Submit a location claim](https://www.offlineprotocol.com/docs/proof-of-location/submit-pol.md): Submit a Sepolia location commitment and complete the witness exchange with the @offline-protocol/pol 0.1.2 SDK or the raw Proof of Location API. - [Location evidence security](https://www.offlineprotocol.com/docs/proof-of-location/security.md): Proof of Location security: testnet status, trust assumptions, spoofing risks and privacy boundaries for witness-attested location claims. ## OpenAPI Specs - [openapi](/docs/api-reference/openapi.json) ## Optional - [GitHub](https://github.com/Offline-Protocol/offline-protocol-sdk) - [Website](https://www.offlineprotocol.com) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.