Menu
Authenticate Share
Authenticate a Share
POST
/shares/authUse it in a workflow
- Add a step and choose the Directus connector.
- Pick the Authenticate Share action (under Shares).
- Fill in the fields below, then reference the result from later steps as
{{authenticateShare.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"share": "3a606c3e-9d4d-4556-b7bb-f00860613da3",
"password": "**********",
"mode": "json"
}
Response
Returns 200 with an object. Read it in later steps with {{authenticateShare.response.data.<field>}}.
{
"data": {
"access_token": "eyJhbGciOiJI...",
"expires": 900,
"refresh_token": "yuOJkjdPXMd..."
}
}
Need more? See the Directus guide for connection setup and behaviour shared by every action.
Was this page helpful?