Webhook

A webhook is a simple HTTP access point using POST. The article is sent as a JSON with the following format:

[
    {
        "title": "The title",
        "text": "Text content (the summary)",
        "html": "HTML content",
        "url": "origin URL of the article",
        "image": "URL of the article illustration",
        "published_at": "article publication date"
    }
]

To add a webhook, you mustconfigure your archiving service:

Click on the Add archive service button. The service creation page opens:

  1. Enter an alias
  2. Choose webhook as service provider
  3. Configure the webhook URL
  4. Click on the checkbox if you want to make it your default service

Once configured, you will see a new entry in the context menu of the article:

You can now send an article to a HTTP endpoint.

Share an article with another readflow

It should be noted that the JSON format used is compatible with the readflow integration API. It is therefore possible to configure a webhook to send the article to another account or readflow instance.

To do this you must configure the URL as follows: https://api:<API_KEY>@api.readflow.app/articles

By replacing <API_KEY> with an API key of the target account.