After each event type you should reply us with a JSON response with following fields:

  1. id
  2. permalink
{  
   "id":1,
   "permalink":"https://my-awesome-blog.com/how-we-became-awesome"
}

ID

The ID of your story in your own local database. We will use this ID when the story is requested to be deleted or updated. 

Permalink

The url of the story on your application. This is needed so we can set the links on your Social Media posts correctly. Without it sharing or publishing to multiple destinations won't work.

Handling errors

If anything woud go wrong a non-2xx HTTP code should be returned with an optional message to describe what went wrong.
For example:

Code: 401
Message: "HMac validation failed"
Code: 500
Message: "Internal server error"

UTF-8 encoding (emoji's) →

Did this answer your question?