Sign a JSON credential
Roles
Analytics Events
/v2/credentials/web-semantic/signReturns a signed JSON credential generated from a provided valid payload.
Analytic events
- CREDENTIAL_WEB_SEMANTIC_SIGN_START
- CREDENTIAL_WEB_SEMANTIC_SIGN_SUCCESS
- CREDENTIAL_WEB_SEMANTIC_SIGN_FAIL
Authorization
bearerAuth In: header
Request Body
application/json
JSON credential payload to sign
TypeScript Definitions
Use the request body type in TypeScript.
Sign JSON credential request
Response Body
application/json
application/json
curl -X POST "https://example.com/v2/credentials/web-semantic/sign" \ -H "Content-Type: application/json" \ -d '{ "payload": { "type": [ "string" ], "credentialSubject": {}, "issuer": { "id": "string", "name": "string" } } }'{ "id": "string", "credential": { "@context": [ "string" ], "type": [ "string" ], "issuer": "string", "issuanceDate": "2019-08-24T14:15:22Z", "credentialStatus": { "id": "string", "type": "string", "revocationListIndex": 0, "revocationListCredential": "string" }, "credentialSubject": { "givenName": "string", "familyName": "string", "alumniOf": "string" }, "proof": { "type": "string", "created": "2019-08-24T14:15:22Z", "jws": "string", "proofPurpose": "string", "verificationMethod": "string" }, "name": "string", "description": "string" }, "tag": "string", "credentialStatus": { "id": "string", "type": "string", "revocationListIndex": 0, "revocationListCredential": "string" }, "issuanceDate": "string"}How would you rate this page?
Delete an Apple Pass template DELETE
Deletes an existing Apple Pass template by providing its ID. ### **Analytic events** * CREDENTIAL_COMPACT_SEMANTIC_APPLE_PASS_TEMPLATE_DELETE_START * CREDENTIAL_COMPACT_SEMANTIC_APPLE_PASS_TEMPLATE_DELETE_SUCCESS * CREDENTIAL_COMPACT_SEMANTIC_APPLE_PASS_TEMPLATE_DELETE_FAIL
Create a Status list configuration POST
Creates a Status list configuration, which defines a status list validity periods. mDocs can then be assigned to a specific Status list configuration. ### **Analytic events** * MOBILE_CREDENTIAL_STATUS_LIST_CONFIGURATION_CREATE_START * MOBILE_CREDENTIAL_STATUS_LIST_CONFIGURATION_CREATE_SUCCESS * MOBILE_CREDENTIAL_STATUS_LIST_CONFIGURATION_CREATE_FAIL