Skip to main content

Get Action By ID

GET /api/action/:id​

Retrieve a specific action by its ID.

Response​

  • 200 OK
    { "success": true, "data": { /* action object */ } }
  • 404 Not Found
    { "success": false, "error": "Action not found" }
  • 500 Internal Server Error
    { "success": false, "error": "Internal Server Error" }

Action object​

{
"id": 1,
"service_id": 1,
"name": "Action Name",
"description": "Action description",
"config": {}
}

Example​

curl -X GET http://localhost:8080/api/action/1 \
--cookie "token=your_jwt_token"