Virtual tours

Add rooms to a virtual tour

Adds 360° photos to an existing tour. Sequential linking links only the new stretch (last existing room ↔ first new room, then each new room ↔ next); existing links are kept. Costs max(3, ceil(newRooms/3)) credits. Asynchronous: the tour stays live; poll /api/get_virtual_tour until status is "ready" again. Images stored from URLs count toward the daily upload limit (30/day free, 500/day paid); over it, 429 upload_limit and nothing is stored.

post/api/add_virtual_tour_scenes

Request

  • Base URL: https://app.pedra.ai
  • URL: https://app.pedra.ai/api/add_virtual_tour_scenes
  • Auth: none required

Request body

apiKeystring required

Account API key, sent in the request body. Get one at https://app.pedra.ai under Settings → API.

tourIdstring required
linking'sequential' | 'none'

Response

Scenes being added.

tourIdstring
propertyIdstring
namestring nullable
status'processing' | 'ready' | 'failed'
tourUrlstring

Public tour page. Stable across edits.

embedCodestring

Ready-to-paste <iframe> for the tour.

appUrlstring nullable

The property in the Pedra app.

shareableboolean

false on free-plan accounts: the tour builds, but its public link shows an upgrade page.

shareableNotestring

Present when shareable is false.

sceneCountinteger
linkCountinteger
coverImageUrlstring nullable
createdAtstring date-time
updatedAtstring date-time
errorstring

Present when status is failed.

lastErrorstring

Present on a ready tour whose last add_virtual_tour_scenes failed.

creditsCostinteger
estimatedSecondsinteger
messagestring

Changes

No recorded changes to this operation across all 1 revision of this API.