Skip to main content
GET
/
v1
/
request
/
{requestId}
Get Detail
curl --request GET \
  --url https://api.example.com/v1/request/{requestId}
{
  "id": "507f1f77bcf86cd799439011",
  "securityLevel": "CONTACT",
  "subjects": [
    {
      "contact": "user@example.com",
      "did": "did:via:humanos:user-abc123",
      "internalId": "internal-12345",
      "name": "John Doe"
    }
  ],
  "createdAt": "2025-01-15T10:30:00Z",
  "credentials": [
    {
      "id": "507f1f77bcf86cd799439011",
      "resourceType": "DOCUMENT",
      "status": "PENDING",
      "proofs": [
        "<array>"
      ],
      "data": [
        {
          "label": "Consent statement",
          "type": "string",
          "value": "I consent to the terms and conditions",
          "hidden": false,
          "fields": [
            {}
          ]
        }
      ],
      "name": "Identity Document",
      "internalId": "internal-12345"
    }
  ],
  "issuer": {
    "did": "did:via:humanos:issuer-abc123",
    "name": "Acme Corporation"
  },
  "name": "Employee Onboarding Request",
  "agent": {
    "did": "did:via:humanos:agent-abc123",
    "name": "Travel Assistant Agent"
  }
}

Path Parameters

requestId
string
required

Unique identifier of the credential request. Must be a valid MongoDB ObjectId.

Example:

"507f1f77bcf86cd799439011"

Response

Returns complete information including W3C Verifiable Credentials, subjects, agent (if applicable), and issuer details.

id
string
required

Unique identifier for the request

Example:

"507f1f77bcf86cd799439011"

securityLevel
enum<string>
required

Identity level required for all subjects in this request

Available options:
CONTACT,
ORGANIZATION_KYC,
HUMANOS_KYC,
HUMANOS_REVALIDATION
Example:

"CONTACT"

subjects
RequestSubjectEntity · object[]
required

List of subjects (users) associated with this request (minified: name, did, contact)

createdAt
string<date-time>
required

Date and time of the request creation

Example:

"2025-01-15T10:30:00Z"

credentials
CredentialFullEntity · object[]
required

List of credentials included in this request. Each credential contains W3C Verifiable Credential data that can be cryptographically verified.

issuer
IssuerDetailEntity · object
required

Issuer information (your organization) that created this request

name
string | null

Name of the credential request

Example:

"Employee Onboarding Request"

agent
AgentDetailEntity · object

Agent information if this request was created by an agent. Null if created directly by the organization.