Project
Get Project Information
Authentication Required
http
GET https://api.sih.market/api/v1/projectResponse 200
json
{
"success": true,
"project": {
"id": 1,
"name": "test project",
"balance": 100.51,
"webhook": "https://test.sih.app/callback"
}
}Response 400
json
{
"success": false,
"error": "string"
}Set Webhook
Authentication Required
Sets the webhook URL. If url is not provided, the webhook will be removed.
http
GET https://api.sih.market/api/v1/set-webhook| Parameter | Type | Description |
|---|---|---|
| url | string | https://test.sih.app/callback |
Response 200
json
{
"success": true
}Response 400
json
{
"success": false,
"error": "string"
}