Skip to main content

Get Content File Url

POST 

/v2.0/hotels/content

Introduction​

Returns a presigned URL to download bulk static content (hotel properties or cities), identified by Niara's own internal IDs. The underlying file is regenerated once a day; the URL itself expires 1 hour after being issued, after which a new one must be requested.

Request​

Body

itself expires 1 hour after being issued.

    externalRequestId stringnullable

    Your id for this call, up to 128 printable characters. Returned as is in the response, success or error, and kept in our logs: quote it when contacting support, even if the response never reached you. Use a new value for each call.

    timestamp stringnullable

    When you sent this request, by your clock: ISO 8601 with a timezone offset, e.g. 2026-11-13T14:32:05.120-03:00. Kept in our logs.

    contentType required

    Possible values: [properties, cities]

    Which content file to retrieve.

Responses​

Schema
    requestId stringnullable

    Our id for this call, also in the X-Request-Id header. Quote it when contacting support.

    externalRequestId stringnullable

    The externalRequestId of the request, as sent. Absent when it wasn't sent.

    timestamp stringnullable

    When we answered, by our clock: ISO 8601 in UTC, e.g. 2026-11-13T17:32:05.874Z.

    fileUrl stringrequired

    Presigned URL to download the requested content file. Expires 1 hour after being issued.

Loading...