Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

API key authentication. Pass Authorization: Bearer ek_live_xxxxx on every request.

Path Parameters

ws
required
Required string length: 2 - 48
Pattern: ^[a-z0-9-]+$
prj
required
Required string length: 2 - 48
Pattern: ^[a-z0-9-]+$

Body

application/json
environmentId
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
secretIds
string<uuid>[]
required
Required array length: 1 - 50 elements
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
maxViews
required
Available options:
1
expiresIn
enum<string>
required
Available options:
5m,
1h,
1d,
3d,
7d,
14d,
30d
password
string
Required string length: 8 - 128

Response

201 - application/json

Default Response

id
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
token
string
required
url
string
required