Assigns a badge to a user

Calling this operation will assign a badge to a user on the site (scope) present in the authentication token.
The payload in this request requires the unique id of the user from a third party authentication provider, in combination with the type code of the provider. See below for more details
Badges must exist before being assigned to users.

Log in to see full request history
Body Params
string

The third party authentication provider id for the user.

string

The type of the third party authentication provider. Please contact Viafoura support for a list of supported providers.

string
required

The unique identifier of an existing badge

Responses
200

The badge has been assigned to the user.

400

The badge label or user cannot be found. Make sure the user exists in the targeted site and the badge has been previously created.

401

The authentication token is missing or has expired

Language
Credentials
:
Click Try It! to start a request and see the response here!