Get portal comment
GET /api/v3/portal_comments/{id}
Request conventions
API key or OAuth2 access token. See Authentication.
Use your account domain and token in copied requests. Request values and conditional fields must satisfy your account’s validation rules.
URL settings
The part before .aha.io. Leave blank to use the example domain.
ID of the portal comment
Response fields
Choose which fields to include in the response. Expand a field for examples and associated fields. Collections can only be returned on the top-level resource, not inside an associated resource.
Default response fields are returned until you select specific fields.
| Field | Type | Returned by default |
|---|---|---|
Unique record ID. | integer | Yes |
URL to view the record in Aha! | string | Yes |
API URL for the record. | string | Yes |
HTML body of the portal comment. | string | Yes |
Who can see the portal comment in ideas portals. Defaults to public. Cannot be set on a reply; replies inherit the visibility of their parent comment. | string | No |
Allowed values: | ||
Whether the portal comment is marked as spam. | boolean | No |
Date and time when the record was created. | date-time | No |
Date and time when the record was last updated. | date-time | No |
Idea the portal comment belongs to. | Idea | No |
Expand this association to browse its response fields. | ||
Author of the portal comment. | IdeaContributor | No |
Expand this association to browse its response fields. | ||
Top-level portal comment being replied to. | PortalComment | No |
Expand this association to browse its response fields. | ||
Ideas portal the comment was submitted through. Empty for comments created in Aha! or the API. | IdeaPortal | No |
Expand this association to browse its response fields. | ||
Files attached to the portal comment. Omitted by default. Request the field for inline records with default sub-fields, or choose sub-fields (e.g., ?fields=attachments[default]). Capped at 25 records. Only available on the top-level resource. | Collection | No |
Collection envelopeRecords use the associated fields below. Type: Required properties: records, has_more. Expand this association to browse its response fields. | ||
Search matches the start of a field path and includes matching associations’ subfields. Use a dotted path to search within a specific association.
Response field selection
Return selected fields with a comma-separated fields parameter, or add a field to the defaults with fields=default,{field}. Expand an association above for its supported subfields and selection examples.
See field selection for details.
Response statuses
Error shape for 401, 403, 404
Type: object
error
Type: object
Required properties: status, code, message, request_id.
status
Type: integer
code
Type: string
message
Type: string
request_id
Type: string
Response envelope and pagination
record: a single record. Fields are documented above.