Skip to content
BigETI edited this page Jul 1, 2019 · 3 revisions

skribbl.io API documentation

Introduction

skribbl.io is a platform to draw and guess words with other people.

Notice

This documentation is not complete and can change anytime.

Interface

All messages between client and server are exchanged via websockets and are UTF-8 encoded strings. Each message starts with an ID. The ID is an integer and is directly preprended to the message content. The content of a message is simply an array of bytes, meaning it can be text or whatever else you want it to be.

An example message could look like this:

2probe

2 is the message ID and probe is the message content.

The message content could also be JSON for example:

42["chat",{"id":123,"message":"Hello World!"}]

42 is the message ID and

["chat",{"id":123,"message":"Hello World!"}]

is the message content.

This documentation will be categorized by message IDs.

Clone this wiki locally