sharing

Get an auth token for a share

Get a jwt auth token for a shared project from a share hash.

post/shares/{share}/auth

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/shares/{share}/auth
  • Auth
    none declared

Path parameters

sharestring required

The share hash

Request body

passwordstring

Response

The valid jwt auth token.

tokenstring

Example response

{
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
}

Changes

No recorded changes to this operation across all 74 revisions of this API.