source/info

Get Source Information, like ID, Name, Questions and Prompts.

GET Request Explanation:

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

Parameter

Description

api_key

This key you can find it 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.

question_hash

Send the question hash ID to get the question information after created. This information can be found in the request response​.

After sending the parameters, we can find some variables and values on the request response. Below you will find the descriptions for each one:

Request Response:

After getting the response, you will receive information on​ the source you request. Below we will explain some of the variables and values:

Variables

Values

  • msg
  • *NO KEY ID** - When your key is empty.
  • *NO VALID TOKEN** - When the token is not valid.
  • *ERROR WHILE GRABBING INFO** - Error on the API while trying to get the information.
  • *CANT FIND SOURCE** - Can't find the source with hash ID given.
  • *NO VALID SOURCE TYPE** - When your source type is not a valid one.
  • *NO ACCOUNT RELATED TO API KEY** - When your API key is not found in our database.
  • *OK** - If everything is good.

code

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

data:
Will give the source information with question information if requested.

Variable

Value

source_hash

ID for the source requested.

source_name

Name for the source requested.

last_report

Last date the source reported feels or any action.

question_info:
Where you will find all question information with the prompts if configured.

Variable

Value

hash

The hash ID for the question used to send on the feel provisioning​.

identifiers

Is the tag name given to this question. Use for filtering in reports and more.

question_text

Is the text for the question.

prompt

Flag to know if the question has reasons.

status

Flag to know the status.

prompt_detail:
Where you will find all prompts related to the question you requested.

Variable

Value

hash

The hash ID for the prompt used to send on the feel provisioning.

reason

Test related to the prompt.

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