Skip to main content
GET
/
triggers
/
{app_id}
cURL
curl --request GET \
  --url https://api.example.com/triggers/{app_id}
import requests

url = "https://api.example.com/triggers/{app_id}"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://api.example.com/triggers/{app_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/triggers/{app_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.example.com/triggers/{app_id}"

req, _ := http.NewRequest("GET", url, nil)

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://api.example.com/triggers/{app_id}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.example.com/triggers/{app_id}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
[
  {
    "id": "<string>",
    "name": "<string>",
    "custom_address_enabled": true,
    "call_data": {
      "near": {
        "contract_id": "<string>",
        "method_name": "<string>",
        "method_type": "change",
        "attached_deposit_amount": "<string>",
        "gas_amount": "<string>",
        "data": {},
        "data_input": {},
        "template": "<string>"
      },
      "evm": {
        "contract_id": "<string>",
        "method_name": "<string>",
        "method_type": "change",
        "abi": "<string>",
        "gas_limit": "<string>",
        "data": [
          {}
        ],
        "data_input": {},
        "template": "<string>"
      },
      "wax": {
        "contract_id": "<string>",
        "method_name": "<string>",
        "abi": "<string>",
        "gas_limit": "<string>",
        "data": [
          {}
        ],
        "data_input": {},
        "template": "<string>"
      },
      "solana": {
        "contract_id": "<string>",
        "method_name": "<string>",
        "method_type": "change",
        "abi": "<string>",
        "compute_units": "<string>",
        "data": [
          {}
        ],
        "data_input": {},
        "template": "<string>"
      }
    },
    "app": {
      "id": "<string>",
      "name": "<string>",
      "kyc_return_url": "<string>",
      "use_explorer": true,
      "permissions": {
        "can_view": true,
        "can_edit": true,
        "can_delete": true,
        "can_edit_members": true
      },
      "app_fee": 123,
      "user": {
        "id": "<string>",
        "username": "<string>",
        "first_name": "<string>",
        "last_name": "<string>"
      },
      "is_member": true,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    },
    "wallet": {
      "id": "<string>",
      "name": "<string>",
      "managed": true,
      "wallet_data": {
        "near": {
          "account_id": "<string>",
          "phrase_or_key": "<string>",
          "test_network": true
        },
        "evm": {
          "account_id": "<string>",
          "private_key": "<string>",
          "test_network": true
        },
        "wax": {
          "account_id": "<string>",
          "permission": "<string>",
          "public_key": "<string>",
          "private_key": "<string>",
          "test_network": true
        },
        "solana": {
          "account_id": "<string>",
          "private_key": "<string>",
          "test_network": true
        }
      },
      "app": {
        "id": "<string>",
        "name": "<string>",
        "kyc_return_url": "<string>",
        "use_explorer": true,
        "permissions": {
          "can_view": true,
          "can_edit": true,
          "can_delete": true,
          "can_edit_members": true
        },
        "app_fee": 123,
        "user": {
          "id": "<string>",
          "username": "<string>",
          "first_name": "<string>",
          "last_name": "<string>"
        },
        "is_member": true,
        "created_at": "2023-11-07T05:31:56Z",
        "updated_at": "2023-11-07T05:31:56Z"
      },
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "magic_network": "<string>"
    },
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "custom_address": "<string>",
    "params_data": {
      "number": {
        "name": "<string>",
        "desc": "<string>",
        "optional": true,
        "nullable": true
      },
      "string": {
        "is_ethereum_address": true,
        "is_near_address": true,
        "name": "<string>",
        "desc": "<string>",
        "optional": true,
        "nullable": true
      },
      "boolean": {
        "name": "<string>",
        "desc": "<string>",
        "optional": true,
        "nullable": true
      },
      "object": {
        "value": "<array>",
        "name": "<string>",
        "desc": "<string>",
        "optional": true,
        "nullable": true
      },
      "array": {
        "value": "<unknown>",
        "name": "<string>",
        "desc": "<string>",
        "optional": true,
        "nullable": true
      }
    },
    "params_data_input": {
      "number": {
        "name": "<string>",
        "desc": "<string>",
        "optional": true,
        "nullable": true
      },
      "string": {
        "is_ethereum_address": true,
        "is_near_address": true,
        "name": "<string>",
        "desc": "<string>",
        "optional": true,
        "nullable": true
      },
      "boolean": {
        "name": "<string>",
        "desc": "<string>",
        "optional": true,
        "nullable": true
      },
      "object": {
        "value": "<array>",
        "name": "<string>",
        "desc": "<string>",
        "optional": true,
        "nullable": true
      },
      "array": {
        "value": "<unknown>",
        "name": "<string>",
        "desc": "<string>",
        "optional": true,
        "nullable": true
      }
    },
    "params_data_example": "<string>"
  }
]

Path Parameters

app_id
string
required

Query Parameters

page
number
default:1
Required range: x >= 1
take
number
default:100
Required range: x >= 1

Response

200 - application/json
id
string
required
name
string
required
custom_address_enabled
boolean
required
call_data
object
required
app
object
required
wallet
object
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
custom_address
string
params_data
object
params_data_input
object
params_data_example
string