post
https://api.duodeal.app/api/pins//comments
Adds a new comment to an existing pin.
-
Anonymous users: Must provide
authorNameand optionallyauthorEmail- Authenticated users: Author info is automatically set from user profile (can add
X-API-KEYheader)
Path ParametersParameter Type Required Description pinUuidstring (UUID) Yes Pin unique identifier Body FieldsField Type Required Description contentstring Yes Comment content authorNamestring No* Name of the author (*required if anonymous) authorEmailstring No Email of the author Response FieldsField Type Description uuidstring Comment unique identifier contentstring Comment text authorNamestring Author name authorEmailstring Author email authorobject/null User object if authenticated createdAtdatetime Creation timestamp Response201 Created: Comment successfully created400 Bad Request: Missing content field404 Not Found: Pin not found
- Authenticated users: Author info is automatically set from user profile (can add
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
201Resource created
400Bad request
401Unauthorized
