Skip to main content
POST
/
v1
/
workspace
/
{ws}
/
project
/
{prj}
/
secret-share
cURL
curl -X POST 'http://localhost:8080/v1/workspace/ws_example/project/prj_example/secret-share/' \
  -H 'Authorization: Bearer ek_live_xxxxx' \
  -H 'Content-Type: application/json' \
  -d '{ // request body fields, see schema }'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "token": "<string>",
  "url": "<string>"
}

Documentation Index

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

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

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