Skip to main content
POST
/
folders
Create folder
curl --request POST \
  --url https://api.anycheck.id/folders \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "KTP Verifications",
  "description": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "description": "<string>",
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

JWT token obtained from /auth/login endpoint.

Example:

Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...

Body

application/json
name
string
required
Example:

"KTP Verifications"

description
string

Response

201 - application/json

Folder created

id
string<uuid>
name
string
description
string
created_at
string<date-time>