/source/provision

This channel is for the feels provisioning.

POST Request Explanation:

In this POST, there are multiple parameters we are sending. Below is a table with the explanation​ for each of them:

Parameter

Description

api_key

You can find this key inside your admin FeelBack console. It's needed to get access to your account API.

token

Please always use the same value PUP5S9L6RL5QSYZ67Q8ZJQXY5AHEXJ3V.

type

In this API, always use CUSTOM. It means it’s a custom implementation for developers.

source_hash

Send a unique hash for your source. It needs to be auto-generated by the developer.

feels

Here you have to send a JSON string with the feels you want to insert for the source hash given.

For more information, please click here!

Request Response:

After creating our source, the response will contain information related to our source and the question hash sent in the POST parameters.

Variables

Values

  • msg
  • *NO KEY ID** - When your key is empty.
  • *NO VALID TOKEN** - When the token is not valid.
  • *NO SOURCEHASH VALUE** - When the source hash is empty.
  • *NO SOURCE FOUND** - When your source is not related to your account.
  • *NO ACCOUNT RELATED TO API KEY** - When your API key is not found in our database.
  • *ERROR WHILE SAVING** - When any type of error adding data occurs.
  • *NO VALID SOURCE TYPE** - When the source type is not valid. Always use CUSTOM.
  • *NO VALID FEELS** - When the JSON string with feels doesn't have a valid format or fields.
  • *OK** - If everything is good.

code

The request code. Can be 200 for success or 400 for any type of errors.

Language
Click Try It! to start a request and see the response here!