Badgeclasses
- : Award badges and update your issuers
OAuth2 authorizationCode flow is currently not functional on the Swagger UI.
falseOK
Bad Request
Not Found
Too Many Requests
Internal Server Error
GET /v2/badgeclasses HTTP/1.1
Host: api.badges.parchment.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"errorCode": "text",
"fieldErrors": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"latestTermsVersion": 1,
"nonFieldErrors": [
"text"
],
"result": [
{
"achievementType": "Course",
"alignments": [
{
"displayAsSkill": true,
"targetCode": "text",
"targetDescription": "text",
"targetFramework": "text",
"targetName": "text",
"targetUrl": "text"
}
],
"archivalNote": "text",
"archived": true,
"archivedDate": "2026-01-01T00:00:00.000Z",
"createdAt": "2026-01-01T00:00:00.000Z",
"createdBy": "Hey7J-GRSJeu6FNnHQwNyw",
"criteriaNarrative": "text",
"criteriaUrl": "https://example.com/badge-classes/1/criteria",
"description": "This badge is awarded to students who have demonstrated mastery of Math.",
"entityId": "iOMWsaF1QbmMCofM54JlUg",
"entityType": "BadgeClass",
"expires": {
"amount": 30,
"duration": "days"
},
"extensions": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"id": "68e9d238c5afe622816febb3",
"image": "https://api.badgr.io/public/badges/iOMWsaF1QbmMCofM54JlUg/image",
"imageAltText": "text",
"imagePath": "uploads/badges/badgeclass-lY1LJ6K4RqG7ThGLYvWNng.png",
"issuer": "ZvYydoQhRtOKalNzFPZR2A-Q",
"issuerOpenBadgeId": "https://api.badgr.io/public/issuers/ZvYydoQhRtOKalNzFPZR2A",
"name": "Math Expert",
"ob3Properties": {
"creditHours": 36,
"fieldOfStudy": "Research",
"humanCode": "R1",
"specialization": "Computer Science Research"
},
"openBadgeId": "https://api.badgr.io/public/badges/iOMWsaF1QbmMCofM54JlUg",
"originalJson": "{}",
"preferences": {
"customPropertyValues": [
{
"arrayValue": [
"text"
],
"doubleValue": 1,
"propertyId": "67b32887e2a7a7d5f7adabf1",
"public": true,
"stringValue": "text"
}
],
"defaultPrintCertTemplateId": "61e9d238c5afe622816febb3",
"enabledPrintCertTemplateIds": [
"61e9d238c5afe622816febb3"
],
"includeOnPublicPages": true
},
"source": "local",
"sourceUrl": "https://example.com/badge-classes/1",
"tags": [
"text"
]
}
],
"status": {
"description": "ok",
"success": true
},
"timestamp": "2026-01-01T00:00:00.000Z",
"validationErrors": [
"text"
],
"warnings": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
}
}- : Award badges and update your issuers
OAuth2 authorizationCode flow is currently not functional on the Swagger UI.
The type of achievement
CourseMarkdown formatted description of the criteria
External URL that describes in a human-readable format the criteria for the BadgeClass
https://example.com/badge-classes/1/criteriaShort description of the BadgeClass
This badge is awarded to students who have demonstrated mastery of Math.Image of the badge class as a base64-encoded data URI. External URLs are not allowed.
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+P+/HgAFhQJ/6+gQDQAAAABJRU5ErkJggg==Entity ID of the issuer
ZvYydoQhRtOKalNzFPZR2A-QName of the BadgeClass
Math ExpertList of tags that describe the BadgeClass
BadgeClass created
Bad Request
Not Found
Too Many Requests
Internal Server Error
POST /v2/badgeclasses HTTP/1.1
Host: api.badges.parchment.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 1087
{
"achievementType": "Course",
"alignments": [
{
"displayAsSkill": true,
"targetCode": "text",
"targetDescription": "text",
"targetFramework": "text",
"targetName": "text",
"targetUrl": "text"
}
],
"criteriaNarrative": "text",
"criteriaUrl": "https://example.com/badge-classes/1/criteria",
"description": "This badge is awarded to students who have demonstrated mastery of Math.",
"expires": {
"amount": 30,
"duration": "days"
},
"extensions": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+P+/HgAFhQJ/6+gQDQAAAABJRU5ErkJggg==",
"imageAltText": "text",
"issuer": "ZvYydoQhRtOKalNzFPZR2A-Q",
"name": "Math Expert",
"ob3Properties": {
"creditHours": 36,
"fieldOfStudy": "Research",
"humanCode": "R1",
"specialization": "Computer Science Research"
},
"preferences": {
"customPropertyValues": [
{
"arrayValue": [
"text"
],
"doubleValue": 1,
"propertyId": "67b32887e2a7a7d5f7adabf1",
"public": true,
"stringValue": "text"
}
],
"defaultPrintCertTemplateId": "61e9d238c5afe622816febb3",
"enabledPrintCertTemplateIds": [
"61e9d238c5afe622816febb3"
],
"includeOnPublicPages": true
},
"tags": [
"text"
]
}{
"errorCode": "text",
"fieldErrors": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"latestTermsVersion": 1,
"nonFieldErrors": [
"text"
],
"result": [
{
"achievementType": "Course",
"alignments": [
{
"displayAsSkill": true,
"targetCode": "text",
"targetDescription": "text",
"targetFramework": "text",
"targetName": "text",
"targetUrl": "text"
}
],
"archivalNote": "text",
"archived": true,
"archivedDate": "2026-01-01T00:00:00.000Z",
"createdAt": "2026-01-01T00:00:00.000Z",
"createdBy": "Hey7J-GRSJeu6FNnHQwNyw",
"criteriaNarrative": "text",
"criteriaUrl": "https://example.com/badge-classes/1/criteria",
"description": "This badge is awarded to students who have demonstrated mastery of Math.",
"entityId": "iOMWsaF1QbmMCofM54JlUg",
"entityType": "BadgeClass",
"expires": {
"amount": 30,
"duration": "days"
},
"extensions": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"id": "68e9d238c5afe622816febb3",
"image": "https://api.badgr.io/public/badges/iOMWsaF1QbmMCofM54JlUg/image",
"imageAltText": "text",
"imagePath": "uploads/badges/badgeclass-lY1LJ6K4RqG7ThGLYvWNng.png",
"issuer": "ZvYydoQhRtOKalNzFPZR2A-Q",
"issuerOpenBadgeId": "https://api.badgr.io/public/issuers/ZvYydoQhRtOKalNzFPZR2A",
"name": "Math Expert",
"ob3Properties": {
"creditHours": 36,
"fieldOfStudy": "Research",
"humanCode": "R1",
"specialization": "Computer Science Research"
},
"openBadgeId": "https://api.badgr.io/public/badges/iOMWsaF1QbmMCofM54JlUg",
"originalJson": "{}",
"preferences": {
"customPropertyValues": [
{
"arrayValue": [
"text"
],
"doubleValue": 1,
"propertyId": "67b32887e2a7a7d5f7adabf1",
"public": true,
"stringValue": "text"
}
],
"defaultPrintCertTemplateId": "61e9d238c5afe622816febb3",
"enabledPrintCertTemplateIds": [
"61e9d238c5afe622816febb3"
],
"includeOnPublicPages": true
},
"source": "local",
"sourceUrl": "https://example.com/badge-classes/1",
"tags": [
"text"
]
}
],
"status": {
"description": "ok",
"success": true
},
"timestamp": "2026-01-01T00:00:00.000Z",
"validationErrors": [
"text"
],
"warnings": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
}
}Reactivate an archived BadgeClass by its base64 encoded OpenBadge ID
- : Award badges and update your issuers
OAuth2 authorizationCode flow is currently not functional on the Swagger UI.
OK
Bad Request
Not Found
Too Many Requests
Internal Server Error
POST /v2/badgeclasses/reactivate/ref/{ref} HTTP/1.1
Host: api.badges.parchment.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"errorCode": "text",
"fieldErrors": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"latestTermsVersion": 1,
"nonFieldErrors": [
"text"
],
"result": [
{
"achievementType": "Course",
"alignments": [
{
"displayAsSkill": true,
"targetCode": "text",
"targetDescription": "text",
"targetFramework": "text",
"targetName": "text",
"targetUrl": "text"
}
],
"archivalNote": "text",
"archived": true,
"archivedDate": "2026-01-01T00:00:00.000Z",
"createdAt": "2026-01-01T00:00:00.000Z",
"createdBy": "Hey7J-GRSJeu6FNnHQwNyw",
"criteriaNarrative": "text",
"criteriaUrl": "https://example.com/badge-classes/1/criteria",
"description": "This badge is awarded to students who have demonstrated mastery of Math.",
"entityId": "iOMWsaF1QbmMCofM54JlUg",
"entityType": "BadgeClass",
"expires": {
"amount": 30,
"duration": "days"
},
"extensions": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"id": "68e9d238c5afe622816febb3",
"image": "https://api.badgr.io/public/badges/iOMWsaF1QbmMCofM54JlUg/image",
"imageAltText": "text",
"imagePath": "uploads/badges/badgeclass-lY1LJ6K4RqG7ThGLYvWNng.png",
"issuer": "ZvYydoQhRtOKalNzFPZR2A-Q",
"issuerOpenBadgeId": "https://api.badgr.io/public/issuers/ZvYydoQhRtOKalNzFPZR2A",
"name": "Math Expert",
"ob3Properties": {
"creditHours": 36,
"fieldOfStudy": "Research",
"humanCode": "R1",
"specialization": "Computer Science Research"
},
"openBadgeId": "https://api.badgr.io/public/badges/iOMWsaF1QbmMCofM54JlUg",
"originalJson": "{}",
"preferences": {
"customPropertyValues": [
{
"arrayValue": [
"text"
],
"doubleValue": 1,
"propertyId": "67b32887e2a7a7d5f7adabf1",
"public": true,
"stringValue": "text"
}
],
"defaultPrintCertTemplateId": "61e9d238c5afe622816febb3",
"enabledPrintCertTemplateIds": [
"61e9d238c5afe622816febb3"
],
"includeOnPublicPages": true
},
"source": "local",
"sourceUrl": "https://example.com/badge-classes/1",
"tags": [
"text"
]
}
],
"status": {
"description": "ok",
"success": true
},
"timestamp": "2026-01-01T00:00:00.000Z",
"validationErrors": [
"text"
],
"warnings": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
}
}Reactivate a BadgeClass that was archived
- : Award badges and update your issuers
OAuth2 authorizationCode flow is currently not functional on the Swagger UI.
OK
Bad Request
Not Found
Too Many Requests
Internal Server Error
POST /v2/badgeclasses/reactivate/{idOrEntityId} HTTP/1.1
Host: api.badges.parchment.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"errorCode": "text",
"fieldErrors": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"latestTermsVersion": 1,
"nonFieldErrors": [
"text"
],
"result": [
{
"achievementType": "Course",
"alignments": [
{
"displayAsSkill": true,
"targetCode": "text",
"targetDescription": "text",
"targetFramework": "text",
"targetName": "text",
"targetUrl": "text"
}
],
"archivalNote": "text",
"archived": true,
"archivedDate": "2026-01-01T00:00:00.000Z",
"createdAt": "2026-01-01T00:00:00.000Z",
"createdBy": "Hey7J-GRSJeu6FNnHQwNyw",
"criteriaNarrative": "text",
"criteriaUrl": "https://example.com/badge-classes/1/criteria",
"description": "This badge is awarded to students who have demonstrated mastery of Math.",
"entityId": "iOMWsaF1QbmMCofM54JlUg",
"entityType": "BadgeClass",
"expires": {
"amount": 30,
"duration": "days"
},
"extensions": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"id": "68e9d238c5afe622816febb3",
"image": "https://api.badgr.io/public/badges/iOMWsaF1QbmMCofM54JlUg/image",
"imageAltText": "text",
"imagePath": "uploads/badges/badgeclass-lY1LJ6K4RqG7ThGLYvWNng.png",
"issuer": "ZvYydoQhRtOKalNzFPZR2A-Q",
"issuerOpenBadgeId": "https://api.badgr.io/public/issuers/ZvYydoQhRtOKalNzFPZR2A",
"name": "Math Expert",
"ob3Properties": {
"creditHours": 36,
"fieldOfStudy": "Research",
"humanCode": "R1",
"specialization": "Computer Science Research"
},
"openBadgeId": "https://api.badgr.io/public/badges/iOMWsaF1QbmMCofM54JlUg",
"originalJson": "{}",
"preferences": {
"customPropertyValues": [
{
"arrayValue": [
"text"
],
"doubleValue": 1,
"propertyId": "67b32887e2a7a7d5f7adabf1",
"public": true,
"stringValue": "text"
}
],
"defaultPrintCertTemplateId": "61e9d238c5afe622816febb3",
"enabledPrintCertTemplateIds": [
"61e9d238c5afe622816febb3"
],
"includeOnPublicPages": true
},
"source": "local",
"sourceUrl": "https://example.com/badge-classes/1",
"tags": [
"text"
]
}
],
"status": {
"description": "ok",
"success": true
},
"timestamp": "2026-01-01T00:00:00.000Z",
"validationErrors": [
"text"
],
"warnings": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
}
}Restricted to owners or editors (not staff) of the corresponding Issuer.
- : Award badges and update your issuers
OAuth2 authorizationCode flow is currently not functional on the Swagger UI.
BadgeClass deleted
Bad Request
Not Found
Too Many Requests
Internal Server Error
DELETE /v2/badgeclasses/ref/{ref} HTTP/1.1
Host: api.badges.parchment.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"errorCode": "text",
"fieldErrors": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"latestTermsVersion": 1,
"nonFieldErrors": [
"text"
],
"status": {
"description": "ok",
"success": true
},
"timestamp": "2026-01-01T00:00:00.000Z",
"validationErrors": [
"text"
],
"warnings": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
}
}- : Award badges and update your issuers
OAuth2 authorizationCode flow is currently not functional on the Swagger UI.
falseOK
Bad Request
Not Found
Too Many Requests
Internal Server Error
GET /v2/badgeclasses/ref/{ref} HTTP/1.1
Host: api.badges.parchment.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"errorCode": "text",
"fieldErrors": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"latestTermsVersion": 1,
"nonFieldErrors": [
"text"
],
"result": [
{
"achievementType": "Course",
"alignments": [
{
"displayAsSkill": true,
"targetCode": "text",
"targetDescription": "text",
"targetFramework": "text",
"targetName": "text",
"targetUrl": "text"
}
],
"archivalNote": "text",
"archived": true,
"archivedDate": "2026-01-01T00:00:00.000Z",
"createdAt": "2026-01-01T00:00:00.000Z",
"createdBy": "Hey7J-GRSJeu6FNnHQwNyw",
"criteriaNarrative": "text",
"criteriaUrl": "https://example.com/badge-classes/1/criteria",
"description": "This badge is awarded to students who have demonstrated mastery of Math.",
"entityId": "iOMWsaF1QbmMCofM54JlUg",
"entityType": "BadgeClass",
"expires": {
"amount": 30,
"duration": "days"
},
"extensions": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"id": "68e9d238c5afe622816febb3",
"image": "https://api.badgr.io/public/badges/iOMWsaF1QbmMCofM54JlUg/image",
"imageAltText": "text",
"imagePath": "uploads/badges/badgeclass-lY1LJ6K4RqG7ThGLYvWNng.png",
"issuer": "ZvYydoQhRtOKalNzFPZR2A-Q",
"issuerOpenBadgeId": "https://api.badgr.io/public/issuers/ZvYydoQhRtOKalNzFPZR2A",
"name": "Math Expert",
"ob3Properties": {
"creditHours": 36,
"fieldOfStudy": "Research",
"humanCode": "R1",
"specialization": "Computer Science Research"
},
"openBadgeId": "https://api.badgr.io/public/badges/iOMWsaF1QbmMCofM54JlUg",
"originalJson": "{}",
"preferences": {
"customPropertyValues": [
{
"arrayValue": [
"text"
],
"doubleValue": 1,
"propertyId": "67b32887e2a7a7d5f7adabf1",
"public": true,
"stringValue": "text"
}
],
"defaultPrintCertTemplateId": "61e9d238c5afe622816febb3",
"enabledPrintCertTemplateIds": [
"61e9d238c5afe622816febb3"
],
"includeOnPublicPages": true
},
"source": "local",
"sourceUrl": "https://example.com/badge-classes/1",
"tags": [
"text"
]
}
],
"status": {
"description": "ok",
"success": true
},
"timestamp": "2026-01-01T00:00:00.000Z",
"validationErrors": [
"text"
],
"warnings": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
}
}Previously awarded Assertions will be updated with image rebaking
- : Award badges and update your issuers
OAuth2 authorizationCode flow is currently not functional on the Swagger UI.
The type of achievement
CourseMarkdown formatted description of the criteria
External URL that describes in a human-readable format the criteria for the BadgeClass
https://example.com/badge-classes/1/criteriaShort description of the BadgeClass
This badge is awarded to students who have demonstrated mastery of Math.Image of the badge class as a base64-encoded data URI. External URLs are not allowed.
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+P+/HgAFhQJ/6+gQDQAAAABJRU5ErkJggg==Name of the BadgeClass
Math ExpertList of tags that describe the BadgeClass
OK
Bad Request
Not Found
Too Many Requests
Internal Server Error
PUT /v2/badgeclasses/ref/{ref} HTTP/1.1
Host: api.badges.parchment.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 1051
{
"achievementType": "Course",
"alignments": [
{
"displayAsSkill": true,
"targetCode": "text",
"targetDescription": "text",
"targetFramework": "text",
"targetName": "text",
"targetUrl": "text"
}
],
"criteriaNarrative": "text",
"criteriaUrl": "https://example.com/badge-classes/1/criteria",
"description": "This badge is awarded to students who have demonstrated mastery of Math.",
"expires": {
"amount": 30,
"duration": "days"
},
"extensions": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+P+/HgAFhQJ/6+gQDQAAAABJRU5ErkJggg==",
"imageAltText": "text",
"name": "Math Expert",
"ob3Properties": {
"creditHours": 36,
"fieldOfStudy": "Research",
"humanCode": "R1",
"specialization": "Computer Science Research"
},
"preferences": {
"customPropertyValues": [
{
"arrayValue": [
"text"
],
"doubleValue": 1,
"propertyId": "67b32887e2a7a7d5f7adabf1",
"public": true,
"stringValue": "text"
}
],
"defaultPrintCertTemplateId": "61e9d238c5afe622816febb3",
"enabledPrintCertTemplateIds": [
"61e9d238c5afe622816febb3"
],
"includeOnPublicPages": true
},
"tags": [
"text"
]
}{
"errorCode": "text",
"fieldErrors": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"latestTermsVersion": 1,
"nonFieldErrors": [
"text"
],
"result": [
{
"achievementType": "Course",
"alignments": [
{
"displayAsSkill": true,
"targetCode": "text",
"targetDescription": "text",
"targetFramework": "text",
"targetName": "text",
"targetUrl": "text"
}
],
"archivalNote": "text",
"archived": true,
"archivedDate": "2026-01-01T00:00:00.000Z",
"createdAt": "2026-01-01T00:00:00.000Z",
"createdBy": "Hey7J-GRSJeu6FNnHQwNyw",
"criteriaNarrative": "text",
"criteriaUrl": "https://example.com/badge-classes/1/criteria",
"description": "This badge is awarded to students who have demonstrated mastery of Math.",
"entityId": "iOMWsaF1QbmMCofM54JlUg",
"entityType": "BadgeClass",
"expires": {
"amount": 30,
"duration": "days"
},
"extensions": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"id": "68e9d238c5afe622816febb3",
"image": "https://api.badgr.io/public/badges/iOMWsaF1QbmMCofM54JlUg/image",
"imageAltText": "text",
"imagePath": "uploads/badges/badgeclass-lY1LJ6K4RqG7ThGLYvWNng.png",
"issuer": "ZvYydoQhRtOKalNzFPZR2A-Q",
"issuerOpenBadgeId": "https://api.badgr.io/public/issuers/ZvYydoQhRtOKalNzFPZR2A",
"name": "Math Expert",
"ob3Properties": {
"creditHours": 36,
"fieldOfStudy": "Research",
"humanCode": "R1",
"specialization": "Computer Science Research"
},
"openBadgeId": "https://api.badgr.io/public/badges/iOMWsaF1QbmMCofM54JlUg",
"originalJson": "{}",
"preferences": {
"customPropertyValues": [
{
"arrayValue": [
"text"
],
"doubleValue": 1,
"propertyId": "67b32887e2a7a7d5f7adabf1",
"public": true,
"stringValue": "text"
}
],
"defaultPrintCertTemplateId": "61e9d238c5afe622816febb3",
"enabledPrintCertTemplateIds": [
"61e9d238c5afe622816febb3"
],
"includeOnPublicPages": true
},
"source": "local",
"sourceUrl": "https://example.com/badge-classes/1",
"tags": [
"text"
]
}
],
"status": {
"description": "ok",
"success": true
},
"timestamp": "2026-01-01T00:00:00.000Z",
"validationErrors": [
"text"
],
"warnings": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
}
}Restricted to owners or editors (not staff) of the corresponding Issuer.
- : Award badges and update your issuers
OAuth2 authorizationCode flow is currently not functional on the Swagger UI.
BadgeClass deleted
Bad Request
Not Found
Too Many Requests
Internal Server Error
DELETE /v2/badgeclasses/{idOrEntityId} HTTP/1.1
Host: api.badges.parchment.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"errorCode": "text",
"fieldErrors": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"latestTermsVersion": 1,
"nonFieldErrors": [
"text"
],
"status": {
"description": "ok",
"success": true
},
"timestamp": "2026-01-01T00:00:00.000Z",
"validationErrors": [
"text"
],
"warnings": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
}
}- : Award badges and update your issuers
OAuth2 authorizationCode flow is currently not functional on the Swagger UI.
falseOK
Bad Request
Not Found
Too Many Requests
Internal Server Error
GET /v2/badgeclasses/{idOrEntityId} HTTP/1.1
Host: api.badges.parchment.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"errorCode": "text",
"fieldErrors": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"latestTermsVersion": 1,
"nonFieldErrors": [
"text"
],
"result": [
{
"achievementType": "Course",
"alignments": [
{
"displayAsSkill": true,
"targetCode": "text",
"targetDescription": "text",
"targetFramework": "text",
"targetName": "text",
"targetUrl": "text"
}
],
"archivalNote": "text",
"archived": true,
"archivedDate": "2026-01-01T00:00:00.000Z",
"createdAt": "2026-01-01T00:00:00.000Z",
"createdBy": "Hey7J-GRSJeu6FNnHQwNyw",
"criteriaNarrative": "text",
"criteriaUrl": "https://example.com/badge-classes/1/criteria",
"description": "This badge is awarded to students who have demonstrated mastery of Math.",
"entityId": "iOMWsaF1QbmMCofM54JlUg",
"entityType": "BadgeClass",
"expires": {
"amount": 30,
"duration": "days"
},
"extensions": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"id": "68e9d238c5afe622816febb3",
"image": "https://api.badgr.io/public/badges/iOMWsaF1QbmMCofM54JlUg/image",
"imageAltText": "text",
"imagePath": "uploads/badges/badgeclass-lY1LJ6K4RqG7ThGLYvWNng.png",
"issuer": "ZvYydoQhRtOKalNzFPZR2A-Q",
"issuerOpenBadgeId": "https://api.badgr.io/public/issuers/ZvYydoQhRtOKalNzFPZR2A",
"name": "Math Expert",
"ob3Properties": {
"creditHours": 36,
"fieldOfStudy": "Research",
"humanCode": "R1",
"specialization": "Computer Science Research"
},
"openBadgeId": "https://api.badgr.io/public/badges/iOMWsaF1QbmMCofM54JlUg",
"originalJson": "{}",
"preferences": {
"customPropertyValues": [
{
"arrayValue": [
"text"
],
"doubleValue": 1,
"propertyId": "67b32887e2a7a7d5f7adabf1",
"public": true,
"stringValue": "text"
}
],
"defaultPrintCertTemplateId": "61e9d238c5afe622816febb3",
"enabledPrintCertTemplateIds": [
"61e9d238c5afe622816febb3"
],
"includeOnPublicPages": true
},
"source": "local",
"sourceUrl": "https://example.com/badge-classes/1",
"tags": [
"text"
]
}
],
"status": {
"description": "ok",
"success": true
},
"timestamp": "2026-01-01T00:00:00.000Z",
"validationErrors": [
"text"
],
"warnings": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
}
}Previously awarded Assertions will be updated with image rebaking
- : Award badges and update your issuers
OAuth2 authorizationCode flow is currently not functional on the Swagger UI.
The type of achievement
CourseMarkdown formatted description of the criteria
External URL that describes in a human-readable format the criteria for the BadgeClass
https://example.com/badge-classes/1/criteriaShort description of the BadgeClass
This badge is awarded to students who have demonstrated mastery of Math.Image of the badge class as a base64-encoded data URI. External URLs are not allowed.
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+P+/HgAFhQJ/6+gQDQAAAABJRU5ErkJggg==Name of the BadgeClass
Math ExpertList of tags that describe the BadgeClass
OK
Bad Request
Not Found
Too Many Requests
Internal Server Error
PUT /v2/badgeclasses/{idOrEntityId} HTTP/1.1
Host: api.badges.parchment.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 1051
{
"achievementType": "Course",
"alignments": [
{
"displayAsSkill": true,
"targetCode": "text",
"targetDescription": "text",
"targetFramework": "text",
"targetName": "text",
"targetUrl": "text"
}
],
"criteriaNarrative": "text",
"criteriaUrl": "https://example.com/badge-classes/1/criteria",
"description": "This badge is awarded to students who have demonstrated mastery of Math.",
"expires": {
"amount": 30,
"duration": "days"
},
"extensions": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+P+/HgAFhQJ/6+gQDQAAAABJRU5ErkJggg==",
"imageAltText": "text",
"name": "Math Expert",
"ob3Properties": {
"creditHours": 36,
"fieldOfStudy": "Research",
"humanCode": "R1",
"specialization": "Computer Science Research"
},
"preferences": {
"customPropertyValues": [
{
"arrayValue": [
"text"
],
"doubleValue": 1,
"propertyId": "67b32887e2a7a7d5f7adabf1",
"public": true,
"stringValue": "text"
}
],
"defaultPrintCertTemplateId": "61e9d238c5afe622816febb3",
"enabledPrintCertTemplateIds": [
"61e9d238c5afe622816febb3"
],
"includeOnPublicPages": true
},
"tags": [
"text"
]
}{
"errorCode": "text",
"fieldErrors": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"latestTermsVersion": 1,
"nonFieldErrors": [
"text"
],
"result": [
{
"achievementType": "Course",
"alignments": [
{
"displayAsSkill": true,
"targetCode": "text",
"targetDescription": "text",
"targetFramework": "text",
"targetName": "text",
"targetUrl": "text"
}
],
"archivalNote": "text",
"archived": true,
"archivedDate": "2026-01-01T00:00:00.000Z",
"createdAt": "2026-01-01T00:00:00.000Z",
"createdBy": "Hey7J-GRSJeu6FNnHQwNyw",
"criteriaNarrative": "text",
"criteriaUrl": "https://example.com/badge-classes/1/criteria",
"description": "This badge is awarded to students who have demonstrated mastery of Math.",
"entityId": "iOMWsaF1QbmMCofM54JlUg",
"entityType": "BadgeClass",
"expires": {
"amount": 30,
"duration": "days"
},
"extensions": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"id": "68e9d238c5afe622816febb3",
"image": "https://api.badgr.io/public/badges/iOMWsaF1QbmMCofM54JlUg/image",
"imageAltText": "text",
"imagePath": "uploads/badges/badgeclass-lY1LJ6K4RqG7ThGLYvWNng.png",
"issuer": "ZvYydoQhRtOKalNzFPZR2A-Q",
"issuerOpenBadgeId": "https://api.badgr.io/public/issuers/ZvYydoQhRtOKalNzFPZR2A",
"name": "Math Expert",
"ob3Properties": {
"creditHours": 36,
"fieldOfStudy": "Research",
"humanCode": "R1",
"specialization": "Computer Science Research"
},
"openBadgeId": "https://api.badgr.io/public/badges/iOMWsaF1QbmMCofM54JlUg",
"originalJson": "{}",
"preferences": {
"customPropertyValues": [
{
"arrayValue": [
"text"
],
"doubleValue": 1,
"propertyId": "67b32887e2a7a7d5f7adabf1",
"public": true,
"stringValue": "text"
}
],
"defaultPrintCertTemplateId": "61e9d238c5afe622816febb3",
"enabledPrintCertTemplateIds": [
"61e9d238c5afe622816febb3"
],
"includeOnPublicPages": true
},
"source": "local",
"sourceUrl": "https://example.com/badge-classes/1",
"tags": [
"text"
]
}
],
"status": {
"description": "ok",
"success": true
},
"timestamp": "2026-01-01T00:00:00.000Z",
"validationErrors": [
"text"
],
"warnings": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
}
}- : Award badges and update your issuers
OAuth2 authorizationCode flow is currently not functional on the Swagger UI.
OK
Bad Request
Not Found
Too Many Requests
Internal Server Error
GET /v2/badgeclasses/{idOrEntityId}/claim-codes HTTP/1.1
Host: api.badges.parchment.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"errorCode": "text",
"fieldErrors": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"latestTermsVersion": 1,
"nonFieldErrors": [
"text"
],
"result": [
{
"claimCount": 1,
"claimUrl": "text",
"code": "5678945",
"createdAt": "2026-01-01T00:00:00.000Z",
"enabled": true,
"expirationDate": "2026-01-01T00:00:00.000Z",
"label": "Conference Event",
"limit": 10
}
],
"status": {
"description": "ok",
"success": true
},
"timestamp": "2026-01-01T00:00:00.000Z",
"validationErrors": [
"text"
],
"warnings": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
}
}- : Award badges and update your issuers
OAuth2 authorizationCode flow is currently not functional on the Swagger UI.
The label of the claim code
Conference EventThe number of times the claim code can be used
10Created
Bad Request
Not Found
Too Many Requests
Internal Server Error
POST /v2/badgeclasses/{idOrEntityId}/claim-codes HTTP/1.1
Host: api.badges.parchment.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 83
{
"expirationDate": "2026-01-01T00:00:00.000Z",
"label": "Conference Event",
"limit": 10
}{
"errorCode": "text",
"fieldErrors": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"latestTermsVersion": 1,
"nonFieldErrors": [
"text"
],
"result": [
{
"claimCount": 1,
"claimUrl": "text",
"code": "5678945",
"createdAt": "2026-01-01T00:00:00.000Z",
"enabled": true,
"expirationDate": "2026-01-01T00:00:00.000Z",
"label": "Conference Event",
"limit": 10
}
],
"status": {
"description": "ok",
"success": true
},
"timestamp": "2026-01-01T00:00:00.000Z",
"validationErrors": [
"text"
],
"warnings": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
}
}- : Award badges and update your issuers
OAuth2 authorizationCode flow is currently not functional on the Swagger UI.
No Content
Bad Request
Not Found
Too Many Requests
Internal Server Error
DELETE /v2/badgeclasses/{idOrEntityId}/claim-codes/{claimCode} HTTP/1.1
Host: api.badges.parchment.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"errorCode": "text",
"fieldErrors": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"latestTermsVersion": 1,
"nonFieldErrors": [
"text"
],
"status": {
"description": "ok",
"success": true
},
"timestamp": "2026-01-01T00:00:00.000Z",
"validationErrors": [
"text"
],
"warnings": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
}
}- : Award badges and update your issuers
OAuth2 authorizationCode flow is currently not functional on the Swagger UI.
The label of the claim code
Conference EventThe number of times the claim code can be used
10OK
Bad Request
Not Found
Too Many Requests
Internal Server Error
PUT /v2/badgeclasses/{idOrEntityId}/claim-codes/{claimCode} HTTP/1.1
Host: api.badges.parchment.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 83
{
"expirationDate": "2026-01-01T00:00:00.000Z",
"label": "Conference Event",
"limit": 10
}{
"errorCode": "text",
"fieldErrors": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"latestTermsVersion": 1,
"nonFieldErrors": [
"text"
],
"result": [
{
"claimCount": 1,
"claimUrl": "text",
"code": "5678945",
"createdAt": "2026-01-01T00:00:00.000Z",
"enabled": true,
"expirationDate": "2026-01-01T00:00:00.000Z",
"label": "Conference Event",
"limit": 10
}
],
"status": {
"description": "ok",
"success": true
},
"timestamp": "2026-01-01T00:00:00.000Z",
"validationErrors": [
"text"
],
"warnings": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
}
}- : Award badges and update your issuers
OAuth2 authorizationCode flow is currently not functional on the Swagger UI.
OK
Bad Request
Not Found
Too Many Requests
Internal Server Error
PATCH /v2/badgeclasses/{idOrEntityId}/claim-codes/{claimCode}/disable HTTP/1.1
Host: api.badges.parchment.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"errorCode": "text",
"fieldErrors": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"latestTermsVersion": 1,
"nonFieldErrors": [
"text"
],
"result": [
{
"claimCount": 1,
"claimUrl": "text",
"code": "5678945",
"createdAt": "2026-01-01T00:00:00.000Z",
"enabled": true,
"expirationDate": "2026-01-01T00:00:00.000Z",
"label": "Conference Event",
"limit": 10
}
],
"status": {
"description": "ok",
"success": true
},
"timestamp": "2026-01-01T00:00:00.000Z",
"validationErrors": [
"text"
],
"warnings": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
}
}- : Award badges and update your issuers
OAuth2 authorizationCode flow is currently not functional on the Swagger UI.
OK
Bad Request
Not Found
Too Many Requests
Internal Server Error
PATCH /v2/badgeclasses/{idOrEntityId}/claim-codes/{claimCode}/enable HTTP/1.1
Host: api.badges.parchment.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"errorCode": "text",
"fieldErrors": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"latestTermsVersion": 1,
"nonFieldErrors": [
"text"
],
"result": [
{
"claimCount": 1,
"claimUrl": "text",
"code": "5678945",
"createdAt": "2026-01-01T00:00:00.000Z",
"enabled": true,
"expirationDate": "2026-01-01T00:00:00.000Z",
"label": "Conference Event",
"limit": 10
}
],
"status": {
"description": "ok",
"success": true
},
"timestamp": "2026-01-01T00:00:00.000Z",
"validationErrors": [
"text"
],
"warnings": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
}
}Create a duplicate of the original BadgeClass with a new name
- : Award badges and update your issuers
OAuth2 authorizationCode flow is currently not functional on the Swagger UI.
The new name for the duplicate badgeclass
Badgeclass CopyBadgeClass created
The type of achievement
CourseTimestamp when the BadgeClass was created
Entity ID of the user who created this BadgeClass
Hey7J-GRSJeu6FNnHQwNywMarkdown formatted description of the criteria
External URL that describes in a human-readable format the criteria for the BadgeClass
https://example.com/badge-classes/1/criteriaShort description of the badge class
This badge is awarded to students who have demonstrated mastery of Math.Unique identifier for this BadgeClass
iOMWsaF1QbmMCofM54JlUgBadgeClassInternal ID for this BadgeClass
68e9d238c5afe622816febb3Image of the badge class. Most commonly an URL.
https://api.badgr.io/public/badges/iOMWsaF1QbmMCofM54JlUg/imageInternal image path
uploads/badges/badgeclass-lY1LJ6K4RqG7ThGLYvWNng.pngEntity ID of the issuer
ZvYydoQhRtOKalNzFPZR2A-QOB URL of the issuer
https://api.badgr.io/public/issuers/ZvYydoQhRtOKalNzFPZR2AName of the badge class
Math ExpertURL of the OpenBadge compliant json
https://api.badgr.io/public/badges/iOMWsaF1QbmMCofM54JlUgThe original OB JSON if the badge class was exported
{}The original source of the BadgeClass
localThe original URL of the BadgeClass if it was imported
https://example.com/badge-classes/1List of tags that describe the BadgeClass
Bad Request
Not Found
Too Many Requests
Internal Server Error
POST /v2/badgeclasses/{idOrEntityId}/duplicate HTTP/1.1
Host: api.badges.parchment.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 29
{
"newName": "Badgeclass Copy"
}{
"achievementType": "Course",
"alignments": [
{
"displayAsSkill": true,
"targetCode": "text",
"targetDescription": "text",
"targetFramework": "text",
"targetName": "text",
"targetUrl": "text"
}
],
"archivalNote": "text",
"archived": true,
"archivedDate": "2026-01-01T00:00:00.000Z",
"createdAt": "2026-01-01T00:00:00.000Z",
"createdBy": "Hey7J-GRSJeu6FNnHQwNyw",
"criteriaNarrative": "text",
"criteriaUrl": "https://example.com/badge-classes/1/criteria",
"description": "This badge is awarded to students who have demonstrated mastery of Math.",
"entityId": "iOMWsaF1QbmMCofM54JlUg",
"entityType": "BadgeClass",
"expires": {
"amount": 30,
"duration": "days"
},
"extensions": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"id": "68e9d238c5afe622816febb3",
"image": "https://api.badgr.io/public/badges/iOMWsaF1QbmMCofM54JlUg/image",
"imageAltText": "text",
"imagePath": "uploads/badges/badgeclass-lY1LJ6K4RqG7ThGLYvWNng.png",
"issuer": "ZvYydoQhRtOKalNzFPZR2A-Q",
"issuerOpenBadgeId": "https://api.badgr.io/public/issuers/ZvYydoQhRtOKalNzFPZR2A",
"name": "Math Expert",
"ob3Properties": {
"creditHours": 36,
"fieldOfStudy": "Research",
"humanCode": "R1",
"specialization": "Computer Science Research"
},
"openBadgeId": "https://api.badgr.io/public/badges/iOMWsaF1QbmMCofM54JlUg",
"originalJson": "{}",
"preferences": {
"customPropertyValues": [
{
"arrayValue": [
"text"
],
"doubleValue": 1,
"propertyId": "67b32887e2a7a7d5f7adabf1",
"public": true,
"stringValue": "text"
}
],
"defaultPrintCertTemplateId": "61e9d238c5afe622816febb3",
"enabledPrintCertTemplateIds": [
"61e9d238c5afe622816febb3"
],
"includeOnPublicPages": true
},
"source": "local",
"sourceUrl": "https://example.com/badge-classes/1",
"tags": [
"text"
]
}- : Award badges and update your issuers
OAuth2 authorizationCode flow is currently not functional on the Swagger UI.
falseOK
Bad Request
Not Found
Too Many Requests
Internal Server Error
GET /v2/issuers/{idOrEntityId}/badgeclasses HTTP/1.1
Host: api.badges.parchment.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"errorCode": "text",
"fieldErrors": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"latestTermsVersion": 1,
"nonFieldErrors": [
"text"
],
"result": [
{
"achievementType": "Course",
"alignments": [
{
"displayAsSkill": true,
"targetCode": "text",
"targetDescription": "text",
"targetFramework": "text",
"targetName": "text",
"targetUrl": "text"
}
],
"archivalNote": "text",
"archived": true,
"archivedDate": "2026-01-01T00:00:00.000Z",
"createdAt": "2026-01-01T00:00:00.000Z",
"createdBy": "Hey7J-GRSJeu6FNnHQwNyw",
"criteriaNarrative": "text",
"criteriaUrl": "https://example.com/badge-classes/1/criteria",
"description": "This badge is awarded to students who have demonstrated mastery of Math.",
"entityId": "iOMWsaF1QbmMCofM54JlUg",
"entityType": "BadgeClass",
"expires": {
"amount": 30,
"duration": "days"
},
"extensions": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"id": "68e9d238c5afe622816febb3",
"image": "https://api.badgr.io/public/badges/iOMWsaF1QbmMCofM54JlUg/image",
"imageAltText": "text",
"imagePath": "uploads/badges/badgeclass-lY1LJ6K4RqG7ThGLYvWNng.png",
"issuer": "ZvYydoQhRtOKalNzFPZR2A-Q",
"issuerOpenBadgeId": "https://api.badgr.io/public/issuers/ZvYydoQhRtOKalNzFPZR2A",
"name": "Math Expert",
"ob3Properties": {
"creditHours": 36,
"fieldOfStudy": "Research",
"humanCode": "R1",
"specialization": "Computer Science Research"
},
"openBadgeId": "https://api.badgr.io/public/badges/iOMWsaF1QbmMCofM54JlUg",
"originalJson": "{}",
"preferences": {
"customPropertyValues": [
{
"arrayValue": [
"text"
],
"doubleValue": 1,
"propertyId": "67b32887e2a7a7d5f7adabf1",
"public": true,
"stringValue": "text"
}
],
"defaultPrintCertTemplateId": "61e9d238c5afe622816febb3",
"enabledPrintCertTemplateIds": [
"61e9d238c5afe622816febb3"
],
"includeOnPublicPages": true
},
"source": "local",
"sourceUrl": "https://example.com/badge-classes/1",
"tags": [
"text"
]
}
],
"status": {
"description": "ok",
"success": true
},
"timestamp": "2026-01-01T00:00:00.000Z",
"validationErrors": [
"text"
],
"warnings": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
}
}- : Award badges and update your issuers
OAuth2 authorizationCode flow is currently not functional on the Swagger UI.
The type of achievement
CourseMarkdown formatted description of the criteria
External URL that describes in a human-readable format the criteria for the BadgeClass
https://example.com/badge-classes/1/criteriaShort description of the BadgeClass
This badge is awarded to students who have demonstrated mastery of Math.Image of the badge class as a base64-encoded data URI. External URLs are not allowed.
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+P+/HgAFhQJ/6+gQDQAAAABJRU5ErkJggg==Entity ID of the issuer
ZvYydoQhRtOKalNzFPZR2A-QName of the BadgeClass
Math ExpertList of tags that describe the BadgeClass
Created
Bad Request
Not Found
Too Many Requests
Internal Server Error
POST /v2/issuers/{idOrEntityId}/badgeclasses HTTP/1.1
Host: api.badges.parchment.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 1087
{
"achievementType": "Course",
"alignments": [
{
"displayAsSkill": true,
"targetCode": "text",
"targetDescription": "text",
"targetFramework": "text",
"targetName": "text",
"targetUrl": "text"
}
],
"criteriaNarrative": "text",
"criteriaUrl": "https://example.com/badge-classes/1/criteria",
"description": "This badge is awarded to students who have demonstrated mastery of Math.",
"expires": {
"amount": 30,
"duration": "days"
},
"extensions": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+P+/HgAFhQJ/6+gQDQAAAABJRU5ErkJggg==",
"imageAltText": "text",
"issuer": "ZvYydoQhRtOKalNzFPZR2A-Q",
"name": "Math Expert",
"ob3Properties": {
"creditHours": 36,
"fieldOfStudy": "Research",
"humanCode": "R1",
"specialization": "Computer Science Research"
},
"preferences": {
"customPropertyValues": [
{
"arrayValue": [
"text"
],
"doubleValue": 1,
"propertyId": "67b32887e2a7a7d5f7adabf1",
"public": true,
"stringValue": "text"
}
],
"defaultPrintCertTemplateId": "61e9d238c5afe622816febb3",
"enabledPrintCertTemplateIds": [
"61e9d238c5afe622816febb3"
],
"includeOnPublicPages": true
},
"tags": [
"text"
]
}{
"errorCode": "text",
"fieldErrors": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"latestTermsVersion": 1,
"nonFieldErrors": [
"text"
],
"result": [
{
"achievementType": "Course",
"alignments": [
{
"displayAsSkill": true,
"targetCode": "text",
"targetDescription": "text",
"targetFramework": "text",
"targetName": "text",
"targetUrl": "text"
}
],
"archivalNote": "text",
"archived": true,
"archivedDate": "2026-01-01T00:00:00.000Z",
"createdAt": "2026-01-01T00:00:00.000Z",
"createdBy": "Hey7J-GRSJeu6FNnHQwNyw",
"criteriaNarrative": "text",
"criteriaUrl": "https://example.com/badge-classes/1/criteria",
"description": "This badge is awarded to students who have demonstrated mastery of Math.",
"entityId": "iOMWsaF1QbmMCofM54JlUg",
"entityType": "BadgeClass",
"expires": {
"amount": 30,
"duration": "days"
},
"extensions": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"id": "68e9d238c5afe622816febb3",
"image": "https://api.badgr.io/public/badges/iOMWsaF1QbmMCofM54JlUg/image",
"imageAltText": "text",
"imagePath": "uploads/badges/badgeclass-lY1LJ6K4RqG7ThGLYvWNng.png",
"issuer": "ZvYydoQhRtOKalNzFPZR2A-Q",
"issuerOpenBadgeId": "https://api.badgr.io/public/issuers/ZvYydoQhRtOKalNzFPZR2A",
"name": "Math Expert",
"ob3Properties": {
"creditHours": 36,
"fieldOfStudy": "Research",
"humanCode": "R1",
"specialization": "Computer Science Research"
},
"openBadgeId": "https://api.badgr.io/public/badges/iOMWsaF1QbmMCofM54JlUg",
"originalJson": "{}",
"preferences": {
"customPropertyValues": [
{
"arrayValue": [
"text"
],
"doubleValue": 1,
"propertyId": "67b32887e2a7a7d5f7adabf1",
"public": true,
"stringValue": "text"
}
],
"defaultPrintCertTemplateId": "61e9d238c5afe622816febb3",
"enabledPrintCertTemplateIds": [
"61e9d238c5afe622816febb3"
],
"includeOnPublicPages": true
},
"source": "local",
"sourceUrl": "https://example.com/badge-classes/1",
"tags": [
"text"
]
}
],
"status": {
"description": "ok",
"success": true
},
"timestamp": "2026-01-01T00:00:00.000Z",
"validationErrors": [
"text"
],
"warnings": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
}
}- : Award badges and update your issuers
OAuth2 authorizationCode flow is currently not functional on the Swagger UI.
A recipient identifier to filter by
Request pagination of results, before/after cursors may be provided in response header
falsefalsePagination cursor provided in "Link" response header
Pagination cursor provided in "Link" response header
List of Assertions
Bad Request
Not Found
Too Many Requests
Internal Server Error
GET /v2/{scope}/{idOrEntityId}/assertions HTTP/1.1
Host: api.badges.parchment.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"errorCode": "text",
"fieldErrors": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"latestTermsVersion": 1,
"nonFieldErrors": [
"text"
],
"result": [
{
"acceptance": "Unaccepted",
"assertionRef": {
"assertionUrl": "https://api.badgr.io/public/assertions/lY1LJ6K4RqG7ThGLYvWNng"
},
"badgeRef": {
"badgeUrl": "https://api.badgr.io/public/badges/iOMWsaF1QbmMCofM54JlUg"
},
"badgeclass": "K829IK8RS6ercwkpeFOn-Q",
"badgeclassOpenBadgeId": "https://api.badgr.io/public/badges/K829IK8RS6ercwkpeFOn-Q",
"createdAt": "2026-01-01T00:00:00.000Z",
"createdBy": "Hey7J-GRSJeu6FNnHQwNyw",
"entityId": "i9CirfwJTuSfiqg0FFUBdQ",
"entityType": "Assertion",
"evidence": [
{
"audience": "text",
"description": "text",
"genre": "text",
"name": "text",
"narrative": "text",
"url": "https://example.com"
}
],
"expires": "2026-01-01T00:00:00.000Z",
"extensions": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"id": "6116c84d1ff787222b6c4d15",
"image": "https://api.badgr.io/public/assertions/SsCfI7FlTr6hAJe4irXnfQ/image",
"imagePath": "uploads/badges/assertion-lY1LJ6K4RqG7ThGLYvWNng.png",
"issuedOn": "2026-01-01T00:00:00.000Z",
"issuer": "ZvYydoQhRtOKalNzFPZR2A-Q",
"issuerOpenBadgeId": "https://api.badgr.io/public/issuers/ZvYydoQhRtOKalNzFPZR2A",
"issuerRef": {
"issuerUrl": "https://api.badgr.ws/public/issuers/Uu4wd2I1SKmD3vmtMJ19hw"
},
"narrative": "text",
"ob3AwardProperties": {
"activityEnd": "2026-01-01T00:00:00.000Z",
"activityStart": "2026-01-01T00:00:00.000Z",
"licenseNumber": "text",
"role": "text"
},
"openBadgeId": "https://api.badgr.io/public/assertions/i9CirfwJTuSfiqg0FFUBdQ",
"originalJson": "{}",
"pending": true,
"recipient": {
"hashed": true,
"identity": "sha256$4c2657856f",
"plaintextIdentity": "jane.doe@example.com",
"salt": "jgsu868",
"type": "email"
},
"revocationReason": "text",
"revoked": true,
"source": "local",
"sourceUrl": "https://example.com/assertions/1"
}
],
"status": {
"description": "ok",
"success": true
},
"timestamp": "2026-01-01T00:00:00.000Z",
"validationErrors": [
"text"
],
"warnings": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
}
}- : Award badges and update your issuers
OAuth2 authorizationCode flow is currently not functional on the Swagger UI.
The entity ID of the selected scope entity
K829IK8RS6ercwkpeFOn-QRequest to award an assertion. When request scope is issuers, one of badgeclass or badgeclassOpenBadgeId must be provided.
If set to false and the recipient already has this assertion, then the request will fail
ID or Entity ID of the badge class to be awarded
K829IK8RS6ercwkpeFOn-QOB URL of the badge class to be awarded
https://api.badgr.io/public/badges/K829IK8RS6ercwkpeFOn-QTimestamp when the assertion was issued
Markdown narrative of the achievement
Created
Bad Request
Not Found
Too Many Requests
Internal Server Error
POST /v2/{scope}/{idOrEntityId}/assertions HTTP/1.1
Host: api.badges.parchment.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 650
{
"allowDuplicateAwards": true,
"badgeclass": "K829IK8RS6ercwkpeFOn-Q",
"badgeclassOpenBadgeId": "https://api.badgr.io/public/badges/K829IK8RS6ercwkpeFOn-Q",
"evidence": [
{
"audience": "text",
"description": "text",
"genre": "text",
"name": "text",
"narrative": "text",
"url": "https://example.com"
}
],
"expires": "2026-01-01T00:00:00.000Z",
"extensions": {
"value": {
"ANY_ADDITIONAL_PROPERTY": {}
}
},
"issuedOn": "2026-01-01T00:00:00.000Z",
"narrative": "text",
"ob3AwardProperties": {
"activityEnd": "2026-01-01T00:00:00.000Z",
"activityStart": "2026-01-01T00:00:00.000Z",
"licenseNumber": "text",
"role": "text"
},
"recipient": {
"hashed": true,
"identity": "jane.doe@example.com",
"type": "email"
}
}{
"errorCode": "text",
"fieldErrors": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"latestTermsVersion": 1,
"nonFieldErrors": [
"text"
],
"result": [
{
"acceptance": "Unaccepted",
"assertionRef": {
"assertionUrl": "https://api.badgr.io/public/assertions/lY1LJ6K4RqG7ThGLYvWNng"
},
"badgeRef": {
"badgeUrl": "https://api.badgr.io/public/badges/iOMWsaF1QbmMCofM54JlUg"
},
"badgeclass": "K829IK8RS6ercwkpeFOn-Q",
"badgeclassOpenBadgeId": "https://api.badgr.io/public/badges/K829IK8RS6ercwkpeFOn-Q",
"createdAt": "2026-01-01T00:00:00.000Z",
"createdBy": "Hey7J-GRSJeu6FNnHQwNyw",
"entityId": "i9CirfwJTuSfiqg0FFUBdQ",
"entityType": "Assertion",
"evidence": [
{
"audience": "text",
"description": "text",
"genre": "text",
"name": "text",
"narrative": "text",
"url": "https://example.com"
}
],
"expires": "2026-01-01T00:00:00.000Z",
"extensions": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"id": "6116c84d1ff787222b6c4d15",
"image": "https://api.badgr.io/public/assertions/SsCfI7FlTr6hAJe4irXnfQ/image",
"imagePath": "uploads/badges/assertion-lY1LJ6K4RqG7ThGLYvWNng.png",
"issuedOn": "2026-01-01T00:00:00.000Z",
"issuer": "ZvYydoQhRtOKalNzFPZR2A-Q",
"issuerOpenBadgeId": "https://api.badgr.io/public/issuers/ZvYydoQhRtOKalNzFPZR2A",
"issuerRef": {
"issuerUrl": "https://api.badgr.ws/public/issuers/Uu4wd2I1SKmD3vmtMJ19hw"
},
"narrative": "text",
"ob3AwardProperties": {
"activityEnd": "2026-01-01T00:00:00.000Z",
"activityStart": "2026-01-01T00:00:00.000Z",
"licenseNumber": "text",
"role": "text"
},
"openBadgeId": "https://api.badgr.io/public/assertions/i9CirfwJTuSfiqg0FFUBdQ",
"originalJson": "{}",
"pending": true,
"recipient": {
"hashed": true,
"identity": "sha256$4c2657856f",
"plaintextIdentity": "jane.doe@example.com",
"salt": "jgsu868",
"type": "email"
},
"revocationReason": "text",
"revoked": true,
"source": "local",
"sourceUrl": "https://example.com/assertions/1"
}
],
"status": {
"description": "ok",
"success": true
},
"timestamp": "2026-01-01T00:00:00.000Z",
"validationErrors": [
"text"
],
"warnings": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
}
}Last updated
Was this helpful?