POST
/
admin
/
v0
/
awards
/
{award_id}
/
assign
Assign an award to a user
curl --request POST \
  --url https://api.tightknit.dev/admin/v0/awards/{award_id}/assign \
  --header 'Authorization: Bearer <token>' \
  --header 'content-type: <content-type>' \
  --data '{
  "recipient": {
    "slack_user_id": "U1234567A"
  },
  "sender": {
    "slack_user_id": "U1234567A"
  },
  "send_anonymously": false
}'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

content-type
enum<string>
required
Available options:
application/json

Path Parameters

award_id
string
required
Minimum length: 1
Example:

"123e4567-e89b-12d3-a456-426614174000"

Body

application/json

Response

200
application/json

Assigns an award to a user

The response is of type object.