Skip to main content
POST
Get a token for a procedure step to call an app

Authorizations

Authorization
string
header
required

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

Body

application/json
appId
string
required

The app the step calls.

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

How long the token lasts, in seconds: as long as the step may run, at most 75 minutes.

Required range: 60 <= x <= 4500

Response

The token, and where to send it.

runtimeUrl
string<uri>
required

Where the app’s own API is served. Send the token only here.

token
string
required

Bearer token for requests to runtimeUrl.

expiresAt
string<date-time>
required

When the token stops working.