Organization API

The Organization API is composed of 1 endpoint:

Show Organization

This endpoint is accessible by the organization API key which you can find in your organization settings. It returns information about your organization:

  • Organization name,
  • A list of projects of the organization with their public and private API tokens,
  • A list of collaborators of the organization.

The call should be made using a GET request.

/api/organizations/:organization_token.format [GET]

Where format is one of xml, json or yaml. Note that you can get a JSONP response by adding a ?callback=yourFunctionName parameter to the json API call.

Data structure in JSON:

      "name":"Atelier Convivialit\u00e9",
            "name":"Human Markdown Reference",
            "name":"Test WTIpress",
            "name":"\u00c9douard Bri\u00e8re",

Implementation Example in Ruby:

require 'net/http'
api_key = 'sekret'
http ='', 443)
http.use_ssl = true
request = Net::HTTP::Get("/api/organizations/#{api_key}")
response = http.request(request)

Implementation Example in PHP:

  $api_key = "sekret";
  $ch = curl_init();
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  curl_setopt($ch, CURLOPT_URL, "" . $api_key . ".json");
  $response = curl_exec($ch);
  $p = json_decode($response, true);