v1

latestOpenAPI 3.0.02026-08-061380344.2 KB
Photos

Create Photo

Add a photo to a resource.

Parameters

photo_file REQUIRED

A Base64 encoded string representing a photo file. The following file types are supported:

  • gif
  • jpeg
  • png
  • mov
  • mp4
  • m4v
  • avi

And the max file size and number of photos attached to a related resource is limited by your plan type.


longitude OPTIONAL

Longitude of the photo location


latitude OPTIONAL

Latitude of the photo location

post/{resource_name}/{resource_id}/photos

Path parameters

resource_namestring required
resource_idstring required

Headers

Content-Typestring

Request body

object required

Example request

{
  "photo_file": "data:image/png;base64,...",
  "longitude": null,
  "latitude": null
}

Response

Successful response