POST
/
upload-image
from playbookNetworkClient import PlaybookClient

 def setup(self):
 self.playbookClient = PlaybookClient()
 self.playbookClient.set_api_key({your api key})

 def upload_image(self, image: Union[str, bytes]):
  result = self.playbookClient.upload_image_to_playbook(image)
{
  "message": "Image Uploaded succesfully"
}

Headers

x-api-key
string

Your API key. This is required by most endpoints to access our API programatically. You can view your x-api-key using the 'Profile' tab on the website.

Body

application/json
file_path
string

The file path to upload.

file
object

File binary to upload

Response

200
application/json
Successful Response
message
string