Skip to main content
POST
/
v1
/
admin
/
finance
/
accountant-shares
Create an accountant share
curl --request POST \
  --url https://{operatorDomain}/v1/admin/finance/accountant-shares \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "token": "<string>",
  "from": "2023-12-25",
  "to": "2023-12-25",
  "revokedAt": "2023-11-07T05:31:56Z"
}
'
{
  "data": {
    "id": "<string>",
    "token": "<string>",
    "from": "2023-12-25",
    "to": "2023-12-25",
    "revokedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Staff session or API token issued by your Voyant app.

Body

application/json
id
string
required
token
string
required

Bearer token embedded in the share link.

from
string<date> | null
to
string<date> | null
revokedAt
string<date-time> | null

Response

200 - application/json

Created share

data
object