light-mode-image
Learn
MATTR VII PlatformInboxes

Register DID with an inbox

Register the provided DID to the requested inbox.

ℹ️ Note: DID registration with inboxes is currently limited to did:key'

Analytics Events

MESSAGING_INBOX_DID_REGISTER_STARTMESSAGING_INBOX_DID_REGISTER_SUCCESSMESSAGING_INBOX_DID_REGISTER_FAIL

Roles

adminissuer
POST/v1/messaging/inboxes/{id}/dids
AuthorizationBearer <token>

In: header

Path Parameters

idstring

Requested inbox ID

DID registration information

didstring

URI of the DID to register with this inbox.

jwt?string

Response Body

curl -X POST "https://example.vii.au01.mattr.global/v1/messaging/inboxes/string/dids" \  -H "Content-Type: application/json" \  -d '{    "did": "string"  }'
{
  "did": "string"
}

{
  "code": "BadRequest",
  "message": "Validation Error",
  "details": [
    {
      "value": "notUUIDvalue",
      "msg": "Invalid value",
      "param": "inboxId",
      "location": "params"
    }
  ]
}

{
  "code": "string",
  "message": "string",
  "details": [
    {
      "value": "string",
      "msg": "Invalid value",
      "param": "id",
      "location": "body"
    }
  ]
}

How would you rate this page?