Skip to main content
POST
Call an app’s API

Authorizations

Authorization
string
header
required

Effective API key. Send Authorization: Bearer sk-eai-...

Path Parameters

appId
string
required

App ID: app- followed by lowercase letters, digits and hyphens, ending in a letter or digit. It is part of the app’s hostname, so your organization’s subdomain and the ID together must fit 63 characters.

Maximum string length: 63
Pattern: ^app-[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$

Body

application/json
method
enum<string>
required
Available options:
GET,
POST,
PUT,
PATCH,
DELETE
path
string
required

Path and query on the app, under /api/, such as /api/notes?limit=5.

Required string length: 5 - 2048
Pattern: ^\/api\/
body
any | null

JSON body to send; not allowed with GET. Sent as application/json.

Response

The app’s response, whatever its status.

status
integer
required

HTTP status the app returned. Redirects are not followed.

contentType
string | null
required

Content-Type the app returned, or null.

body
string
required

Response body as text, at most 64 KiB.

truncated
boolean
required

True when the response was longer than body.