Developers: API

API Address / URL

We have two servers for the API, a test server for you to get your App connected up to our system, and a live server for when you are ready.Both servers will require your App username and App
Read more

API Response: Record Fields

Data sent back to your in the response will have records with the following fields:iidType: IntegerDescription: Record unique ID number.production_idType: IntegerDescription: Unique ID for the
Read more

API Function: read_all

The read_all function retrieves all records associated with a given production.See record fields for more information on the fields returned.Example JSON request for this function: {    
Read more

API Function: lookups

The lookups function retrieves all major lookup fields for records (not productions). This can be useful for populating dropdown menus. We request that you make a local copy and run a periodic script
Read more

API Function: user_productions

The user_productions function retrieves all productions that are active for the user and for which they have access. The user's access level will affect how the API can interact with records in a
Read more

API Functions

The following functions have been created for the API. Note that your access to these functions may be limited by the restrictions on your App. Use app_details to check
Read more

Method and Preferred Approach

Please use POST as your method for the Greenlit API. We do not accept other methods.Ideally, use CURL to process your request.Ensure your request comes from a secured domain (https) with a valid
Read more

Rate Limit and Exponential Decay

We implement rate limit protection in our API. To protect your App or a user from being blocked we strongly suggest that you implement an exponential decay in the event of any request failures.Below
Read more

API Headers

The Greenlit API requires the following headers:content-type: application/jsonapp-usernameapp-authorisationoriginHere is a CURL example in PHP:curl_setopt($curl, CURLOPT_HTTPHEADER, array( 
Read more

No luck what you're looking for?

Let us know details about your question. We'll get back to you!