APIs

Update a staff member's role on the Issuer

put

User must have an owner role on the issuer.

Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
Body
emailstringRequired

Email address associated with the staff member

Example: [email protected]
rolestring · enumRequired

Role of the user in the issuer.

Possible values:
Responses
200

OK

*/*
put
/v2/issuers/{idOrEntityId}/staff

Add a staff member to an Issuer

post

User must have an owner role on the issuer.

Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
Body
emailstringRequired

Email address associated with the staff member

Example: [email protected]
rolestring · enumRequired

Role of the user in the issuer.

Possible values:
Responses
post
/v2/issuers/{idOrEntityId}/staff

Update a staff member's role on the Issuer

patch

User must have an owner role on the issuer.

Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
Body
emailstringRequired

Email address associated with the staff member

Example: [email protected]
rolestring · enumRequired

Role of the user in the issuer.

Possible values:
Responses
200

OK

*/*
patch
/v2/issuers/{idOrEntityId}/staff

Get a single BadgeUser profile

get
Required scopes
This endpoint requires the following scopes:
  • : See who you are
  • : Update your profile
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
Responses
200

OK

application/json
get
/v2/users/{idOrEntityId}

Update a BadgeUser

put
Required scopes
This endpoint requires the following scopes:
  • : See who you are
  • : Update your profile
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
Body
firstNamestringOptionalExample: Jane
lastNamestringOptionalExample: Doe
marketingOptInbooleanOptionalExample: true
Responses
200

OK

application/json
put
/v2/users/{idOrEntityId}

Update a BadgeUser

patch
Required scopes
This endpoint requires the following scopes:
  • : See who you are
  • : Update your profile
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
Body
firstNamestringOptionalExample: Jane
lastNamestringOptionalExample: Doe
marketingOptInbooleanOptionalExample: true
Responses
200

OK

application/json
patch
/v2/users/{idOrEntityId}

Get your own BadgeUser profile

get
Required scopes
This endpoint requires the following scopes:
  • : See who you are
  • : Update your profile
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Responses
200

OK

application/json
get
/v2/users/self

Update your own BadgeUser

put
Required scopes
This endpoint requires the following scopes:
  • : See who you are
  • : Update your profile
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Body
firstNamestringOptionalExample: Jane
lastNamestringOptionalExample: Doe
marketingOptInbooleanOptionalExample: true
Responses
200

OK

application/json
put
/v2/users/self

Update your own BadgeUser

patch
Required scopes
This endpoint requires the following scopes:
  • : See who you are
  • : Update your profile
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Body
firstNamestringOptionalExample: Jane
lastNamestringOptionalExample: Doe
marketingOptInbooleanOptionalExample: true
Responses
200

OK

application/json
patch
/v2/users/self

Get a single Issuer

get
Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
Query parameters
include_staffstringOptionalDefault: true
Responses
200

OK

get
/v2/issuers/{idOrEntityId}

Update a single Issuer

put
Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
Query parameters
include_staffstringOptionalDefault: true
Body
namestring · max: 1024Required

Name of the issuer

Example: Credentials Faculty
emailstring · email · max: 255Required

Contact email for the Issuer

Example: [email protected]
urlstring · uri · max: 1024Required

Homepage or website associated with the Issuer

Example: https://example.com
imagestringOptional

Image of the issuer. An URL or a bas64 encoded images.

Example: https://api.badgr.ws/public/issuers/Uu4wd2I1SKmD3vmtMJ19hw/image
descriptionstring · max: 16384Required

Short description of the Issuer

Example: This is the faculty of the Credentials University.
badgrDomainstringOptional
Responses
200

OK

put
/v2/issuers/{idOrEntityId}

Delete a single Issuer

delete
Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
Responses
delete
/v2/issuers/{idOrEntityId}

No content

Update a single Issuer

patch
Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
Query parameters
include_staffstringOptionalDefault: true
Body
namestring · max: 1024Required

Name of the issuer

Example: Credentials Faculty
emailstring · email · max: 255Required

Contact email for the Issuer

