Issuers

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 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 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

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

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?