Help

REST API

With help of the REST API you can automate recurring actions from your Flocktory cabinet and also update your order status, confirm reward and upload coupon codes.

For example, you can create a module in your backend system that will refresh the status of your orders in the Flocktory system every day.

If you do not have a clue what we are talking about then don't worry. Probably, you don't need to know these details anyway. Send a link of this page to your developer team and they will know what to do. And if you need support, we are always there for you — support@flocktory.com.

Basic API functions

  • Confirmation/Cancellation of orders
  • Confirmation/Cancellation of rewards
  • Upload of coupons
  • Campaign management
  • Receive information about subscribers (Pre-Checkout module)

The description of our API is available in the format of Swagger You can use this for generating API-clients in different programming languages, for example PHP, Java, Python, Ruby, JavaScript.

Authentification

For authorizing your requests please use the Basic Authentication with your user name API and the token as password

Authorization: Basic YXBpOjE0YmRiMzRkMjVjOTllYTFlOWM5MDNhMzEwZTk1MmQ2

You can also attach the token to the request itself:

https://client.flocktory.com/v2/ping?pong=1&token=14bdb34d25c99ea1e9c903a310e952d6

In order to see your API code here and be able to learn about all methods and to do test requests, please log into the Flocktory system