Example: [email protected]
urlstring · uri · max: 1024Required

Homepage or website associated with the Issuer

Example: https://example.com
imagestringOptional

Image of the issuer. An URL or a bas64 encoded images.

Example: https://api.badgr.ws/public/issuers/Uu4wd2I1SKmD3vmtMJ19hw/image
descriptionstring · max: 16384Required

Short description of the Issuer

Example: This is the faculty of the Credentials University.
badgrDomainstringOptional
Responses
200

OK

patch
/v2/issuers/{idOrEntityId}

Get a single Issuer

get
Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
issuerOpenBadgeIdBase64stringRequired
Query parameters
include_staffstringOptionalDefault: true
Responses
200

OK

get
/v2/issuers/openBadgeId/{issuerOpenBadgeIdBase64}

Update a single Issuer

put
Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
issuerOpenBadgeIdBase64stringRequired
Query parameters
include_staffstringOptionalDefault: true
Body
namestring · max: 1024Required

Name of the issuer

Example: Credentials Faculty
emailstring · email · max: 255Required

Contact email for the Issuer

Example: [email protected]
urlstring · uri · max: 1024Required

Homepage or website associated with the Issuer

Example: https://example.com
imagestringOptional

Image of the issuer. An URL or a bas64 encoded images.

Example: https://api.badgr.ws/public/issuers/Uu4wd2I1SKmD3vmtMJ19hw/image
descriptionstring · max: 16384Required

Short description of the Issuer

Example: This is the faculty of the Credentials University.
badgrDomainstringOptional
Responses
200

OK

put
/v2/issuers/openBadgeId/{issuerOpenBadgeIdBase64}

Delete a single Issuer

delete
Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
issuerOpenBadgeIdBase64stringRequired
Responses
delete
/v2/issuers/openBadgeId/{issuerOpenBadgeIdBase64}

Update a single Issuer

patch
Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
issuerOpenBadgeIdBase64stringRequired
Query parameters
include_staffstringOptionalDefault: true
Body
namestring · max: 1024Required

Name of the issuer

Example: Credentials Faculty
emailstring · email · max: 255Required

Contact email for the Issuer

Example: [email protected]
urlstring · uri · max: 1024Required

Homepage or website associated with the Issuer

Example: https://example.com
imagestringOptional

Image of the issuer. An URL or a bas64 encoded images.

Example: https://api.badgr.ws/public/issuers/Uu4wd2I1SKmD3vmtMJ19hw/image
descriptionstring · max: 16384Required

Short description of the Issuer

Example: This is the faculty of the Credentials University.
badgrDomainstringOptional
Responses
200

OK

patch
/v2/issuers/openBadgeId/{issuerOpenBadgeIdBase64}

Get a single Issuer

get
Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
issuerOpenBadgeIdBase64stringRequired
Query parameters
include_staffstringOptionalDefault: true
Responses
200

OK

get
/v2/issuers/ref/{issuerOpenBadgeIdBase64}

Update a single Issuer

put
Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
issuerOpenBadgeIdBase64stringRequired
Query parameters
include_staffstringOptionalDefault: true
Body
namestring · max: 1024Required

Name of the issuer

Example: Credentials Faculty
emailstring · email · max: 255Required

Contact email for the Issuer

Example: [email protected]
urlstring · uri · max: 1024Required

Homepage or website associated with the Issuer

Example: https://example.com
imagestringOptional

Image of the issuer. An URL or a bas64 encoded images.

Example: https://api.badgr.ws/public/issuers/Uu4wd2I1SKmD3vmtMJ19hw/image
descriptionstring · max: 16384Required

Short description of the Issuer

Example: This is the faculty of the Credentials University.
badgrDomainstringOptional
Responses
200

OK

put
/v2/issuers/ref/{issuerOpenBadgeIdBase64}

Delete a single Issuer

delete
Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
issuerOpenBadgeIdBase64stringRequired
Responses
delete
/v2/issuers/ref/{issuerOpenBadgeIdBase64}

Update a single Issuer

