⛓️Integrate APIs
When a quester engages with a custom task, Intract triggers the necessary APIs with the required parameters to verify the task. You have the option to integrate your API using cURL or manually connect it. If you're unsure about creating an API, fret not, we also have a section on generating your own API-based template.
Using cURL:
If you're using cURL, simply paste the cURL command, ensuring it includes all the necessary components.
After pasting your cURL command, you can view detailed information about your API, including its action, endpoint, response time, method (POST or GET), and payload method. If everything is good to go, proceed with integration.
Connecting API Manually:
If you prefer to connect your API manually, you'll need to input the following details:
Action: Describe the action performed by the API.
Endpoint: Provide the endpoint URL of your API.
Response Time: Specify the time it takes for the API to respond.
Method: Indicate whether the method is POST or GET.
Payload Method: Specify how payloads are handled.
Adding Payloads:
Test Your API
After adding all necessary details, you gotta test your API. You can choose to test with your own data or allow Intract to send dummy data to simulate API response. You're good to go when the API is tested successfully.
Last updated