Availability

List available shoot start times

Returns available shoot start times for a location, local date, shoot type and duration. All times within the local date are returned, formatted in UTC.

Provide either latitude and longitude, or address. If both are provided, only latitude and longitude are used. Always check availability before creating a booking with start_at set.

get/availability

Request

  • Base URL
    https://api.snappr.com
  • URL
    https://api.snappr.com/availability
  • Auth
    HTTP bearer

Query parameters

latitudenumber

Latitude of the shoot location. Required together with longitude when address is not provided.

longitudenumber

Longitude of the shoot location. Required together with latitude when address is not provided.

addressstring

Address of the shoot location, as a Google Maps–valid address. Required when latitude and longitude are not provided.

shoottypestring required

Shoot type name (see listShootTypes), e.g. event.

durationinteger required

Length of the shoot in minutes.

datestring date required

Local date (YYYY-MM-DD) to check.

days_spaninteger

Number of consecutive days, starting at date, to return availability for.

creator_idstring uuid

Return availability for this specific creator only.

Headers

accept-versionstring

API version. The only version is 1.0.0.

Response

Available start times.

latitudenumber required
longitudenumber required
shoottypestring required
durationinteger required

Shoot length in minutes.

datestring date required
timezonestring required

IANA timezone of the location.

available_timesstring[] required

Available shoot start times, in UTC.

Example response

{
  "timezone": "America/Los_Angeles"
}

Changes

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