patch
Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
issuerOpenBadgeIdBase64stringRequired
Query parameters
include_staffstringOptionalDefault: true
Body
namestring · max: 1024Required

Name of the issuer

Example: Credentials Faculty
emailstring · email · max: 255Required

Contact email for the Issuer

Example: [email protected]
urlstring · uri · max: 1024Required

Homepage or website associated with the Issuer

Example: https://example.com
imagestringOptional

Image of the issuer. An URL or a bas64 encoded images.

Example: https://api.badgr.ws/public/issuers/Uu4wd2I1SKmD3vmtMJ19hw/image
descriptionstring · max: 16384Required

Short description of the Issuer

Example: This is the faculty of the Credentials University.
badgrDomainstringOptional
Responses
200

OK

patch
/v2/issuers/ref/{issuerOpenBadgeIdBase64}

Get draft version

get
Authorizations
HTTPRequired
Path parameters
idstringRequired
Responses
200

OK

get
/v2/pathways/{id}/versions/draft

Update pathway draft

put
Authorizations
HTTPRequired
Path parameters
idstringRequired
Body
issuerIdstringRequired
Responses
200

OK

put
/v2/pathways/{id}/versions/draft

Get a single BadgeClass

get
Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
Query parameters
include_archivedbooleanOptionalDefault: false
Responses
200

OK

get
/v2/badgeclasses/{idOrEntityId}

Update an existing BadgeClass.

put

Previously awarded Assertions will be updated with image rebaking

Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
Body
namestring · max: 1024Required

Name of the BadgeClass

Example: Math Expert
descriptionstring · max: 16384Required

Short description of the BadgeClass

Example: This badge is awarded to students who have demonstrated mastery of Math.
imagestringRequired

Image of the issuer. An URL or a bas64 encoded images.

Example: https://api.badgr.io/public/badges/iOMWsaF1QbmMCofM54JlUg/image
achievementTypestringOptional

The type of achievement

Example: Course
criteriaUrlstring · uriOptional

External URL that describes in a human-readable format the criteria for the BadgeClass

Example: https://example.com/badge-classes/1/criteria
criteriaNarrativestringOptional

Markdown formatted description of the criteria

tagsstring[]Optional

List of tags that describe the BadgeClass

imageAltTextstringOptional
Responses
200

OK

put
/v2/badgeclasses/{idOrEntityId}

Delete a BadgeClass

delete

Restricted to owners or editors (not staff) of the corresponding Issuer.

Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
Query parameters
hard_deletestringOptional
archivalNotestringOptional
Responses
delete
/v2/badgeclasses/{idOrEntityId}

Update an existing ClaimCode for a BadgeClass

put
Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
claimCodestringRequired
Body
labelstringOptional

The label of the claim code

Example: Conference Event
limitinteger · int64Optional

The number of times the claim code can be used

Example: 10
expirationDatestring · date-timeOptional
Responses
200

OK

put
/v2/badgeclasses/{idOrEntityId}/claim-codes/{claimCode}

Archive a ClaimCode for a BadgeClass

delete
Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
claimCodestringRequired
Responses
delete
/v2/badgeclasses/{idOrEntityId}/claim-codes/{claimCode}

Get a single BadgeClass

get
Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
refstringRequired
Query parameters
include_archivedbooleanOptionalDefault: false
Responses
200

OK

get
/v2/badgeclasses/ref/{ref}

Update an existing BadgeClass.

put

Previously awarded Assertions will be updated with image rebaking

Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
refstringRequired
Body
namestring · max: 1024Required

Name of the BadgeClass

Example: Math Expert
descriptionstring · max: 16384Required

Short description of the BadgeClass

Example: This badge is awarded to students who have demonstrated mastery of Math.
imagestringRequired

Image of the issuer. An URL or a bas64 encoded images.

Example: https://api.badgr.io/public/badges/iOMWsaF1QbmMCofM54JlUg/image
achievementTypestringOptional

The type of achievement

Example: Course
criteriaUrlstring · uriOptional

External URL that describes in a human-readable format the criteria for the BadgeClass

