Skip to main content
GET
/
api
/
services
List Services
curl --request GET \
  --url https://api.example.com/api/services \
  --header 'x-api-key: <api-key>'
{
  "success": true,
  "message": "Services fetched successfully",
  "data": [
    {
      "uuid": "d0e1f2a3-b4c5-6789-abcd-ef0123456789",
      "name": "Luxury",
      "description": "Authentication service for luxury goods",
      "expected_completion_time": 48,
      "price": 25,
      "parent": true
    },
    {
      "uuid": "e1f2a3b4-c5d6-7890-bcde-f01234567890",
      "name": "Sneakers",
      "description": "Authentication service for sneakers and streetwear",
      "expected_completion_time": 24,
      "price": 15,
      "parent": true
    },
    {
      "uuid": "f2a3b4c5-d6e7-8901-cdef-012345678901",
      "name": "Express",
      "description": "Express authentication service",
      "expected_completion_time": 8,
      "price": 50,
      "parent": false
    }
  ]
}

Authorizations

x-api-key
string
header
required

API key for application authentication (format: leo_xxxxxxxxx)

Response

200 - application/json

Services retrieved successfully

The response is of type any.