Pixie Genie Logo

Pixie Genie

by Saasy Soup

Getting Started

Prerequisites

Before you begin, ensure you have the following:

  • An API key from your Pixie Genie app (sign up at Home)

Authentication

API key is passed on as a Bearer token in the Authorization header for any API request that is being made.

Without API key, you will receive a 401 error with Authorization failure message.

1Authorization: Bearer YOUR_API_KEY

Note: Replace YOUR_API_KEY with your api key.

API endpoint

We only accept JSON content in the body to process the image.

AttributeValue
MethodPOST
URLpixiegenie.saasysoup.com/api/v1/image.png
HeaderAuthorization: Bearer YOUR_API_KEY
BodyJSON data

Validation

If the JSON is not as per the API contract for Image template defined in the API reference, you ll recieve a validation error along with an error message to correct the error.

Error Codes with meaning

We use standard error codes to define any error along with the error message.

Use the following reference to understand more about an error.

Note: Error API calls are not counted as a valid api call and is not counted for billing

Error CodeMeaning
400Bad Request -- Your request is invalid.
401Unauthorized -- Your API key is wrong.
404Not Found -- The specified template could not be found.
405Method Not Allowed -- You tried to access an endpoint with an invalid method.
406Not Acceptable -- You requested a format that isn't json.
429Too Many Requests -- Too many request! Slow down!
500Internal Server Error -- We had a problem with our server. Try again later.