User Badge Issuance
Request Details
| Item | Value |
| Description |
Requests the issuance of a badge to a member. Due to frequency capping, the member may not be awarded the badge. |
| Method | POST |
| Endpoint | https://[environment]api[client_id].crowdtwist.com/v2.1/users/[user_id]/badges? api_key=[api_key]&id_type=[id_type] |
| Content Type | application/json |
Request Query Parameters
| Field Name | Sample Value | Required | Format | Description |
| api_key | QWERTYP | Yes | String |
Client-configured API key. |
| user_id | user@crowdtwist.com | Yes | String | ID of the user. |
| id_type | No | String |
Type of ID being sent:
|
Request Body
| Field Name | Sample Value | Required | Format | Description |
| badge_id | 123456 | Yes | Integer | ID of the badge to be issued. |
| date_earned | 2022-04-08T17:43:04.000Z | No | Date (ISO-8601) | |
| custom_data | No | JSON Array | Client-defined custom data. |
Sample Request Body