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

application/jsonOptional
contentRequiredstring
commentorRequiredobject

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>" \
  -H "Content-Type: application/json" \
  -d '{
    "content": "string",
    "commentor": {
      "identifier": "string",
      "name": "string",
      "email": "[email protected]"
    }
  }'

Comment created successfully

{
  "id": "string"
}