Run in Apidog
Create a new Comment and store it for this collection Because oAuth is authenticated by a user, this is the user creating this comment. For integrations that are not user specific, customers are advised to create a separate user specifically for this integration.
Request Add parameter in header x-api-key
Example: x-api-key: ********************
Add parameter in header x-api-env
Example: x-api-env: ********************
or
Body Params application/json
{
"text" : "string" ,
"user_mentions" : [
{
"user_id" : "a169451c-8525-4352-b8ca-070dd449a1a5" ,
"name" : "string" ,
"tag" : "string" ,
"indices" : [
0
]
}
] ,
"collection_id" : "4bdef85c-3f50-4006-a713-2350da665f80" ,
"user_id" : "a169451c-8525-4352-b8ca-070dd449a1a5"
}
Request Code Samples
curl --location --request POST 'https://api.vplan.com/v1/collection//comment' \
--header 'Content-Type: application/json' \
--header 'x-api-key;' \
--header 'x-api-env;' \
--data-raw '{
"text": "string",
"user_mentions": [
{
"user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
"name": "string",
"tag": "string",
"indices": [
0
]
}
],
"collection_id": "4bdef85c-3f50-4006-a713-2350da665f80",
"user_id": "a169451c-8525-4352-b8ca-070dd449a1a5"
}'
Responses application/json Generate Code
{
"id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"text" : "string" ,
"user_mentions" : [
{
"id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"user_id" : "a169451c-8525-4352-b8ca-070dd449a1a5" ,
"name" : "string" ,
"tag" : "string" ,
"indices" : [
0
] ,
"created_at" : "2019-08-24T14:15:22Z" ,
"updated_at" : "2019-08-24T14:15:22Z"
}
] ,
"collection_id" : "4bdef85c-3f50-4006-a713-2350da665f80" ,
"user_id" : "a169451c-8525-4352-b8ca-070dd449a1a5" ,
"created_at" : "2024-04-11T10:22:15Z" ,
"updated_at" : "2024-04-11T10:22:15Z"
}
Modified at 2025-07-22 14:20:42