Intract's team offers enterprises the ability to create, test, and use their own customised API templates.
This section is intended for technical individuals.
To create a custom API verification task, Intract requires an API developed according by our standards. When a quester interacts with this task, Intract will call the API with the required parameters and check if the task is verified.
This API will first be verified by Intract’s development team to check if all the standards are met
When we connect with your projects API for verification we will send some keys in payload body. We support the following keys for verification:
Address
User’s wallet address.
<aside> 🚨 We support EVM compatible addresses and NON EVM addresses (Solana, Keplr, Ton and Starknet).
</aside>
User account ID of user’s Twitter account.
Discord
Discord user name of user’s discord account.
Telegram
User ID of user’s telegram account.
User’s email address.
The API should be a POST request.
✅NOTE:Make sure there are no parameters passed. We do not support query params.
URL format:
https://<domain>/<serverpath>
✅NOTE: We only support https requests.
Payload
The API should support payload with this format.
{
"address": "user's address in lowercase",
"twitter": "twitter account ID",
"discord": "Discord username",
"telegram": "Telegram user ID",
"email": "email address"
}
✅NOTE: We will only include keys in the payload that are defined in the task template. For example, if the task template only mentions "address" as input, then only the "address" key will be present in the payload.
When the task is recurring in nature two additional keys will be sent along with the above mentioned details. The following keys will be sent: startTimestamp and endTimestamp which are the start and end brackets of when the task is being verified.
Example payload in this case:
{
"address": "user's address in lowercase",
"startTimestamp":"2024-03-20T00:00:00.000Z",
"endTimestamp":"2024-03-20T23:59:59.000Z"
}