POST
/api/v1/documents/{slug}/access-requestsRequest access
Asks the owner of a document you can't open for access, or, with role: "editor", for edit access to one you can read. The owner can approve or decline it.
Guide: Request access
Code samples and Try itPath parameters
#slugstringRequiredThe document's address: the part after
markdrop.in/.
Request body
#application/json, required
messagestringUp to 500 characters.
role"viewer" | "editor"viewer(the default) asks to open it;editorasks to edit a document you can already read. Default"viewer".
Responses
#201Created.401No token, or the token is revoked or mistyped.422The request didn't validate.detaillists each problem, with where it is (loc) and why (msg).429Too many requests from your IP address. Wait the seconds inRetry-After.