This documentation helps you implement the RESTful Wisembly API. This API uses a JSON format for output and is capable of handling CORS (Cross-Origin Resource Sharing) requests. The API is stateless – all requests are validated against an API token. The API token must be obtained manually from the authentication API.

Creating a session token

GET calls could be done without session token. But for every other calls (POST, PUT, PATCH) you'll need to be authentified. To generate a token, you'll need an app_id and app_secret to generate a hash allowing you to forge tokens. You could obtain these by sending an email to us explaining briefly what you want to do. We'll make sure to help you build great things on us!

Once you have these, to create an anonymous token you'll have to POST the authentication API with this data: {"app_id":"your app_id", "hash":"generated hash"}
Where the generated hash is sha1($app_id.$app_secret);

Once you have these, to create a logged in user token you'll have to POST the authentication API with this data: {"app_id":"your app_id", "hash":"generated hash", "email":"user email", "secret":"user password"}
Where the generated hash is sha1($email.$app_id.$app_secret);

Generate a token: => result:

Documentation auto-generated on Sat, 20 Apr 24 10:48:27 +0200