API Documentation - Campaigns (V2)

The Tiltify API is organized around REST.
Our API is designed to have predictable, resource-oriented URLs and to use HTTP
response codes to indicate API errors. We use built-in HTTP features, like HTTP
authentication and HTTP verbs. JSON
will be returned in all API responses, including errors.

API
Endpoint

https://tiltify.com/api/v2/

Authentication

You authenticate to the Tiltify API
by providing one of your API keys in the request. Your API key should only be known
by you, so be sure to keep it secret!

A sample test API key has been
provided so you can test out an example right away.

Errors

Tiltify uses conventional HTTP
response codes to indicate success or failure of an API request. In general,
codes in the 2xx range indicate success, codes in the 4xx range indicate an
error that resulted from the provided information.

HTTP
Status Code Summary

200 OK -
Everything worked as expected.

401 Bad
Credentials - No valid API key provided.

404 Bad
Path – Path does not exist.

Versioning

When we make backwards-incompatible
changes to the API, we release new versions.This will allow you to continue to use the prior version.

Campaign

Retrieve detail information and all
donations regarding a Campaign. A unique key is generated for each campaign. The API Key can be found on the Campaign Edit page under Streaming Media. Use this KEY to access campaign and donation data. Below is the curl call to access the campaign detail.