POST
/
workspaces
/
{id}
/
authenticated-embed-url
curl --request POST \
  --url https://api.dock.so:4000/{version}/workspaces/{id}/authenticated-embed-url \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "john@doe.com"
}'
{
  "data": {
    "url": "https://acme.dock.us/embed/workspace-123&authToken=24193e14b10a3e8f359bb634ca8228b3fd196ad0d88350918106c2442cffd023"
  }
}

Once an authenticated embed url is generated it remains valid for 2 minutes.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Unique identifier

Example:

"RiHO4e0Ju3DS"

Body

application/json

Response

200
application/json
Get authenticated embed url

The response is of type object.