Example: https://example.com/badge-classes/1/criteria
criteriaNarrativestringOptional

Markdown formatted description of the criteria

tagsstring[]Optional

List of tags that describe the BadgeClass

imageAltTextstringOptional
Responses
200

OK

put
/v2/badgeclasses/ref/{ref}

Delete a BadgeClass

delete

Restricted to owners or editors (not staff) of the corresponding Issuer.

Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
refstringRequired
Query parameters
hard_deletestringOptional
archivalNotestringOptional
Responses
delete
/v2/badgeclasses/ref/{ref}

Get Assertion Collection(s) associated with the authenticated user's backpack

get
Required scopes
This endpoint requires the following scopes:
  • : List assertions in your backpack
  • : Upload badges to your backpack
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
Responses
200

OK

*/*
get
/v2/backpack/collections/{idOrEntityId}

Update a Collection

put
Required scopes
This endpoint requires the following scopes:
  • : Upload badges to your backpack
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
Body
namestringOptional

Name of the collection

Example: My Collection
descriptionstringOptional

Short description of the Collection

Example: This is a collection of my favorite badges
publishedbooleanOptional

True if the Collection should have a share url

Example: true
assertionsstring[]Optional

The IDs or entity IDs of the assertions associated with this Collection

Example: UQbhRmNrQ4qn9_FJ5-eTtA
credentialsstring[]Optional

The IDs or entity IDs of the credentials associated with this Collection

Example: UQbhRmNrQ4qn9_FJ5-eTtA
Responses
200

OK

*/*
put
/v2/backpack/collections/{idOrEntityId}

Delete a collection

delete
Required scopes
This endpoint requires the following scopes:
  • : Upload badges to your backpack
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
Responses
delete
/v2/backpack/collections/{idOrEntityId}

No content

Get detail on an Assertion in the user's Backpack

get
Required scopes
This endpoint requires the following scopes:
  • : List assertions in your backpack
  • : Upload badges to your backpack
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
Query parameters
Responses
200

OK

*/*
get
/v2/backpack/assertions/{idOrEntityId}

Update acceptance of an Assertion in the user's Backpack

put
Required scopes
This endpoint requires the following scopes:
  • : Upload badges to your backpack
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
Responses
200

OK

*/*
put
/v2/backpack/assertions/{idOrEntityId}

Remove an assertion from the backpack

delete
Required scopes
This endpoint requires the following scopes:
  • : Upload badges to your backpack
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
Responses
delete
/v2/backpack/assertions/{idOrEntityId}

No content

Get a single Assertion

get
Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
Responses
200

OK

get
/v2/assertions/{idOrEntityId}

Update an Assertion

put
Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
Body
narrativestringOptional

Markdown narrative of the achievement

expiresstring · date-timeOptional
issuedOnstring · date-timeOptional

Timestamp when the assertion was issued

Responses
200

OK

put
/v2/assertions/{idOrEntityId}

Revoke an Assertion

delete
Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
Body
revocation_reasonstringOptional
Responses
200

OK

delete
/v2/assertions/{idOrEntityId}

Get list of Assertions for the specified scope

get
Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
scopestring · enumRequiredPossible values:
idOrEntityIdstringRequired
Query parameters
recipientstringOptional

A recipient identifier to filter by

numinteger · int32Optional

Request pagination of results, before/after cursors may be provided in response header

include_expiredbooleanOptionalDefault: false
include_revokedbooleanOptionalDefault: false
afterstringOptional

Pagination cursor provided in "Link" response header

beforestringOptional

Pagination cursor provided in "Link" response header

Responses
200

List of Assertions

get
/v2/{scope}/{idOrEntityId}/assertions

Issue a new Assertion to a recipient

post
Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
scopestring · enumRequiredPossible values:
idOrEntityIdstringRequired

The entity ID of the selected scope entity

Example: K829IK8RS6ercwkpeFOn-Q
Body

Request to award an assertion. When request scope is issuers, one of badgeclass or badgeclassOpenBadgeId must be provided.

badgeclassstringOptional

