Get next block
After you have started a new session using the previous API and rendered a block for your users, you might want to render the next block.
| Request Body — REQUIRED |
|---|
askribeKey Askribe Key — REQUIREDObtain the API key required to connect with Askribe servers from the Settings section in your Askribe flow dashboard. |
sessionId Session Id — REQUIREDThis is the ID of the session. You can get it from the response of the /start request |
nodeId Node Id — REQUIREDThis is the ID of the block. You can get it from the response of the previous request |
response String ResponseThis is the response given by the user. Use it when the block type is TEXT_INPUT | NUMERIC_INPUT | URL_INPUT | EMAIL_INPUT | PHONE_NUMBER_INPUT | DATE_TIME | LISTEN - (In case of textual response) | OPTIONS - (In case of isMultiple = false) |
responses List of string response[]This is the response given by the user when block type is OPTIONS and isMultiple = true |
imageUrls List of image urls[]This is the response given by the user when block type is LISTEN and user's response is of type image |
videoUrls List of video urls[]This is the response given by the user when block type is LISTEN and user's response is of type video |
fileUrls List of file urls[]This is the response given by the user when block type is LISTEN and user's response is of type audio or block type is UPLOAD |
audioUrls List of audio urls[]This is the response given by the user when block type is LISTEN and user's response is of type audio |
| Responses | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200Successfully triggered
|