Skip to content
CARP Docs
Ask AISystemLightDark

Info

Copy MarkdownOpen inView as MarkdownOpen in Scira AIOpen in ChatGPTOpen in ClaudeOpen in Cursor
GET
/api/accounts/{account-id}
bearer openid, profile, email, carp
headerAuthorizationBearer <token>

Provide the username and password of the user

Scope: openid, profile, email, carp

account-id*string

Response body

OK

*/*
  1. response
id?string|null
username?string|null
firstName?string|null
lastName?string|null
email?string|null
role?|
Value in"UNKNOWN""PARTICIPANT""RESEARCH_ASSISTANT""RESEARCHER""CARP_ADMIN""SYSTEM_ADMIN"
carpClaims?array<|||||||>|null
identity?AccountIdentity
fullName?string|null
Example request
curl -X GET 'https://dev.carp.dk/api/accounts/string'
Example response
{  "id": "string",  "username": "string",  "firstName": "string",  "lastName": "string",  "email": "string",  "role": "UNKNOWN",  "carpClaims": [    {      "collectionId": 0,      "value": "string"    }  ],  "identity": null,  "fullName": "string"}

Quick links

Page · DocumentationCARP DocumentationPage · DocumentationIntroductionPage · DocumentationQuickstartPage · DocumentationTerminologyPage · DocumentationArchitecture