Users
The Users API enables businesses to programmatically retrieve and manage members within their organization, including paginated user listings and detailed individual profiles with role and activity data.
Returns a paginated list of users belonging to the organization. Requires can_manage_users permission.
Organization API token (tot_) — preferred authentication method. Pass the token directly without Bearer prefix.
Page number (0-based)
0Page size (default 20)
20Organization token (tot_). Pass the token directly without Bearer prefix.
tot_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx200
Bad Request – invalid request parameters
Unauthorized – JWT token missing or invalid
Forbidden – insufficient permissions
Internal Server Error – unexpected server error
GET /organizations/users HTTP/1.1
Host: api.transactionlink.io
Authorization: text
Accept: */*
{
"content": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"email": "user@example.com",
"idpId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"roleId": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"profile": {
"id": "d4e5f6a7-b8c9-0123-def0-123456789012",
"firstName": "Jan",
"lastName": "Kowalski",
"title": "Developer",
"organizationId": "e5f6a7b8-c9d0-1234-ef01-234567890123",
"roleId": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"status": "ACTIVE",
"createdDateTime": "2025-01-01T10:00:00Z",
"lastSignedInAt": "2025-06-01T08:00:00Z"
},
"createdDateTime": "2025-01-01T10:00:00Z"
}
],
"totalElements": 1,
"totalPages": 1,
"size": 20,
"number": 0
}Returns details of a single user in the organization. Requires can_manage_users permission.
Organization API token (tot_) — preferred authentication method. Pass the token directly without Bearer prefix.
Identifier of the user
Organization token (tot_). Pass the token directly without Bearer prefix.
tot_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx200
Bad Request – invalid request parameters
Unauthorized – JWT token missing or invalid
Forbidden – insufficient permissions
Not Found – resource does not exist
Internal Server Error – unexpected server error
GET /organizations/users/{userId} HTTP/1.1
Host: api.transactionlink.io
Authorization: text
Accept: */*
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"email": "user@example.com",
"idpId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"roleId": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"profile": {
"id": "d4e5f6a7-b8c9-0123-def0-123456789012",
"firstName": "Jan",
"lastName": "Kowalski",
"title": "Developer",
"organizationId": "e5f6a7b8-c9d0-1234-ef01-234567890123",
"roleId": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"status": "ACTIVE",
"createdDateTime": "2025-01-01T10:00:00Z",
"lastSignedInAt": "2025-06-01T08:00:00Z"
},
"createdDateTime": "2025-01-01T10:00:00Z"
}Updates the profile (first name, last name, title) of a user. Requires can_manage_users permission.
Organization API token (tot_) — preferred authentication method. Pass the token directly without Bearer prefix.
Identifier of the user
Organization token (tot_). Pass the token directly without Bearer prefix.
tot_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxFirst name of the user
Last name of the user
Job title of the user
200
Bad Request – invalid request parameters
Unauthorized – JWT token missing or invalid
Forbidden – insufficient permissions
Not Found – resource does not exist
Internal Server Error – unexpected server error
PUT /organizations/users/{userId}/profile HTTP/1.1
Host: api.transactionlink.io
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 65
{
"firstName": "Jan",
"lastName": "Nowak",
"title": "Senior Developer"
}{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"email": "user@example.com",
"idpId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"roleId": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"profile": {
"id": "d4e5f6a7-b8c9-0123-def0-123456789012",
"firstName": "Jan",
"lastName": "Nowak",
"title": "Senior Developer",
"organizationId": "e5f6a7b8-c9d0-1234-ef01-234567890123",
"roleId": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"status": "ACTIVE",
"createdDateTime": "2025-01-01T10:00:00Z",
"lastSignedInAt": "2025-06-01T08:00:00Z"
},
"createdDateTime": "2025-01-01T10:00:00Z"
}Updates the organization-level role assigned to a user. Requires can_manage_users permission.
Organization API token (tot_) — preferred authentication method. Pass the token directly without Bearer prefix.
Identifier of the user
Organization token (tot_). Pass the token directly without Bearer prefix.
tot_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxIdentifier of the new role to assign
200
Bad Request – invalid request parameters
Unauthorized – JWT token missing or invalid
Forbidden – insufficient permissions
Not Found – resource does not exist
Internal Server Error – unexpected server error
PUT /organizations/users/{userId}/role HTTP/1.1
Host: api.transactionlink.io
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 49
{
"roleId": "c3d4e5f6-a7b8-9012-cdef-123456789012"
}{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"email": "user@example.com",
"idpId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"roleId": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"profile": {
"id": "d4e5f6a7-b8c9-0123-def0-123456789012",
"firstName": "Jan",
"lastName": "Kowalski",
"title": "Developer",
"organizationId": "e5f6a7b8-c9d0-1234-ef01-234567890123",
"roleId": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"status": "ACTIVE",
"createdDateTime": "2025-01-01T10:00:00Z",
"lastSignedInAt": "2025-06-01T08:00:00Z"
},
"createdDateTime": "2025-01-01T10:00:00Z"
}Deactivates a user in the organization (sets status to TERMINATED). Requires can_manage_users permission.
Organization API token (tot_) — preferred authentication method. Pass the token directly without Bearer prefix.
Identifier of the user to terminate
Organization token (tot_). Pass the token directly without Bearer prefix.
tot_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx200
Bad Request – invalid request parameters
Unauthorized – JWT token missing or invalid
Forbidden – insufficient permissions
Not Found – resource does not exist
Internal Server Error – unexpected server error
POST /organizations/users/{userId}/terminate HTTP/1.1
Host: api.transactionlink.io
Authorization: text
Accept: */*
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"email": "user@example.com",
"idpId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"roleId": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"profile": {
"id": "d4e5f6a7-b8c9-0123-def0-123456789012",
"firstName": "Jan",
"lastName": "Kowalski",
"title": "Developer",
"organizationId": "e5f6a7b8-c9d0-1234-ef01-234567890123",
"roleId": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"status": "TERMINATED",
"createdDateTime": "2025-01-01T10:00:00Z",
"lastSignedInAt": "2025-06-01T08:00:00Z"
},
"createdDateTime": "2025-01-01T10:00:00Z"
}Reinstates a previously terminated user in the organization. Requires can_manage_users permission.
Organization API token (tot_) — preferred authentication method. Pass the token directly without Bearer prefix.
Identifier of the user to reinstate
Organization token (tot_). Pass the token directly without Bearer prefix.
tot_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxIdentifier of the role to assign upon reinstatement
200
Bad Request – invalid request parameters
Unauthorized – JWT token missing or invalid
Forbidden – insufficient permissions
Not Found – resource does not exist
Internal Server Error – unexpected server error
POST /organizations/users/{userId}/reinstate HTTP/1.1
Host: api.transactionlink.io
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 49
{
"roleId": "c3d4e5f6-a7b8-9012-cdef-123456789012"
}{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"email": "user@example.com",
"idpId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"roleId": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"profile": {
"id": "d4e5f6a7-b8c9-0123-def0-123456789012",
"firstName": "Jan",
"lastName": "Kowalski",
"title": "Developer",
"organizationId": "e5f6a7b8-c9d0-1234-ef01-234567890123",
"roleId": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"status": "ACTIVE",
"createdDateTime": "2025-01-01T10:00:00Z",
"lastSignedInAt": null
},
"createdDateTime": "2025-01-01T10:00:00Z"
}Resets multi-factor authentication for the specified user. Requires can_reset_2fa permission on the organization.
Organization API token (tot_) — preferred authentication method. Pass the token directly without Bearer prefix.
Identifier of the user whose MFA should be reset
Organization token (tot_). Pass the token directly without Bearer prefix.
tot_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxAccepted – MFA reset request accepted
No content
Bad Request – invalid request parameters
Unauthorized – JWT token missing or invalid
Forbidden – insufficient permissions
Not Found – resource does not exist
Internal Server Error – unexpected server error
POST /organizations/users/{userId}/reset-mfa HTTP/1.1
Host: api.transactionlink.io
Authorization: text
Accept: */*
No content
Last updated