GET
/
api
/
v1
/
getItem
/
{spaceId}
/
{itemId}
curl --request GET \
  --url https://hero.page/api/v1/getItem/{spaceId}/{itemId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "title": "<string>",
  "note": "<string>",
  "img": "<string>",
  "url": "<string>",
  "pageID": "<string>",
  "spaceID": "<string>",
  "sortIndex": 123,
  "send_approval_email": true,
  "readMorePageSlug": "<string>",
  "is_archived": true,
  "completed": true,
  "actionType": "<string>",
  "fileURL": "<string>",
  "fileName": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "is_image_full_width": true,
  "submitted_by": {},
  "urlMetadata": {},
  "image_generated_on_hero": true,
  "isAIPrompt": true,
  "owner_uid": "<string>",
  "ticketType": "<string>",
  "generated_by": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

spaceId
string
required

The ID of the space where the item is located. Must be a non-empty string.

Example:

"F5VHE7m4xJJpXcZXcqut"

itemId
string
required

The ID of the item to retrieve. Must be a non-empty string.

Example:

"xVkvt0FpsagnnhvmpdAi"

Response

200
application/json
OK
id
string
title
string
note
string
img
string
url
string
pageID
string
spaceID
string
sortIndex
integer
send_approval_email
boolean
readMorePageSlug
string
is_archived
boolean
completed
boolean
actionType
string
fileURL
string
fileName
string
createdAt
string
is_image_full_width
boolean
submitted_by
object
urlMetadata
object
image_generated_on_hero
boolean
isAIPrompt
boolean
owner_uid
string
ticketType
string
generated_by
object