ViewCredential is a JSON Structure definition published by Otter, describing 5 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-structure/public-api-view-credential-structure.json",
"name": "ViewCredential",
"description": "ViewCredential schema from Public API (Otter Public API).",
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "The key of the credential.",
"example": "userEmail"
},
"label": {
"type": "string",
"description": "The friendly name of the credential.",
"example": "User Email"
},
"value": {
"type": "string",
"description": "The value of the credential. Only returned if the Store ID was provided in the request.",
"example": "test-user@gmail.com"
},
"inputType": {
"type": "string",
"description": "The type of input",
"enum": [
"TEXT",
"SELECT",
"MULTI_SELECT"
],
"default": "TEXT",
"example": "TEXT"
},
"selectOptions": {
"type": "array",
"description": "options to select when type is `SELECT` or `MULTI_SELECT`",
"items": {
"type": "string"
}
}
},
"required": [
"key",
"label"
]
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.