Skip to main content
POST
/
api
/
v1
/
apps
cURL
curl --request POST \
  --url https://api.example.com/api/v1/apps \
  --header 'Content-Type: application/json' \
  --data '
{
  "gateway_path": "<string>",
  "name": "<string>",
  "slug": "<string>",
  "default_policy": {},
  "routing_mode": "<string>"
}
'
{
  "data": "<unknown>",
  "message": "<string>",
  "status": 1
}

Documentation Index

Fetch the complete documentation index at: https://docs.draskencloud.com/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
gateway_path
string
required

Public base path on the gateway (e.g. /payments). Immutable after creation.

name
string
required
slug
string
required
default_policy
object
routing_mode
string | null

"pass_through" (default) | "managed_endpoint". Immutable after creation.

Response

App created

data
any
required

Response payload; null on delete or error

message
string
required
status
integer<int32>
required

HTTP status code mirrored in the body

Required range: x >= 0