Comments
Add a comment
POST
The caller must act as a user. Requires the write scope.
bearerAuthheader
AuthorizationBearer <token>A workspace API key.
id*stringRetainer identifier.
Format
uuidIdempotency-Key?stringReuse the same key with the same request to retry.
Length
1 <= length <= 200application/json- body
body*stringLength
1 <= length <= 10000Successful response.
application/json- response
id*stringMatch
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Format
uuidrecord*stringMatch
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Format
uuidbody*stringauthor*createdAt*stringFormat
date-timeupdatedAt*stringFormat
date-timeeditedAt*|nullcurl -X POST 'https://retainer.tamloot.cc/v1/records/d2c0648c-2994-4f16-bdf1-a0136be6037d/comments' \ -H 'Authorization: Bearer YOUR_WORKSPACE_API_KEY' \ -H 'Content-Type: application/json' \ -d '{ "body": "Loop in legal before renewal."}'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "record": "4d59c234-2278-409a-b612-f158aa22befe", "body": "string", "author": { "via": "string", "type": "user", "id": "string", "name": "string" }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "editedAt": "2019-08-24T14:15:22Z"}