logo

GET STARTED

This is a brief guide for using our Websocket APIs to connect your backend system with our servers.

Introduction

nandbox WebSocket API is a protocol for communication that offers full-duplex channels over a solitary, persistent connection. WebSockets, in contrast to conventional request-response patterns, enable servers and clients to interact without incurring the cost of continuously opening and shutting connections. Through their servers, nandbox WebSocket effectively handles this real-time, bi-directional communication.
Everything works the same way: your API opens one WebSocket session, authenticates once, then exchanges JSON objects. Each object carries a method field that says what it is β€” a request you send, or an event the server sends you.

New here? Start in this order

  1. QUICK START β€” create an API in your nandbox account and get its token.
  1. AUTHENTICATION β€” open the WebSocket session and authenticate.
  1. MESSAGES β€” send your first message and handle incoming ones.
  1. ERROR HANDLING β€” what the error codes mean.

Looking for something specific?

API REFERENCE β€” ALL METHODS & CALLBACKS lists every method you can send and every event you can receive, with the callback name for each SDK, on a single page. Start there if you already know what you want to do.
The sections below are grouped by feature area. Pages named after a method document a request you send; pages named after an event document something the server sends you.
Image without caption

πŸš€QUICK STARTπŸ”’AUTHENTICATIONπŸ”§ERROR HANDLINGMEDIAMEDIAPROFILEPROFILEπŸ—¨οΈCHATSMESSAGESMESSAGESCHATBOT EVENTSCHATBOT EVENTSUSERSUSERSπŸ—¨οΈMENUSSIGNUP MANAGEMENTSIGNUP MANAGEMENTCOMMERCE β€” PRODUCT, BOOKING, EVENTCOMMERCE β€” PRODUCT, BOOKING, EVENTCUSTOM COMPONENT-FORMS AND WORKFLOWCUSTOM COMPONENT-FORMS AND WORKFLOW
ℹ️Source CodeπŸ“–API REFERENCE β€” ALL METHODS & CALLBACKSπŸ—ƒοΈEXTENSION DOCUMENT STORE

Powered by Notaku