Clever Developer Docs

Suggest Edits

Overview and Best Practices

API Version 2.0, published 11/03/2017

 

Clever guarantees required fields are always present in the given resource. Clever guarantees fields with validation will only contain the possible values or formats listed. All other data is shown as it exists in the source system.

Data availability is subject to the decision of schools or districts to share their data.

Resource availability depends on your application's scopes.

Schema

Our API Explorer (below!) allows you to test out endpoints. In addition, the /{record type}/{id} endpoints contain the detailed list of fields for each record type. Information that is guaranteed, as well as data that is validated or normalized by Clever, will be marked on that endpoint.

Testing the API Explorer

Use your API token here if you have one, or you can use 'TEST_TOKEN' to explore the API.

For relationships between records and our full schema, check out Clever's Data Model.

Paging

Queries on the Clever API can return large numbers of results. To improve performance and make the data more consumable, the Clever API supports paginating large responses.

To iterate through results, you should follow the rel:next link contained with every set of results. For example, querying the /students endpoint with a district bearer token you might see the following:

"links": [
    {
      "rel": "next",
      "uri": "/v1.1/students?starting_after=530e5961049e75a9262cffe4"
    }
  ]

The link uses the starting_after parameter to jump to the next page of results. This form of pagination is called range-based pagination. Elements are returned sorted with ascending IDs (based on create time).

Using relative links for pagination

If there are more results to consume, the response's links object will have a rel link called next, that lets you query the next page of results. Similarly, there may be a prev link for the previous page of results.

Example links object for request GET /v1.2/districts?starting_after=53ced71e65a64d5918157c04:

"links": [
    {
        "rel": "self",
        "uri": "/v1.1/districts?starting_after=53ced71e65a64d5918157c04"
    },
    {
        "rel": "next",
        "uri": "/v1.1/districts?starting_after=56fad73b82c6fd818c6b48cc"
    },
    {
        "rel": "prev",
        "uri": "/v1.1/districts?ending_before=53ced71e65a64d5918157c04"
    }
]

starting_after queries may have prev links even when there are no previous results. Following such links will return an empty array of data. Similarly, ending_before queries may have next links even when there are no more results, and following those links will return an empty array.

Limits

Rather than serving every result at once, by default the Clever API limits the number of entries in responses to 100 per page. You can change the number of results returned by setting the limit parameter. For instance, GET /v1.1/students?limit=30 returns at most 30 students

The maximum limit is 10000 records per page.

Suggest Edits

API Responses and Error Handling

 
HTTP Response Code
Meaning
Action to take

200

Success

Process the response.

400

Bad request

Check your API token and request body. Do not retry request. The troubleshooting pages for each API also have tips for what to look for!

401

Invalid auth

Check your API token and request body. Do not retry request. The troubleshooting pages for each API also have tips for what to look for!

404

Resource not available

Check your API token and request URL - you may be using the wrong token or the resource may have been unshared with your application or deleted.

413

Request entity too large

Your limit parameter may be over 10000; reduce accordingly.

429

Rate limit exceeded

Try again after rate limit period expires.

500, 502, 503

Clever API failure

Wait and retry request. If you see these regularly, reach out to tech-support@clever.com.

501

Not implemented

Your client is attempting an unsupported request. Try an alternative request. Do not retry request.

Rate Limiting

Requests to Clever are rate-limited. Requests are limited to 1200 requests per minute per Bearer Token (instant login or district). These limits are not averages; rather, the allowed count of requests resets every minute.

Rate-limited requests contain these HTTP response headers:

  • X-RateLimit-Reset: Unix timestamp when the rate limit counter will be reset.
  • X-RateLimit-Limit: The total number of requests allowed in a time period.
  • X-RateLimit-Remaining: Number of requests that can be made until the reset time.
  • X-RateLimit-Bucket: Name of the rate-limit bucket for this request

Request:

HOST api.clever.com
GET /v1.2/students/123
AUTHORIZATION Bearer ABCD

Response headers:

Status: 200 OK
X-RateLimit-Limit: 1200
X-RateLimit-Remaining: 1199
X-RateLimit-Reset: 1394506274
X-RateLimit-Bucket: abc123

In case the client hits a rate limit, an empty response with a 429 Too Many Requests status code is returned.

Request:

HOST api.clever.com
GET /v1.2/students/123
AUTHORIZATION Bearer ABC

Response headers:

Status: 429 Too Many Requests
X-RateLimit-Limit: 1200
X-RateLimit-Remaining: 0
X-RateLimit-Reset: 1394506274
X-RateLimit-Bucket: abc123

