query · Module: Data Network · Requires data:read
Arguments
Returns
Participant!
Errors
Errors are returned inerrors[], with the REST error object in extensions (type, code, param, request_id), using the codes in Conventions §9.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
query Participant($id: ID!) {
participant(id: $id) {
id
object
status
livemode
created
updated
did
account
kinds
verification_methods {
id
type
}
credentials {
type
issuer
valid_until
vc
}
}
}
{
"id": "ptc_1a2B3c"
}
{
"data": {
"participant": {
"id": "ptc_1a2B3c",
"object": "participant",
"status": "active",
"livemode": true,
"created": 1791302400,
"updated": 1791302400,
"did": "did:web:swiftair.example",
"account": "acct_ada",
"kinds": [
"example"
],
"verification_methods": [
{
"id": "obj_1a2B3c",
"type": "example"
}
],
"credentials": [
{
"type": "example",
"issuer": "https://ada.okta.com/oauth2/default",
"valid_until": "example",
"vc": "example"
}
]
}
}
}
Retrieve a Participant
query Participant($id: ID!) {
participant(id: $id) {
id
object
status
livemode
created
updated
did
account
kinds
verification_methods {
id
type
}
credentials {
type
issuer
valid_until
vc
}
}
}
{
"id": "ptc_1a2B3c"
}
{
"data": {
"participant": {
"id": "ptc_1a2B3c",
"object": "participant",
"status": "active",
"livemode": true,
"created": 1791302400,
"updated": 1791302400,
"did": "did:web:swiftair.example",
"account": "acct_ada",
"kinds": [
"example"
],
"verification_methods": [
{
"id": "obj_1a2B3c",
"type": "example"
}
],
"credentials": [
{
"type": "example",
"issuer": "https://ada.okta.com/oauth2/default",
"valid_until": "example",
"vc": "example"
}
]
}
}
}
query · Module: Data Network · Requires data:read
| Argument | Type | Description |
|---|---|---|
id | ID! | The object’s ID. |
Participant!
| Field | Type |
|---|---|
id | String! |
object | ParticipantObject! |
livemode | Boolean! |
created | Int! |
updated | Int |
did | String! |
account | String |
kinds | [String!]! |
verification_methods | [ParticipantVerificationMethodsItem!] |
credentials | [ParticipantCredentialsItem!] |
status | ParticipantStatus! |
user_metadata | UserMetadata |
carrier_metadata | CarrierMetadata |
system_metadata | SystemMetadata |
errors[], with the REST error object in extensions (type, code, param, request_id), using the codes in Conventions §9.
query Participant($id: ID!) {
participant(id: $id) {
id
object
status
livemode
created
updated
did
account
kinds
verification_methods {
id
type
}
credentials {
type
issuer
valid_until
vc
}
}
}
{
"id": "ptc_1a2B3c"
}
{
"data": {
"participant": {
"id": "ptc_1a2B3c",
"object": "participant",
"status": "active",
"livemode": true,
"created": 1791302400,
"updated": 1791302400,
"did": "did:web:swiftair.example",
"account": "acct_ada",
"kinds": [
"example"
],
"verification_methods": [
{
"id": "obj_1a2B3c",
"type": "example"
}
],
"credentials": [
{
"type": "example",
"issuer": "https://ada.okta.com/oauth2/default",
"valid_until": "example",
"vc": "example"
}
]
}
}
}