Wordapp has an event (hook) mechanism for third-party services or sites. Currently in Wordapp there is only one event name such as "task_approved" that it is triggered after the completion of a task. As a third-party service you might want to be informed after a is task completed. The only thing you should do is to be registered to the "task_approved" event.
First of all you need to create an application in order create "access token"(see here).
In addition, see here how to make an API call by scrolling down to "Make authenticated requests".
If the process is invalid, then errors are returned with a 422 status code. An output is returned with the status code of 201, and it contains an "id" that is an event id. You should store this "id" somewhere in your database in order to unsubscribe later, by "unsubscribing from an event" which is covered below.
Event Id that should be included at end of url. See upward.
DELETE /api/event_hooks/58089723a83ab103c0c8abfd HTTP/1.1
Authorization: Bearer access token
X-Api-Version: api version
There is a returned output with status code of 200 without no content. If the process is invalid then errors returned with 422 status code.
3. How it works
Say that you have a blog related to "cars" built with Wordpress. You want to upload contents related to "cars" which are produced on Wordapp, but you don't have time to upload tons of content manually. Don't worry, Wordapp does it for you thanks to its hooking mechanism. What you should do here is subscribe to the "task_approved" event, due to fact that you want your contents to be uploaded after the content (we call it task) is approved by publisher. After subscribing to the "task_approved" event which is explained above, Wordapp will trigger your given "target_url" with a bunch of data. That endpoint should accept POST request and accept "application/json" header owing to fact that Wordapp sends data in JSON format. In the following Wordapp's events and related sample requests are listed. The target endpoint should send a 200 status code each time.