For each AI project, the system will provide one endpoint for the HTTP Request integration:
- POST: https://payload.vextapp.com/hook/${endpoint_id}/catch/${channel_token}
You will have to replace the ${channel_token} with your own token. It is recommended to use a user ID or a unique identifier as your channel token.
For example, when a query is posted, a custom function generates a new token "hello" for the endpoint:
- POST: https://payload.vextapp.com/hook/${assigned_http_token}/catch/hello
POST
In order to send a POST request to the assigned endpoint, you will have to generate an API key first. To learn how to generate an API key, check out this article.
The interface will provide a simple curl example for your reference:
Code logic and method may vary depending on what language you use.
POST request JavaScript example:
Result Example
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article