ID or Entity ID of the badge class to be awarded

Example: K829IK8RS6ercwkpeFOn-Q
badgeclassOpenBadgeIdstring · uriOptional

OB URL of the badge class to be awarded

Example: https://api.badgr.io/public/badges/K829IK8RS6ercwkpeFOn-Q
issuedOnstring · date-timeOptional

Timestamp when the assertion was issued

allowDuplicateAwardsbooleanOptional

If set to false and the recipient already has this assertion, then the request will fail

narrativestringOptional

Markdown narrative of the achievement

expiresstring · date-timeOptional
Responses
post
/v2/{scope}/{idOrEntityId}/assertions

Create pathway in draft state

post
Authorizations
HTTPRequired
Body
issuerIdstringRequired

ID of the issuer where the pathway will be created

Example: 62aa04adf5afe00d0a6dac72
Responses
200

OK

post
/v2/pathways

Evaluate experience on the pathway for a user

post
Authorizations
HTTPRequired
Path parameters
pathwayIdstringRequired
experienceIdstring · uuidRequired
Body
recipientone ofRequired
or
or
passedbooleanRequired
Responses
post
/v2/pathways/{pathwayId}/experience/{experienceId}/submit

No content

Evaluate experience on the pathway for multiple users

post

CSV file should contain recipientId,passed header row. Each row should contain a single entry of recipientId (email:[email protected]) and a passed value (true/false) separated by a comma.

Authorizations
HTTPRequired
Path parameters
pathwayIdstringRequired
experienceIdstring · uuidRequired
Body
stringOptionalExample: recipientId,passed email:[email protected],true
Responses
200

OK

post
/v2/pathways/{pathwayId}/experience/{experienceId}/submit-csv

Get published version

get
Authorizations
HTTPRequired
Path parameters
idstringRequired
Responses
200

OK

get
/v2/pathways/{id}/versions/published

Promote current draft version to published

post
Authorizations
HTTPRequired
Path parameters
idstringRequired
Responses
200

OK

post
/v2/pathways/{id}/versions/published

Reverts pathway draft to the current published version

post
Authorizations
HTTPRequired
Path parameters
idstringRequired
Responses
200

OK

post
/v2/pathways/{id}/versions/draft/revert

Update pathway group subscriptions

post
Authorizations
HTTPRequired
Path parameters
idstringRequired
Body
groupIdsToAddstring[]RequiredExample: 61aa04adf5afe00d0a6dac72
groupIdsToRemovestring[]RequiredExample: 67aa04adf5afe00d0a6dac72
Responses
200

OK

No content

post
/v2/pathways/{id}/subscriptions

No content

Get a list of Issuers for authenticated user

get
Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Query parameters
include_staffstringOptionalDefault: true
Responses
200

OK

get
/v2/issuers

Create a new Issuer

post
Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Query parameters
include_staffstringOptionalDefault: true
Body
namestring · max: 1024Required

Name of the issuer

Example: Credentials Faculty
emailstring · email · max: 255Required

Contact email for the Issuer

Example: [email protected]
urlstring · uri · max: 1024Required

Homepage or website associated with the Issuer

Example: https://example.com
sourceUrlstring · uriOptional

The original URL of the issuer if it was imported

Example: https://example.com/issuers/1
originalJsonstring · max: 2000000Optional

The original OB JSON of the issuer if it was imported

Example: {}
imagestringOptional

Image of the issuer. An URL or a bas64 encoded images.

Example: https://api.badgr.ws/public/issuers/Uu4wd2I1SKmD3vmtMJ19hw/image
descriptionstring · max: 16384Optional

Short description of the Issuer

Example: This is the faculty of the Credentials University.
badgrDomainstringOptional

Organization domain host

Example: badgrsupportgroup.badgr.com
createdBystringOptional

User who created this issuer

organizationIdstringOptional

The ID of the organization which this issuer should be associated with. Requires organization write access.

Example: 6f4e4e4e2dc038241ad01d83
Responses
post
/v2/issuers

Invite a staff member to an Issuer

