Truvera Documentation portal
WebsiteTruvera Workspace
  • Truvera overview
    • Decentralized identity explained
    • Roadmap
    • Subscription plans & billing
  • Solutions
    • Biometric-Bound Credentials
  • Truvera Workspace
    • Create an organization profile (DID)
    • Issue verifiable credentials
      • Filtering, downloading and deleting credentials
    • Verify credentials
    • Create a schema
    • Create a design
    • Team management
      • Inviting a team member
      • Removing a team member
      • Changing team member roles
      • Data retention policies
      • Sub-accounts
    • Revoking credentials
    • Ecosystem Tools
      • Ecosystem set up
      • Ecosystem example
    • Monetizing credentials
      • Setting up monetizable credentials
    • Creating API keys and webhook endpoints
    • Transaction history
    • Custom branded distribution emails
    • Truvera Workspace release notes
      • 2025 Release notes
        • Release notes Q1 2025
      • 2024 Release notes
        • Release Notes February 2024
        • Release Notes March 2024
        • Release Notes April 2024
        • Release Notes May 2024
        • Release Notes June 2024
        • Release Notes July 2024
        • Release Notes August 2024
        • Release Notes September 2024
        • Release Notes October 2024
        • Release notes November 2024
        • Release notes December 2024
  • Truvera API
    • Getting started
    • Webhooks
      • Webhooks API endpoints
    • Sample Postman collections
      • Issue-Store-Verify sample flow
      • Create ecosystems
      • Issue monetizable credentials
      • Create sub-accounts
      • Issue OpenID credentials
    • Truvera Swagger UI
    • DIDs
    • Profiles
    • Credentials
    • Presentations
      • Proof templates
      • Proof requests
      • Other proof endpoints
    • Registries
    • Revocation Status
    • Credential Schemas
    • Jobs
    • Templates
    • Sub-accounts
    • Teams
    • Messaging
    • OpenID
      • OpenID Issuance and Verification Integration Guide
    • iden3comm
    • Ecosystem Tools
      • Trust Registry Integration Guide
      • Creating a Trust Registry
      • Inviting participants
      • Verifiers and Public info
      • Trust Registry Schemas
      • Trust Registry Proof Templates
      • Reports
      • Updating and Deleting Trust Registry
    • Issuing paid credentials (KVAC algorithm integration)
    • Data
    • Verify
    • Keys
    • Schemas
  • System architecture
    • Proposed architecture with Truvera
    • Revocation
    • System scalability
    • Security policies
    • How data is processed and stored
  • Supported standards
    • Interoperability with OpenID
  • Credential wallet
    • Create and manage DIDs in the Truvera Wallet
    • White label wallet
      • Configuration
        • Enabling and Disabling Features
        • Customizing the Styling
        • Configuring for Android Builds
        • Configuring iOS Builds
      • Publishing in App Stores
        • Android Build Testing and Publishing
        • iOS Build Testing and Publishing
    • Wallet SDK
      • Getting started
        • Example Credential
        • Presentation definition
        • Verify credentials
      • Cloud wallet
      • Biometric plugin
      • Ecosystem Tools
    • Download Truvera Wallet
    • Truvera Wallet release notes
      • Release Notes 2025Q1
      • Release Notes 2024Q4
      • Release Notes 2024Q3
        • Release Notes September 2024
        • Release Notes August 2024
        • Release Notes July 2024
      • Release Notes June 2024
      • Release Notes May 2024
      • Release Notes April 2024
  • Open source community
    • Code of Conduct
    • Truvera Credential SDK
    • Blockchain archives
      • DOCK token
        • Migration terms and conditions
  • Support
    • System Status
    • Discord
    • Support services
    • Security policy
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Truvera API

Teams

PreviousSub-accountsNextMessaging

Last updated 5 months ago

Was this helpful?

List all Team Member Invitations

get
Authorizations
Path parameters
idintegerRequired

An ID

Query parameters
offsetinteger ยท int32Optional

How many items to offset by for pagination

Default: 0
limitinteger ยท int32 ยท min: 1 ยท max: 64Optional

How many items to return at one time (max 64)

Default: 64
statusstringOptional

Filter invitations by status (pending, canceled, accepted)

