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 Body Params application/json
user_mentions
array  [object {7}]Â
optional
created_at
string  <date-time>
required
updated_at
string  <date-time>
required collection_id
string  <uuid>
required Unique identifier of the Collection
Unique identifier of the User
{
"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"
}
Request samples curl --location --request POST 'https://api.vplan.com/v1/collection//comment' \
--header 'x-api-key;' \
--header 'x-api-env;' \
--header 'Content-Type: application/json' \
--data-raw '{
"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"
}'
Responses application/json Generate Code
user_mentions
array  [object {7}]Â
optional
created_at
string  <date-time>
required
updated_at
string  <date-time>
required collection_id
string  <uuid>
required Unique identifier of the Collection
Unique identifier of the User
created_at
string  <date-time>
read-only optional Date and time of creation
Example: 2024-04-11T10:22:15Z
updated_at
string  <date-time>
read-only optional Date and time of last update
Example: 2024-04-11T10:22:15Z
{
"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-05-26 13:17:47