Skip to main content
POST
/
invoke
Invoke CloudFunctions
curl --request POST \
  --url https://api.coinfer.ai/invoke \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "target": "<string>",
  "action": "<string>",
  "parameters": {},
  "get_response": false
}
'
{
  "status": "<string>",
  "data": "<unknown>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
target
string
required

Target object to perform the action on

action
string
required

Action to perform

parameters
Parameters · object

Parameters for the command

get_response
boolean
default:false

Whether to get the response from the command (Sync run)

Response

200 - application/json

OK

status
string
required
Allowed value: "ok"
data
any
required