Responses
200
A paged array of invitations
application/json
400
Application error
application/json
get
GET /teams/{id}/invitations HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer JWT
Accept: */*
[
  {
    "id": 1,
    "email": "text",
    "status": "pending"
  }
]

Resend the invitation email

post
Authorizations
Path parameters
idintegerRequired

An ID

invitation_idstringRequired

An ID

Responses
200
The invitation has been resent
application/json
400
Application error
application/json
401
You are not the owner or the administrator of this team
application/json
404
Invitation not found
application/json
post
POST /teams/{id}/invitations/{invitation_id}/resend HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer JWT
Accept: */*
{
  "code": 1
}

Cancel the current invitation

post
Authorizations
Path parameters
idintegerRequired

An ID

invitation_idstringRequired

An ID

Responses
200
The invitation has been canceled.
application/json
400
Application error
application/json
401
You are not the owner or the administrator of this team
application/json
404
Invitation not found
application/json
post
POST /teams/{id}/invitations/{invitation_id}/cancel HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer JWT
Accept: */*
{
  "code": 1
}

List all Team Members

get
Authorizations
Path parameters
idintegerRequired

An ID

Query parameters
offsetinteger ยท int32Optional

How many items to offset by for pagination

Default: 0
limitinteger ยท int32 ยท min: 1 ยท max: 64Optional

How many items to return at one time (max 64)

Default: 64
Responses
200
A paged array of team members
application/json
400
Application error
application/json
get
GET /teams/{id}/members HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer JWT
Accept: */*
[
  {
    "id": 1,
    "name": "text",
    "email": "text",
    "image": "text",
    "role": "member"
  }
]

Deletes a single team member

delete
Authorizations
Path parameters
idintegerRequired

An ID

user_idstringRequired

An ID

Responses
200
Team member deleted
400
Error deleting team member
application/json
401
You are not the owner or the administrator of this team
application/json
404
Team member was not found
application/json
delete
DELETE /teams/{id}/members/{user_id} HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer JWT
Accept: */*

No content

  • POSTAccept invitation to be a team member
  • POSTSend email invitations to a list of emails
  • PATCHUpdate a Team
  • GETList all Team Member Invitations
  • POSTResend the invitation email
  • POSTCancel the current invitation
  • GETList all Team Members
  • DELETEDeletes a single team member
  • PATCHUpdate a team member

Accept invitation to be a team member

post
Authorizations
Body
accept_invitation_tokenstringRequired

The token received in the mail

Responses
200
Invitation has been accepted
application/json
400
Error accepting the invitation
application/json
post
POST /teams/accept-member-invite HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 34

{
  "accept_invitation_token": "text"
}
{
  "id": 1,
  "team_owner_id": 1,
  "name": "text"
}

Send email invitations to a list of emails

post
Authorizations
Path parameters
idintegerRequired

An ID

Body
emailsarrayRequired

The emails list

Responses
200
Invitations have been sent
application/json
400
Error sending the invitations
application/json
401
You are not the owner or the administrator of this team
application/json
402
Transaction limit reached or upgrade required to proceed
application/json
post
POST /teams/{id}/invite HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 13

{
  "emails": []
}
{
  "code": 1
}

Update a Team

patch
Authorizations
Path parameters
idintegerRequired

An ID

Body
namestringRequired

The new team name

retentionPolicyobjectOptional

The team data retention policy

Responses
200
Team has been updated
application/json
400
Error updating team
application/json
401
You are not the owner or the administrator of this team
application/json
patch
PATCH /teams/{id} HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 36

{
  "name": "text",
  "retentionPolicy": {}
}
{
  "id": 1,
  "team_owner_id": 1,
  "name": "text"
}

Update a team member

patch
Authorizations
Path parameters
idstringRequired

An ID

user_idstringRequired

An ID

Body
rolestring ยท enumRequired

The new team member role

Possible values:
Responses
200
Team member updated
application/json
400
Error updating team member
application/json
401
You are not the owner or the administrator of this team
application/json
404
Team member was not found
application/json
patch
PATCH /teams/{id}/members/{user_id} HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 17

{
  "role": "member"
}
{
  "id": 1,
  "name": "text",
  "email": "text",
  "image": "text",
  "role": "member"
}