Skip to content

Documentation for the API that makes order information available for the chatbot.

Notifications You must be signed in to change notification settings

Project-J/chatbot-api-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

Fy! Chatbot API

General

  • Data is consumed and returned as JSON.
  • Date(time)s are consumed and returned using the ISO 8601 format, specifically yyyy-MM-ddTHH:mm:ssZ (UTC with zero offset).

Authentication

Authentication requires the use of a unique chatbot API-key over HTTP Basic Auth. In practice this means using your chatbot API-key as the username and leaving the password blank.

You can make authenticated requests using a client (such as Postman or cURL) or manually.

To authenticate requests manually, Basic Auth requires the username and password to be separated by a colon (e.g. my-api-key:). This then needs to be base-64 encoded and included in the Authorization header, e.g. Authorization: Basic bXktYXBpLWtleQ==.

Reference

Endpoints

Endpoint Description URL
getOrder Returns status for an order given order id and postcode. /v0/chatbot/orders?order-id={string}&postcode={string}

About

Documentation for the API that makes order information available for the chatbot.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published