GET
/
unstable
/
credentials
/
types
/
{typeId}
curl --request GET \
  --url https://staging.crossmint.com/api/unstable/credentials/types/{typeId} \
  --header 'X-API-KEY: <api-key>'
{
  "_id": "64f0c05641a512c86786fd3b",
  "credentialSubjectSchema": [
    {
      "name": "age",
      "type": "uint8"
    },
    {
      "name": "name",
      "type": "string"
    }
  ]
}

This is an alpha API and subject to change.

Authorizations

X-API-KEY
string
headerrequired

Obtained in the Crossmint developer console

Path Parameters

typeId
string
required

The ID/name of the type

Response

200 - application/json
_id
string
credentialSubjectSchema
object[]