post

User must have an owner role on the issuer.

Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
Body
emailstringRequired

Email address associated with the staff member

Example: [email protected]
rolestring · enumRequired

Role of the user in the issuer.

Possible values:
Responses
200

OK

*/*
post
/v2/issuers/{idOrEntityId}/staff/invitations

Get a list of BadgeClasses for a single Issuer

get
Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
Query parameters
include_archivedbooleanOptionalDefault: false
Responses
200

OK

get
/v2/issuers/{idOrEntityId}/badgeclasses

Create a new BadgeClass associated with an Issuer

post
Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
Body
issuerstringOptional

Entity ID of the issuer

Example: ZvYydoQhRtOKalNzFPZR2A-Q
namestring · max: 1024Required

Name of the BadgeClass

Example: Math Expert
imagestringRequired

Image of the issuer. An URL or a bas64 encoded images.

Example: https://api.badgr.io/public/badges/iOMWsaF1QbmMCofM54JlUg/image
achievementTypestringOptional

The type of achievement

Example: Course
descriptionstring · max: 16384Required

Short description of the BadgeClass

Example: This badge is awarded to students who have demonstrated mastery of Math.
criteriaUrlstring · uriOptional

External URL that describes in a human-readable format the criteria for the BadgeClass

Example: https://example.com/badge-classes/1/criteria
criteriaNarrativestringOptional

Markdown formatted description of the criteria

tagsstring[]Optional

List of tags that describe the BadgeClass

imageAltTextstringOptional
Responses
post
/v2/issuers/{idOrEntityId}/badgeclasses

Get a list of BadgeClasses for authenticated user

get
Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Query parameters
include_archivedbooleanOptionalDefault: false
Responses
200

OK

get
/v2/badgeclasses

Create a new BadgeClass

post
Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Body
issuerstringRequired

Entity ID of the issuer

Example: ZvYydoQhRtOKalNzFPZR2A-Q
namestring · max: 1024Required

Name of the BadgeClass

Example: Math Expert
descriptionstring · max: 16384Required

Short description of the BadgeClass

Example: This badge is awarded to students who have demonstrated mastery of Math.
imagestringRequired

Image of the issuer. An URL or a bas64 encoded images.

Example: https://example.com/images/1
achievementTypestringOptional

The type of achievement

Example: Course
criteriaUrlstring · uriOptional

External URL that describes in a human-readable format the criteria for the BadgeClass

Example: https://example.com/badge-classes/1/criteria
criteriaNarrativestringOptional

Markdown formatted description of the criteria

tagsstring[]Optional

List of tags that describe the BadgeClass

imageAltTextstringOptional
Responses
post
/v2/badgeclasses

Duplicate a BadgeClass

post

Create a duplicate of the original BadgeClass with a new name

Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
Body
newNamestringRequired

The new name for the duplicate badgeclass

Example: Badgeclass Copy
Responses
post
/v2/badgeclasses/{idOrEntityId}/duplicate

Get a list of ClaimCodes for a single BadgeClass

get
Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
Query parameters
includeClaimCodeCountbooleanOptional
Responses
200

OK

get
/v2/badgeclasses/{idOrEntityId}/claim-codes

Create a new ClaimCode for a BadgeClass

post
Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
Body
labelstringOptional

The label of the claim code

Example: Conference Event
limitinteger · int64Optional

The number of times the claim code can be used

Example: 10
expirationDatestring · date-timeOptional
Responses
post
/v2/badgeclasses/{idOrEntityId}/claim-codes

Reactivate a BadgeClass by id

post

Reactivate a BadgeClass that was archived

Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
Responses
200

OK

post
/v2/badgeclasses/reactivate/{idOrEntityId}

Reactivate a BadgeClass by ref

post

Reactivate an archived BadgeClass by its base64 encoded OpenBadge ID

Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
refstringRequired
Responses
200

OK

post
/v2/badgeclasses/reactivate/ref/{ref}

Upload a new Assertion to the backpack

post

Upload a new Assertion to the backpack using url, image or OpenBadge JSON

Required scopes
This endpoint requires the following scopes:
  • : Upload badges to your backpack
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Body
urlstring · uriOptional

URL of the badge to import

Example: https://example.com/assertions/1
assertionobjectOptional

OpenBadge JSON of the award to import

imagestringOptional

Image URL or base64 encoded image data of the assertion.

Example: https://example.com/assertions/1/image
Responses
post
/v2/backpack/import

Get Assertion Collection(s) associated with the authenticated user's backpack

get
Required scopes
This endpoint requires the following scopes:
  • : List assertions in your backpack
  • : Upload badges to your backpack
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Responses
200

OK

*/*
get
/v2/backpack/collections

