Skip to main content
GET
/
services
/
{id}
Get service by ID
curl --request GET \
  --url https://api.anycheck.ai/services/{id} \
  --header 'Authorization: Bearer <token>'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "category": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "Document Verification", "type": "DOCUMENT_VERIFICATION" }, "code": "KTP_VERIFICATION", "name": "KTP & PEP Verification", "description": "Verifying customer identity and screening for PEP status", "icon_file_url": "https://example.com/icon.png", "credit_cost_default": 10, "action_type": "WEBVIEW", "action_param": {}, "is_enabled": true, "created_at": "2023-11-07T05:31:56Z", "created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "updated_at": "2023-11-07T05:31:56Z", "updated_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }

Authorizations

Authorization
string
header
required

JWT token obtained from /auth/login endpoint.

Example:

Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...

Path Parameters

id
string<uuid>
required

Service ID

Response

Service details

id
string<uuid>

Unique service identifier

category
object
code
string

Service code identifier

Example:

"KTP_VERIFICATION"

name
string

Human-readable service name

Example:

"KTP & PEP Verification"

description
string | null

Service description

Example:

"Verifying customer identity and screening for PEP status"

icon_file_url
string | null

Service icon URL

Example:

"https://example.com/icon.png"

credit_cost_default
integer

Default credit cost for this service

Example:

10

action_type
enum<string>

How the service is invoked

Available options:
URL,
WEBVIEW,
SCREEN,
SCREEN_PREFIX
Example:

"WEBVIEW"

action_param
object

Service action parameters

is_enabled
boolean

Whether the service is currently enabled

Example:

true

created_at
string<date-time>

Service creation timestamp

created_by
string<uuid>

User who created the service

updated_at
string<date-time>

Service last update timestamp

updated_by
string<uuid>

User who last updated the service