Skip to main content
POST
Generate one-time link

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, see Authentication for more detail.

Body

application/json
userId
string

The Tight user ID to generate a one-time for

Example:

"your_userId"

companyId
string

Scopes a bookkeeper's one-time link to a single company. Provide the userId of a bookkeeper together with the companyId of a company they can access to generate a token that acts as that bookkeeper working on behalf of that specific company. Requires userId to be the ID of a bookkeeper.

Example:

"co_28868401"

Response

Success

result
enum<string>

The result of the action performed.

Available options:
SUCCESS,
FAILURE
data
object

The data generated by the action performed.