RequestKit
API ReferenceUpvote

Upvote a request

Upvote a request

POST
/api/v1/requests/{request_id}/upvote

Request Body

application/jsonOptional
userRequiredobject

User information

Path Parameters

request_idRequiredstring

The ID of the request

Header Parameters

x-request-kit-keyRequiredstring
curl -X POST "http://localhost:3000/api/v1/requests/req_123456789/upvote" \
  -H "x-request-kit-key: <string>" \
  -H "Content-Type: application/json" \
  -d '{
    "user": {
      "identifier": "user123",
      "name": "John Doe",
      "email": "[email protected]"
    }
  }'

Upvote created successfully

{
  "id": "upv_123456789"
}