Skip to main content
Vote on an upload.

Request

curl -X POST https://api.fucksornot.com/api/vote \
  -H "Authorization: Bearer YOUR_JWT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "uploadId": "550e8400-e29b-41d4-a716-446655440000",
    "vote": "fucks"
  }'

Parameters

ParameterTypeRequiredDescription
uploadIdUUIDYesThe upload to vote on
votestringYesfucks or does_not_fuck

Response

{
  "vote": {
    "id": "vote-uuid",
    "user_id": "user-uuid",
    "upload_id": "550e8400-e29b-41d4-a716-446655440000",
    "vote": "fucks",
    "created_at": "2025-01-24T12:00:00Z"
  }
}

Changing Your Vote

To change your vote, simply submit a new vote for the same upload. Your previous vote is replaced.

Rate Limiting

Votes are limited to 20 per hour per user.

Errors

StatusDescription
400Invalid vote value
401Not authenticated
404Upload not found
429Rate limit exceeded