Retrying requests after errors

When a request against the Clever API fails, use a retry strategy with exponential backoff (i.e. wait 1 second after first error, then 2, then 4, etc.). If you are unable to receive a successful response after five retries, you may want to cease the sync and resume at a later time.

See example exponential backoff implementations in PHP and C#.

Is Clever down?

It's unlikely that our APIs are down, but parts of the API naturally have outages here and there. Check status.clever.com to see how Clever is doing or review past outages. You can even subscribe to notifications so you'll always know what's going on.

Suggest Edits

clever.com/oauth/tokens

 
gethttps://clever.com/oauth/tokens
curl --request GET \
  --url 'https://clever.com/oauth/tokens?owner_type=district'
var request = require("request");

var options = { method: 'GET',
  url: 'https://clever.com/oauth/tokens',
  qs: { owner_type: 'district' } };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://clever.com/oauth/tokens?owner_type=district")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://clever.com/oauth/tokens?owner_type=district");

xhr.send(data);
import requests

url = "https://clever.com/oauth/tokens"

querystring = {"owner_type":"district"}

response = requests.request("GET", url, params=querystring)

print(response.text)
A binary file was returned

You couldn't be authenticated

Try the API to see results

Query Params

owner_type
string
required

This parameter is required, and "district" is the only supported value

district
string

This parameter allows you to specify which district's token you are querying for - leave this out to query for all active tokens for your application.

Headers

Authorization
string

This endpoint requires HTTP Basic authentication with the username set to your client_id and the password your client_secret. You can do this manually by constructing a string in this format: "<client id>:<client secret>", then encoding the string in Base64.

 

Set your Authorization HTTP header to this encrypted string preceded by the keyword Basic and a space:

basic_auth_header = "Authorization: Basic " + Base64.encode(client_id + ":" client_secret)

Suggest Edits

clever.com/oauth/tokens

 
posthttps://clever.com/oauth/tokens
curl --request POST \
  --url https://clever.com/oauth/tokens
var request = require("request");

