RequestKit
API ReferenceComments

Create a comment for a request

Creates a new comment for a specific request

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

Request Body

multipart/form-dataOptional
contentRequiredstring
commentor.identifierRequiredstring
commentor.namestring
commentor.emailstring
Format: "email"
files[]array<unknown>

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/comments" \
  -H "x-request-kit-key: <string>" \
  -F content="string" \
  -F commentor.identifier="string" \
  -F commentor.name="string" \
  -F commentor.email="[email protected]" \
  -F files[]="[\n  null\n]"

Comment created successfully

{
  "id": "string"
}