K KEGETLAREDEVELOPER PORTAL
All systems operational API v1.0
REST API В· DOCUMENTATION

Build with
Kegetlare API.

A clean, predictable interface for integrating your applications with Kegetlare. Explore endpoints, inspect request formats and try sample calls from one place.

в—Џ REST architecture JSON responses HTTPS only Version 1.0
https://kegetlare.devs.surf/api/v1

Authentication

Secure your requests with an API access token.

Bearer token

Pass your access token in the Authorization header with every protected request.

Transport security

All API requests must use HTTPS. Requests over plain HTTP are not supported.

Example header
Authorization: Bearer YOUR_API_TOKEN
Content-Type: application/json
Accept: application/json

Quick start

Make your first request in seconds.
TERMINAL В· cURL
curl -X GET \
  'https://kegetlare.devs.surf/api/v1/status' \
  -H 'Accept: application/json'

API reference

Available example endpoints and request conventions.
GET/statusGet service statusвЊ„

Returns basic information about API availability and version. This public endpoint does not require authentication.

Example response
{
  "success": true,
  "data": {
    "status": "online",
    "version": "1.0",
    "service": "Kegetlare API"
  }
}
GET/usersList usersвЊ„

Returns a paginated collection of users available to the authenticated account.

Query parameters
NAMETYPEDESCRIPTION
pageintegerPage number. Default: 1.
limitintegerItems per page. Default: 20, maximum: 100.
GET/users/{id}Get user detailsвЊ„

Returns details for a single user identified by its unique ID.

Path parameters
NAMETYPEDESCRIPTION
idstringREQUIRED Unique user identifier.
POST/usersCreate a userвЊ„

Creates a new user. Send a JSON object in the request body.

Example request body
{
  "name": "Alex Morgan",
  "email": "alex@example.com"
}
PUT/users/{id}Update a userвЊ„

Replaces the editable fields of the specified user. Requires a valid access token and a JSON request body.

DELETE/users/{id}Delete a userвЊ„

Deletes the specified user. This operation may be irreversible.

API console

Interactive request builder. Sample mode is enabled until a live backend is connected.
Request builder В· Sandbox
No live request
RESPONSE BODYAwaiting request
{
  "message": "Configure your API backend to enable live requests.",
  "hint": "This console currently displays a local demonstration response."
}

Error handling

Standard HTTP status codes.
CODEMEANINGDESCRIPTION
400Bad RequestThe request is malformed or contains invalid parameters.
401UnauthorizedAuthentication is missing or invalid.
403ForbiddenYou do not have permission to access this resource.
404Not FoundThe requested resource does not exist.
429Too Many RequestsRate limit exceeded. Retry after a short delay.
500Internal Server ErrorAn unexpected server error occurred.