var options = { method: 'POST', url: 'https://clever.com/oauth/tokens' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://clever.com/oauth/tokens")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://clever.com/oauth/tokens");

xhr.send(data);
import requests

url = "https://clever.com/oauth/tokens"

response = requests.request("POST", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

Try the API to see results

Body Params

code
string
grant_type
string
redirect_uri
string

Headers

Authorization
string
 
Suggest Edits

clever.com/oauth/tokeninfo

 
gethttps://clever.com/oauth/tokeninfo
curl --request GET \
  --url https://clever.com/oauth/tokeninfo
var request = require("request");

var options = { method: 'GET', url: 'https://clever.com/oauth/tokeninfo' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://clever.com/oauth/tokeninfo")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://clever.com/oauth/tokeninfo");

xhr.send(data);
import requests

url = "https://clever.com/oauth/tokeninfo"

response = requests.request("GET", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

Try the API to see results

Headers

Authorization
string
 
Suggest Edits

api.clever.com/v2.0/me

 
gethttps://api.clever.com/v2.0/me
curl -H 'Authorization: Bearer il_DEMO_BASIC_STUDENT_TOKEN' -X GET https://api.clever.com/v2.0/me
A binary file was returned

You couldn't be authenticated

Try the API to see results

Headers

Authorization
string
 
Suggest Edits

Districts

 
Suggest Edits

/districts

Returns a list of districts

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/districts
curl --request GET \
  --url https://api.clever.com/v2.0/districts
var request = require("request");

var options = { method: 'GET', url: 'https://api.clever.com/v2.0/districts' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/districts")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/districts"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/districts",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/districts")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/districts"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Response

OK Response

dataarray
Suggest Edits

/districts/{id}

Returns a specific district

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/districts/id
curl --request GET \
  --url https://api.clever.com/v2.0/districts/id
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/districts/id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/districts/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/districts/id"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/districts/id",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/districts/id")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/districts/id"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Response

OK Response

dataobject
data.errorstring
data.idstring
data.last_syncstring
data.launch_datestring
data.mdr_numberstring
data.namestring
data.nces_idstring
data.pause_endstring
data.pause_startstring
data.sis_typestring
data.statestring

Entity Not Found

messagestring
 
Suggest Edits

/schools

Returns a list of schools

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/schools
curl --request GET \
  --url https://api.clever.com/v2.0/schools
var request = require("request");

var options = { method: 'GET', url: 'https://api.clever.com/v2.0/schools' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/schools")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/schools"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/schools",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/schools")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/schools"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Query Params

limit
integer
starting_after
string
ending_before
string

Response

OK Response

dataarray
Suggest Edits

/schools/{id}

Returns a specific school

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/schools/id
curl --request GET \
  --url https://api.clever.com/v2.0/schools/id
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/schools/id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/schools/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/schools/id"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/schools/id",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/schools/id")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/schools/id"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Response

OK Response

dataobject
data.createdstring
data.districtstring
data.high_gradestring
data.idstring
data.last_modifiedstring
data.locationobject
data.location.addressstring
data.location.citystring
data.location.latstring
data.location.lonstring
data.location.statestring
data.location.zipstring
data.low_gradestring
data.mdr_numberstring
data.namestring
data.nces_idstring
data.phonestring
data.principalobject
data.principal.emailstring
data.principal.namestring
data.school_numberstring
data.sis_idstring
data.state_idstring

Entity Not Found

messagestring
Suggest Edits

/schools/{id}/district

Returns the district for a school

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/schools/id/district
curl --request GET \
  --url https://api.clever.com/v2.0/schools/id/district
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/schools/id/district' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/schools/id/district")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/schools/id/district"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/schools/id/district",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/schools/id/district")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/schools/id/district"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Response

OK Response

dataobject
data.errorstring
data.idstring
data.last_syncstring
data.launch_datestring
data.mdr_numberstring
data.namestring
data.nces_idstring
data.pause_endstring
data.pause_startstring
data.sis_typestring
data.statestring

Entity Not Found

messagestring
Suggest Edits

/schools/{id}/sections

Returns the sections for a school

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/schools/id/sections
curl --request GET \
  --url https://api.clever.com/v2.0/schools/id/sections
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/schools/id/sections' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/schools/id/sections")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/schools/id/sections"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/schools/id/sections",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/schools/id/sections")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/schools/id/sections"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Query Params

limit
integer
starting_after
string
ending_before
string

Response

OK Response

dataarray

Entity Not Found

messagestring
Suggest Edits

/schools/{id}/students

Returns the students for a school

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/schools/id/students
curl --request GET \
  --url https://api.clever.com/v2.0/schools/id/students
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/schools/id/students' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/schools/id/students")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/schools/id/students"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/schools/id/students",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/schools/id/students")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/schools/id/students"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Query Params

limit
integer
starting_after
string
ending_before
string

Response

OK Response

dataarray

Entity Not Found

messagestring
Suggest Edits

/schools/{id}/teachers

Returns the teachers for a school

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/schools/id/teachers
curl --request GET \
  --url https://api.clever.com/v2.0/schools/id/teachers
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/schools/id/teachers' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/schools/id/teachers")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/schools/id/teachers"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/schools/id/teachers",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/schools/id/teachers")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/schools/id/teachers"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Query Params

limit
integer
starting_after
string
ending_before
string

Response

OK Response

dataarray

Entity Not Found

messagestring
Suggest Edits

/terms

Returns a list of terms

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/terms
curl --request GET \
  --url https://api.clever.com/v2.0/terms
var request = require("request");

var options = { method: 'GET', url: 'https://api.clever.com/v2.0/terms' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/terms")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/terms"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/terms",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/terms")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/terms"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Query Params

limit
integer
starting_after
string
ending_before
string

Response

OK Response

dataarray
Suggest Edits

/terms/{id}

Returns a specific term

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/terms/id
curl --request GET \
  --url https://api.clever.com/v2.0/terms/id
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/terms/id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/terms/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/terms/id"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/terms/id",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/terms/id")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/terms/id"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Response

OK Response

dataobject
data.end_datestring
data.idstring
data.namestring
data.start_datestring

Entity Not Found

messagestring
Suggest Edits

/terms/{id}/district

Returns the district for a term

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/terms/id/district
curl --request GET \
  --url https://api.clever.com/v2.0/terms/id/district
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/terms/id/district' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/terms/id/district")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/terms/id/district"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/terms/id/district",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/terms/id/district")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/terms/id/district"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Response

OK Response

dataobject
data.errorstring
data.idstring
data.last_syncstring
data.launch_datestring
data.mdr_numberstring
data.namestring
data.nces_idstring
data.pause_endstring
data.pause_startstring
data.sis_typestring
data.statestring

Entity Not Found

messagestring
Suggest Edits

/terms/{id}/sections

Returns the sections for a term

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/terms/id/sections
curl --request GET \
  --url https://api.clever.com/v2.0/terms/id/sections
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/terms/id/sections' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/terms/id/sections")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/terms/id/sections"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/terms/id/sections",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/terms/id/sections")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/terms/id/sections"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Query Params

limit
integer
starting_after
string
ending_before
string

Response

OK Response

dataarray

Entity Not Found

messagestring
 
Suggest Edits

/courses

Returns a list of courses

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/courses
curl --request GET \
  --url https://api.clever.com/v2.0/courses
var request = require("request");

var options = { method: 'GET', url: 'https://api.clever.com/v2.0/courses' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/courses")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/courses"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/courses",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/courses")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/courses"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Query Params

limit
integer
starting_after
string
ending_before
string

Response

OK Response

dataarray
Suggest Edits

/courses/{id}

Returns a specific course

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/courses/id
curl --request GET \
  --url https://api.clever.com/v2.0/courses/id
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/courses/id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/courses/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/courses/id"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/courses/id",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/courses/id")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/courses/id"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Response

OK Response

dataobject
data.idstring
data.namestring
data.numberstring

Entity Not Found

messagestring
Suggest Edits

/courses/{id}/district

Returns the district for a course

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/courses/id/district
curl --request GET \
  --url https://api.clever.com/v2.0/courses/id/district
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/courses/id/district' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/courses/id/district")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/courses/id/district"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/courses/id/district",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/courses/id/district")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/courses/id/district"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Response

OK Response

dataobject
data.errorstring
data.idstring
data.last_syncstring
data.launch_datestring
data.mdr_numberstring
data.namestring
data.nces_idstring
data.pause_endstring
data.pause_startstring
data.sis_typestring
data.statestring

Entity Not Found

messagestring
Suggest Edits

/courses/{id}/sections

Returns the sections for a Courses

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/courses/id/sections
curl --request GET \
  --url https://api.clever.com/v2.0/courses/id/sections
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/courses/id/sections' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/courses/id/sections")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/courses/id/sections"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/courses/id/sections",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/courses/id/sections")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/courses/id/sections"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Query Params

limit
integer
starting_after
string
ending_before
string

Response

OK Response

dataarray

Entity Not Found

messagestring
 
Suggest Edits

/sections

Returns a list of sections

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/sections
curl --request GET \
  --url https://api.clever.com/v2.0/sections
var request = require("request");

var options = { method: 'GET', url: 'https://api.clever.com/v2.0/sections' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/sections")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/sections"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/sections",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/sections")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/sections"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Query Params

limit
integer
starting_after
string
ending_before
string

Response

OK Response

dataarray
Suggest Edits

/sections/{id}

Returns a specific section

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/sections/id
curl --request GET \
  --url https://api.clever.com/v2.0/sections/id
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/sections/id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/sections/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/sections/id"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/sections/id",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/sections/id")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/sections/id"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Response

OK Response

dataobject
data.coursestring
data.createdstring
data.districtstring
data.gradestring
data.idstring
data.last_modifiedstring
data.namestring
data.periodstring
data.schoolstring
data.section_numberstring
data.sis_idstring
data.studentsarray
data.subjectstring
data.teacherstring
data.teachersarray
data.term_idstring

Entity Not Found

messagestring
Suggest Edits

/sections/{id}/course

Returns the course for a section

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/sections/id/course
curl --request GET \
  --url https://api.clever.com/v2.0/sections/id/course
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/sections/id/course' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/sections/id/course")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/sections/id/course"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/sections/id/course",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/sections/id/course")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/sections/id/course"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Response

OK Response

dataobject
data.idstring
data.namestring
data.numberstring

Entity Not Found

messagestring
Suggest Edits

/sections/{id}/district

Returns the district for a section

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/sections/id/district
curl --request GET \
  --url https://api.clever.com/v2.0/sections/id/district
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/sections/id/district' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/sections/id/district")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/sections/id/district"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/sections/id/district",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/sections/id/district")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/sections/id/district"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Response

OK Response

dataobject
data.errorstring
data.idstring
data.last_syncstring
data.launch_datestring
data.mdr_numberstring
data.namestring
data.nces_idstring
data.pause_endstring
data.pause_startstring
data.sis_typestring
data.statestring

Entity Not Found

messagestring
Suggest Edits

/sections/{id}/school

Returns the school for a section

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/sections/id/school
curl --request GET \
  --url https://api.clever.com/v2.0/sections/id/school
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/sections/id/school' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/sections/id/school")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/sections/id/school"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/sections/id/school",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/sections/id/school")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/sections/id/school"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Response

OK Response

dataobject
data.createdstring
data.districtstring
data.high_gradestring
data.idstring
data.last_modifiedstring
data.locationobject
data.location.addressstring
data.location.citystring
data.location.latstring
data.location.lonstring
data.location.statestring
data.location.zipstring
data.low_gradestring
data.mdr_numberstring
data.namestring
data.nces_idstring
data.phonestring
data.principalobject
data.principal.emailstring
data.principal.namestring
data.school_numberstring
data.sis_idstring
data.state_idstring

Entity Not Found

messagestring
Suggest Edits

/sections/{id}/students

Returns the students for a section

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/sections/id/students
curl --request GET \
  --url https://api.clever.com/v2.0/sections/id/students
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/sections/id/students' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/sections/id/students")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/sections/id/students"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/sections/id/students",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/sections/id/students")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/sections/id/students"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Query Params

limit
integer
starting_after
string
ending_before
string

Response

OK Response

dataarray

Entity Not Found

messagestring
Suggest Edits

/sections/{id}/teacher

Returns the primary teacher for a section

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/sections/id/teacher
curl --request GET \
  --url https://api.clever.com/v2.0/sections/id/teacher
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/sections/id/teacher' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/sections/id/teacher")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/sections/id/teacher"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/sections/id/teacher",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/sections/id/teacher")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/sections/id/teacher"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Response

OK Response

dataobject
data.createdstring
data.credentialsobject
data.credentials.district_usernamestring
data.districtstring
data.emailstring
data.idstring
data.last_modifiedstring
data.nameobject
data.name.firststring
data.name.laststring
data.name.middlestring
data.schoolstring
data.schoolsarray
data.sis_idstring
data.state_idstring
data.teacher_numberstring
data.titlestring

Entity Not Found

messagestring
Suggest Edits

/sections/{id}/teachers

Returns the teachers for a section

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/sections/id/teachers
curl --request GET \
  --url https://api.clever.com/v2.0/sections/id/teachers
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/sections/id/teachers' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/sections/id/teachers")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/sections/id/teachers"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/sections/id/teachers",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/sections/id/teachers")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/sections/id/teachers"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Query Params

limit
integer
starting_after
string
ending_before
string

Response

OK Response

dataarray

Entity Not Found

messagestring
Suggest Edits

/sections/{id}/term

Returns the term for a section

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/sections/id/term
curl --request GET \
  --url https://api.clever.com/v2.0/sections/id/term
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/sections/id/term' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/sections/id/term")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/sections/id/term"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/sections/id/term",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/sections/id/term")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/sections/id/term"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Response

OK Response

dataobject
data.end_datestring
data.idstring
data.namestring
data.start_datestring

Entity Not Found

messagestring
 
Suggest Edits

/students

Returns a list of students

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/students
curl --request GET \
  --url https://api.clever.com/v2.0/students
var request = require("request");

var options = { method: 'GET', url: 'https://api.clever.com/v2.0/students' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/students")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/students"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/students",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/students")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/students"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Query Params

limit
integer
starting_after
string
ending_before
string

Response

OK Response

dataarray
Suggest Edits

/students/{id}

Returns a specific student

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/students/id
curl --request GET \
  --url https://api.clever.com/v2.0/students/id
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/students/id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/students/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/students/id"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/students/id",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/students/id")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/students/id"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Response

OK Response

dataobject
data.createdstring
data.credentialsobject
data.credentials.district_usernamestring
data.districtstring
data.dobstring
data.ell_statusstring
data.emailstring
data.genderstring
data.gradestring
data.graduation_yearstring
data.hispanic_ethnicitystring
data.idstring
data.last_modifiedstring
data.locationobject
data.location.addressstring
data.location.citystring
data.location.latstring
data.location.lonstring
data.location.statestring
data.location.zipstring
data.nameobject
data.name.firststring
data.name.laststring
data.name.middlestring
data.racestring
data.schoolstring
data.schoolsarray
data.sis_idstring
data.state_idstring
data.student_numberstring

Entity Not Found

messagestring
Suggest Edits

/students/{id}/contacts

Returns the contacts for a student

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/students/id/contacts
curl --request GET \
  --url https://api.clever.com/v2.0/students/id/contacts
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/students/id/contacts' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/students/id/contacts")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/students/id/contacts"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/students/id/contacts",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/students/id/contacts")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/students/id/contacts"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Query Params

limit
integer
starting_after
string
ending_before
string

Response

OK Response

dataarray

Entity Not Found

messagestring
Suggest Edits

/students/{id}/district

Returns the district for a student

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/students/id/district
curl --request GET \
  --url https://api.clever.com/v2.0/students/id/district
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/students/id/district' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/students/id/district")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/students/id/district"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/students/id/district",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/students/id/district")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/students/id/district"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Response

OK Response

dataobject
data.errorstring
data.idstring
data.last_syncstring
data.launch_datestring
data.mdr_numberstring
data.namestring
data.nces_idstring
data.pause_endstring
data.pause_startstring
data.sis_typestring
data.statestring

Entity Not Found

messagestring
Suggest Edits

/students/{id}/school

Returns the primary school for a student

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/students/id/school
curl --request GET \
  --url https://api.clever.com/v2.0/students/id/school
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/students/id/school' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/students/id/school")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/students/id/school"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/students/id/school",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/students/id/school")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/students/id/school"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Response

OK Response

dataobject
data.createdstring
data.districtstring
data.high_gradestring
data.idstring
data.last_modifiedstring
data.locationobject
data.location.addressstring
data.location.citystring
data.location.latstring
data.location.lonstring
data.location.statestring
data.location.zipstring
data.low_gradestring
data.mdr_numberstring
data.namestring
data.nces_idstring
data.phonestring
data.principalobject
data.principal.emailstring
data.principal.namestring
data.school_numberstring
data.sis_idstring
data.state_idstring

Entity Not Found

messagestring
Suggest Edits

/students/{id}/schools

Returns the schools for a student

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/students/id/schools
curl --request GET \
  --url https://api.clever.com/v2.0/students/id/schools
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/students/id/schools' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/students/id/schools")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/students/id/schools"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/students/id/schools",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/students/id/schools")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/students/id/schools"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Query Params

limit
integer
starting_after
string
ending_before
string

Response

OK Response

dataarray

Entity Not Found

messagestring
Suggest Edits

/students/{id}/sections

Returns the sections for a student

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/students/id/sections
curl --request GET \
  --url https://api.clever.com/v2.0/students/id/sections
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/students/id/sections' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/students/id/sections")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/students/id/sections"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/students/id/sections",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/students/id/sections")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/students/id/sections"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Query Params

limit
integer
starting_after
string
ending_before
string

Response

OK Response

dataarray

Entity Not Found

messagestring
Suggest Edits

/students/{id}/teachers

Returns the teachers for a student

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/students/id/teachers
curl --request GET \
  --url https://api.clever.com/v2.0/students/id/teachers
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/students/id/teachers' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/students/id/teachers")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/students/id/teachers"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/students/id/teachers",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/students/id/teachers")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/students/id/teachers"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Query Params

limit
integer
starting_after
string
ending_before
string

Response

OK Response

dataarray

Entity Not Found

messagestring
 
Suggest Edits

/teachers

Returns a list of teachers

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/teachers
curl --request GET \
  --url https://api.clever.com/v2.0/teachers
var request = require("request");

var options = { method: 'GET', url: 'https://api.clever.com/v2.0/teachers' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/teachers")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/teachers"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/teachers",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/teachers")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/teachers"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Query Params

limit
integer
starting_after
string
ending_before
string

Response

OK Response

dataarray
Suggest Edits

/teachers/{id}

Returns a specific teacher

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/teachers/id
curl --request GET \
  --url https://api.clever.com/v2.0/teachers/id
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/teachers/id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/teachers/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/teachers/id"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/teachers/id",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/teachers/id")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/teachers/id"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Response

OK Response

dataobject
data.createdstring
data.credentialsobject
data.credentials.district_usernamestring
data.districtstring
data.emailstring
data.idstring
data.last_modifiedstring
data.nameobject
data.name.firststring
data.name.laststring
data.name.middlestring
data.schoolstring
data.schoolsarray
data.sis_idstring
data.state_idstring
data.teacher_numberstring
data.titlestring

Entity Not Found

messagestring
Suggest Edits

/teachers/{id}/district

Returns the district for a teacher

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/teachers/id/district
curl --request GET \
  --url https://api.clever.com/v2.0/teachers/id/district
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/teachers/id/district' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/teachers/id/district")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/teachers/id/district"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/teachers/id/district",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/teachers/id/district")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/teachers/id/district"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Response

OK Response

dataobject
data.errorstring
data.idstring
data.last_syncstring
data.launch_datestring
data.mdr_numberstring
data.namestring
data.nces_idstring
data.pause_endstring
data.pause_startstring
data.sis_typestring
data.statestring

Entity Not Found

messagestring
Suggest Edits

/teachers/{id}/school

Retrieves school info for a teacher.

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/teachers/id/school
curl --request GET \
  --url https://api.clever.com/v2.0/teachers/id/school
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/teachers/id/school' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/teachers/id/school")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/teachers/id/school"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/teachers/id/school",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/teachers/id/school")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/teachers/id/school"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Response

OK Response

dataobject
data.createdstring
data.districtstring
data.high_gradestring
data.idstring
data.last_modifiedstring
data.locationobject
data.location.addressstring
data.location.citystring
data.location.latstring
data.location.lonstring
data.location.statestring
data.location.zipstring
data.low_gradestring
data.mdr_numberstring
data.namestring
data.nces_idstring
data.phonestring
data.principalobject
data.principal.emailstring
data.principal.namestring
data.school_numberstring
data.sis_idstring
data.state_idstring

Entity Not Found

messagestring
Suggest Edits

/teachers/{id}/schools

Returns the schools for a teacher

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/teachers/id/schools
curl --request GET \
  --url https://api.clever.com/v2.0/teachers/id/schools
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/teachers/id/schools' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/teachers/id/schools")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/teachers/id/schools"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/teachers/id/schools",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/teachers/id/schools")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/teachers/id/schools"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Query Params

limit
integer
starting_after
string
ending_before
string

Response

OK Response

dataarray

Entity Not Found

messagestring
Suggest Edits

/teachers/{id}/sections

Returns the sections for a teacher

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/teachers/id/sections
curl --request GET \
  --url https://api.clever.com/v2.0/teachers/id/sections
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/teachers/id/sections' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/teachers/id/sections")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/teachers/id/sections"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/teachers/id/sections",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/teachers/id/sections")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/teachers/id/sections"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Query Params

limit
integer
starting_after
string
ending_before
string

Response

OK Response

dataarray

Entity Not Found

messagestring
Suggest Edits

/teachers/{id}/students

Returns the students for a teacher

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/teachers/id/students
curl --request GET \
  --url https://api.clever.com/v2.0/teachers/id/students
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/teachers/id/students' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/teachers/id/students")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/teachers/id/students"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/teachers/id/students",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/teachers/id/students")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/teachers/id/students"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Query Params

limit
integer
starting_after
string
ending_before
string

Response

OK Response

dataarray

Entity Not Found

messagestring
Suggest Edits

School Admins

 
Suggest Edits

/school_admins

Returns a list of school admins

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/school_admins
curl --request GET \
  --url https://api.clever.com/v2.0/school_admins
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/school_admins' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/school_admins")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/school_admins"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/school_admins",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/school_admins")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/school_admins"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Query Params

limit
integer
starting_after
string
ending_before
string

Response

OK Response

dataarray
Suggest Edits

/school_admins/{id}

Returns a specific school admin

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/school_admins/id
curl --request GET \
  --url https://api.clever.com/v2.0/school_admins/id
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/school_admins/id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/school_admins/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/school_admins/id"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/school_admins/id",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/school_admins/id")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/school_admins/id"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Response

OK Response

dataobject
data.credentialsobject
data.credentials.district_usernamestring
data.districtstring
data.emailstring
data.idstring
data.nameobject
data.name.firststring
data.name.laststring
data.name.middlestring
data.schoolsarray
data.staff_idstring
data.titlestring

Entity Not Found

messagestring
Suggest Edits

/school_admins/{id}/district

Returns the district for a school admin

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/school_admins/id/district
curl --request GET \
  --url https://api.clever.com/v2.0/school_admins/id/district
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/school_admins/id/district' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/school_admins/id/district")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/school_admins/id/district"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/school_admins/id/district",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/school_admins/id/district")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/school_admins/id/district"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Response

OK Response

dataobject
data.errorstring
data.idstring
data.last_syncstring
data.launch_datestring
data.mdr_numberstring
data.namestring
data.nces_idstring
data.pause_endstring
data.pause_startstring
data.sis_typestring
data.statestring

Entity Not Found

messagestring
Suggest Edits

/school_admins/{id}/schools

Returns the schools for a school admin

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/school_admins/id/schools
curl --request GET \
  --url https://api.clever.com/v2.0/school_admins/id/schools
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/school_admins/id/schools' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/school_admins/id/schools")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/school_admins/id/schools"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/school_admins/id/schools",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/school_admins/id/schools")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/school_admins/id/schools"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Query Params

limit
integer
starting_after
string
ending_before
string

Response

OK Response

dataarray

Entity Not Found

messagestring
Suggest Edits

District Admins

 
Suggest Edits

/district_admins

Returns a list of district admins

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/district_admins
curl --request GET \
  --url https://api.clever.com/v2.0/district_admins
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/district_admins' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/district_admins")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/district_admins"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/district_admins",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/district_admins")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/district_admins"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Query Params

limit
integer
starting_after
string
ending_before
string

Response

OK Response

dataarray
Suggest Edits

/district_admins/{id}

Returns a specific district admin

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/district_admins/id
curl --request GET \
  --url https://api.clever.com/v2.0/district_admins/id
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/district_admins/id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/district_admins/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/district_admins/id"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/district_admins/id",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/district_admins/id")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/district_admins/id"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Response

OK Response

dataobject
data.districtstring
data.emailstring
data.idstring
data.nameobject
data.name.firststring
data.name.laststring
data.name.middlestring
data.titlestring

Entity Not Found

messagestring
Suggest Edits

/district_admins/{id}/district

Returns the district for a district admin

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/district_admins/id/district
curl --request GET \
  --url https://api.clever.com/v2.0/district_admins/id/district
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/district_admins/id/district' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/district_admins/id/district")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/district_admins/id/district"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/district_admins/id/district",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/district_admins/id/district")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/district_admins/id/district"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Response

OK Response

dataobject
data.errorstring
data.idstring
data.last_syncstring
data.launch_datestring
data.mdr_numberstring
data.namestring
data.nces_idstring
data.pause_endstring
data.pause_startstring
data.sis_typestring
data.statestring

Entity Not Found

messagestring
 
Suggest Edits

/contacts

Returns a list of student contacts

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/contacts
curl --request GET \
  --url https://api.clever.com/v2.0/contacts
var request = require("request");

var options = { method: 'GET', url: 'https://api.clever.com/v2.0/contacts' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/contacts")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/contacts"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/contacts",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/contacts")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/contacts"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Query Params

limit
integer
starting_after
string
ending_before
string

Response

OK Response

dataarray
Suggest Edits

/contacts/{id}

Returns a specific student contact

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/contacts/id
curl --request GET \
  --url https://api.clever.com/v2.0/contacts/id
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/contacts/id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/contacts/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/contacts/id"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/contacts/id",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/contacts/id")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/contacts/id"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Response

OK Response

dataobject
data.districtstring
data.emailstring
data.idstring
data.namestring
data.phonestring
data.phone_typestring
data.relationshipstring
data.sis_idstring
data.studentsarray
data.typestring

Entity Not Found

messagestring
Suggest Edits

/contacts/{id}/district

Returns the district for a student contact

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/contacts/id/district
curl --request GET \
  --url https://api.clever.com/v2.0/contacts/id/district
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/contacts/id/district' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/contacts/id/district")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/contacts/id/district"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/contacts/id/district",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/contacts/id/district")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/contacts/id/district"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Response

OK Response

dataobject
data.errorstring
data.idstring
data.last_syncstring
data.launch_datestring
data.mdr_numberstring
data.namestring
data.nces_idstring
data.pause_endstring
data.pause_startstring
data.sis_typestring
data.statestring

Entity Not Found

messagestring
Suggest Edits

/contacts/{id}/students

Returns the students for a student contact

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/contacts/id/students
curl --request GET \
  --url https://api.clever.com/v2.0/contacts/id/students
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/contacts/id/students' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/contacts/id/students")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/contacts/id/students"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/contacts/id/students",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/contacts/id/students")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/contacts/id/students"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Query Params

limit
integer
starting_after
string
ending_before
string

Response

OK Response

dataarray
Suggest Edits

/events

Returns a list of events

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/events
curl --request GET \
  --url https://api.clever.com/v2.0/events
var request = require("request");

var options = { method: 'GET', url: 'https://api.clever.com/v2.0/events' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/events")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/events"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/events",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/events")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/events"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Query Params

limit
integer
starting_after
string
ending_before
string
school
string
record_type
array of strings

Response

OK Response

dataarray

Entity Not Found

messagestring
Suggest Edits

/events/{id}

Returns the specific event

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://api.clever.com/v2.0/events/id
curl --request GET \
  --url https://api.clever.com/v2.0/events/id
var request = require("request");

var options = { method: 'GET',
  url: 'https://api.clever.com/v2.0/events/id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.clever.com/v2.0/events/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
import requests

url = "https://api.clever.com/v2.0/events/id"

response = requests.request("GET", url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.clever.com/v2.0/events/id",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.clever.com/v2.0/events/id")
  .get()
  .build();

Response response = client.newCall(request).execute();
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.clever.com/v2.0/events/id"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
string
required

Response

OK Response

dataobject
data.createdstring
data.idstring
data.typestring

Entity Not Found

messagestring