POST
/
actions
/
rpc
Make an RPC call to an action
curl --request POST \
  --url https://api.stackone.com/actions/rpc \
  --header 'Content-Type: application/json' \
  --data '{
  "action": "create_employee",
  "input": {
    "query": {
      "param1": "value1",
      "param2": "value2"
    },
    "headers": {
      "Content-Type": "application/json"
    },
    "body": {
      "data": "example"
    }
  }
}'
{
  "next": "<string>",
  "data": {}
}

Body

application/json

Response

Action response

The response is of type object.