curl --request GET \
--url https://web.edcontrols.com/api/v2/data/tickets \
--header 'Authorization: Bearer <token>'import requests
url = "https://web.edcontrols.com/api/v2/data/tickets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://web.edcontrols.com/api/v2/data/tickets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://web.edcontrols.com/api/v2/data/tickets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://web.edcontrols.com/api/v2/data/tickets"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://web.edcontrols.com/api/v2/data/tickets")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://web.edcontrols.com/api/v2/data/tickets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"size": 123,
"page": 123,
"hits": 123,
"results": [
{
"_id": "<string>",
"_rev": "<string>",
"project": "<string>",
"groupId": "<string>",
"map": "<string>",
"archived": "<string>",
"tags": [
"<string>"
],
"dates": {
"creationDate": "2023-11-07T05:31:56Z",
"lastModifiedDate": "2023-11-07T05:31:56Z"
},
"content": {
"title": "<string>",
"body": "<string>",
"author": {
"email": "jsmith@example.com",
"type": "<string>"
},
"attachments": [
{}
]
},
"state": {
"state": "completed"
},
"plan": {
"dueDate": "2023-11-07T05:31:56Z"
},
"location": {
"x": 70.37382900555563,
"y": 135.8290570591101,
"zoom": 3,
"latitude": 123,
"longitude": 123,
"rev": "<string>",
"type": "IB.EdBundle.Document.Location"
},
"participants": {
"responsible": {
"email": "jsmith@example.com",
"type": "IB.EdBundle.Document.Person",
"watchChanges": true
},
"consulted": [
{
"email": "jsmith@example.com",
"type": "IB.EdBundle.Document.Person",
"watchChanges": true
}
],
"informed": [
{
"email": "jsmith@example.com",
"type": "IB.EdBundle.Document.Person",
"watchChanges": true
}
]
},
"audits": [
{}
],
"comments": [
{
"note": "Re-inspected: the crack has not moved.",
"author": "inspector@example.com",
"time": "2026-09-09T13:04:12.652Z",
"public": true,
"attachments": [],
"allowedUsers": []
}
],
"customFields": [
{
"id": "3f0c2a1e-5b7d-4c8e-9a10-2d4e6f8a0b1c",
"label": "Element type",
"type": "freetext",
"value": "<string>",
"richOptions": [
{
"id": "O1",
"text": "<p>Fire door with closer</p>",
"type": "textselect",
"image": "<string>"
}
]
}
]
}
],
"aggregations": {}
}{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "content.title is required"
}{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "content.title is required"
}List tickets
Returns the tickets of one project that the authenticated user may see.
A user without a role on the project gets 200 with no results, not 403.
Results are index documents (the ticket fields plus couchDbId,
database and resolved attachments[] with a fetchable name), not the
stored document GET /tickets/{database}/{ticketId} returns.
Without both sortby and sortOrder no sort is applied and the order is
unspecified. Known issue: sortby=DUEDATE sorts the opposite way of
sortOrder (asc returns the latest due date first).
curl --request GET \
--url https://web.edcontrols.com/api/v2/data/tickets \
--header 'Authorization: Bearer <token>'import requests
url = "https://web.edcontrols.com/api/v2/data/tickets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://web.edcontrols.com/api/v2/data/tickets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://web.edcontrols.com/api/v2/data/tickets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://web.edcontrols.com/api/v2/data/tickets"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://web.edcontrols.com/api/v2/data/tickets")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://web.edcontrols.com/api/v2/data/tickets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"size": 123,
"page": 123,
"hits": 123,
"results": [
{
"_id": "<string>",
"_rev": "<string>",
"project": "<string>",
"groupId": "<string>",
"map": "<string>",
"archived": "<string>",
"tags": [
"<string>"
],
"dates": {
"creationDate": "2023-11-07T05:31:56Z",
"lastModifiedDate": "2023-11-07T05:31:56Z"
},
"content": {
"title": "<string>",
"body": "<string>",
"author": {
"email": "jsmith@example.com",
"type": "<string>"
},
"attachments": [
{}
]
},
"state": {
"state": "completed"
},
"plan": {
"dueDate": "2023-11-07T05:31:56Z"
},
"location": {
"x": 70.37382900555563,
"y": 135.8290570591101,
"zoom": 3,
"latitude": 123,
"longitude": 123,
"rev": "<string>",
"type": "IB.EdBundle.Document.Location"
},
"participants": {
"responsible": {
"email": "jsmith@example.com",
"type": "IB.EdBundle.Document.Person",
"watchChanges": true
},
"consulted": [
{
"email": "jsmith@example.com",
"type": "IB.EdBundle.Document.Person",
"watchChanges": true
}
],
"informed": [
{
"email": "jsmith@example.com",
"type": "IB.EdBundle.Document.Person",
"watchChanges": true
}
]
},
"audits": [
{}
],
"comments": [
{
"note": "Re-inspected: the crack has not moved.",
"author": "inspector@example.com",
"time": "2026-09-09T13:04:12.652Z",
"public": true,
"attachments": [],
"allowedUsers": []
}
],
"customFields": [
{
"id": "3f0c2a1e-5b7d-4c8e-9a10-2d4e6f8a0b1c",
"label": "Element type",
"type": "freetext",
"value": "<string>",
"richOptions": [
{
"id": "O1",
"text": "<p>Fire door with closer</p>",
"type": "textselect",
"image": "<string>"
}
]
}
]
}
],
"aggregations": {}
}{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "content.title is required"
}{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "content.title is required"
}Authorizations
Query Parameters
Sort field, case-insensitive. Applied only together with sortOrder.
groupOrMapName sorts by drawing group, then drawing name;
groupMapTicketName also by ticket title within a drawing.
CREATIONDATE, LASTMODIFIEDDATE, COMPLETIONDATE, DUEDATE, AUTHOR, TITLE, groupOrMapName, groupMapTicketName Response
Search envelope with Ticket objects in results.