Create a new Collection

post
Required scopes
This endpoint requires the following scopes:
  • : Upload badges to your backpack
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Body
namestringRequired

Name of the collection

Example: My Collection
descriptionstringOptional

Short description of the Collection

Example: This is a collection of my favorite badges
publishedbooleanRequired

True if the Collection should have a share url

Example: true
Responses
post
/v2/backpack/collections

Revoke multiple Assertions

post
Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Bodyobject[]
idstringOptional

ID of the Assertion to revoke

Example: 62aa04adf5afe00d0a6dac72
entityIdstringOptional

Entity ID of the Assertion to revoke

Example: i9CirfwJTuSfiqg0FFUBdQ
revocationReasonstringRequired

Short description of why the Assertion is being revoked

Example: Course was cancelled
revokedbooleanRead-onlyOptional
reasonstringRead-onlyOptional

Error reason if assertion could not be revoked

codestringRead-onlyOptional

Error code if assertion could not be revoked

Responses
200

OK

post
/v2/assertions/revoke

Enable a disabled ClaimCode for a BadgeClass

patch
Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
claimCodestringRequired
Responses
200

OK

patch
/v2/badgeclasses/{idOrEntityId}/claim-codes/{claimCode}/enable

Disable an enabled ClaimCode for a BadgeClass

patch
Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
claimCodestringRequired
Responses
200

OK

patch
/v2/badgeclasses/{idOrEntityId}/claim-codes/{claimCode}/disable

Get progress status for the recipient

get
Authorizations
HTTPRequired
Path parameters
idstringRequired
Query parameters
recipientIdentifierstringRequired

Identifier of the recipient, format: recipientType:recipientId

Example: email:[email protected]
Responses
200

OK

get
/v2/pathways/{id}/recipient-progress

Get progress status for the recipient group

get
Authorizations
HTTPRequired
Path parameters
idstringRequired
recipientGroupIdstringRequired
Responses
200

OK

get
/v2/pathways/{id}/recipient-groups/{recipientGroupId}/progress

Get aggregate progress status for the entire pathway

get
Authorizations
HTTPRequired
Path parameters
idstringRequired
Responses
200

OK

get
/v2/pathways/{id}/aggregate-progress

Get a list of Organizations where the authenticated user is admin

get
Required scopes
This endpoint requires the following scopes:
  • : Read organization data
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Responses
200

OK

get
/v2/organizations

Get a list of Assertions in authenticated user's backpack

get
Required scopes
This endpoint requires the following scopes:
  • : List assertions in your backpack
  • : Upload badges to your backpack
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Query parameters
Responses
200

OK

*/*
get
/v2/backpack/assertions

Delete pathway

delete
Authorizations
HTTPRequired
Path parameters
idstringRequired
Responses
delete
/v2/pathways/{id}

No content

Remove a staff member from the Issuer

delete

User must have an owner role on the issuer.

Required scopes
This endpoint requires the following scopes:
  • : Award badges and update your issuers
Authorizations
OAuth2authorizationCodeRequired

OAuth2 authorizationCode flow is currently not functional on the Swagger UI.

Authorization URL: Token URL:
Path parameters
idOrEntityIdstringRequired
emailBase64stringRequired

Base64 encoded email address of the staff member

Responses
delete
/v2/issuers/{idOrEntityId}/staff/{emailBase64}

Last updated

Was this helpful?