curl --request GET \
--url https://api.doozy.live/v1/introductions/{introductionId}/instances \
--header 'x-api-key: <api-key>'import requests
url = "https://api.doozy.live/v1/introductions/{introductionId}/instances"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.doozy.live/v1/introductions/{introductionId}/instances', 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://api.doozy.live/v1/introductions/{introductionId}/instances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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://api.doozy.live/v1/introductions/{introductionId}/instances"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.doozy.live/v1/introductions/{introductionId}/instances")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.doozy.live/v1/introductions/{introductionId}/instances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"object": "list",
"data": [
{
"object": "introduction_instance",
"id": "inst_abc123",
"introduction_id": "intro_abc123",
"state": "complete",
"match_at": "2024-02-01T09:00:00.000Z",
"notify_at": "2024-01-31T09:00:00.000Z",
"remind_at": "2024-02-03T09:00:00.000Z",
"user_count": 20,
"match_count": 10,
"skipped_users": [
{
"user_id": "user_abc123",
"slack_user_id": "U1234567890",
"display_name": "John Doe",
"email": "john@example.com"
}
],
"created_at": "2024-01-28T10:30:00.000Z",
"updated_at": "2024-01-29T14:00:00.000Z"
}
],
"has_more": true,
"url": "/v1/introductions/intro_abc123/instances",
"next_cursor": "inst_xyz789",
"previous_cursor": "inst_abc123"
}{
"error": {
"type": "invalid_request_error",
"code": "resource_not_found",
"message": "No such quiz: quiz_abc123",
"param": "id",
"doc_url": "https://docs.doozy.live/api/errors#resource_not_found"
}
}{
"error": {
"type": "invalid_request_error",
"code": "resource_not_found",
"message": "No such quiz: quiz_abc123",
"param": "id",
"doc_url": "https://docs.doozy.live/api/errors#resource_not_found"
}
}{
"error": {
"type": "invalid_request_error",
"code": "resource_not_found",
"message": "No such quiz: quiz_abc123",
"param": "id",
"doc_url": "https://docs.doozy.live/api/errors#resource_not_found"
}
}{
"error": {
"type": "invalid_request_error",
"code": "resource_not_found",
"message": "No such quiz: quiz_abc123",
"param": "id",
"doc_url": "https://docs.doozy.live/api/errors#resource_not_found"
}
}List introduction instances
List all instances (rounds) for a specific introduction. Each instance represents one matching cycle. Results are paginated and sorted by match date (newest first).
curl --request GET \
--url https://api.doozy.live/v1/introductions/{introductionId}/instances \
--header 'x-api-key: <api-key>'import requests
url = "https://api.doozy.live/v1/introductions/{introductionId}/instances"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.doozy.live/v1/introductions/{introductionId}/instances', 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://api.doozy.live/v1/introductions/{introductionId}/instances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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://api.doozy.live/v1/introductions/{introductionId}/instances"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.doozy.live/v1/introductions/{introductionId}/instances")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.doozy.live/v1/introductions/{introductionId}/instances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"object": "list",
"data": [
{
"object": "introduction_instance",
"id": "inst_abc123",
"introduction_id": "intro_abc123",
"state": "complete",
"match_at": "2024-02-01T09:00:00.000Z",
"notify_at": "2024-01-31T09:00:00.000Z",
"remind_at": "2024-02-03T09:00:00.000Z",
"user_count": 20,
"match_count": 10,
"skipped_users": [
{
"user_id": "user_abc123",
"slack_user_id": "U1234567890",
"display_name": "John Doe",
"email": "john@example.com"
}
],
"created_at": "2024-01-28T10:30:00.000Z",
"updated_at": "2024-01-29T14:00:00.000Z"
}
],
"has_more": true,
"url": "/v1/introductions/intro_abc123/instances",
"next_cursor": "inst_xyz789",
"previous_cursor": "inst_abc123"
}{
"error": {
"type": "invalid_request_error",
"code": "resource_not_found",
"message": "No such quiz: quiz_abc123",
"param": "id",
"doc_url": "https://docs.doozy.live/api/errors#resource_not_found"
}
}{
"error": {
"type": "invalid_request_error",
"code": "resource_not_found",
"message": "No such quiz: quiz_abc123",
"param": "id",
"doc_url": "https://docs.doozy.live/api/errors#resource_not_found"
}
}{
"error": {
"type": "invalid_request_error",
"code": "resource_not_found",
"message": "No such quiz: quiz_abc123",
"param": "id",
"doc_url": "https://docs.doozy.live/api/errors#resource_not_found"
}
}{
"error": {
"type": "invalid_request_error",
"code": "resource_not_found",
"message": "No such quiz: quiz_abc123",
"param": "id",
"doc_url": "https://docs.doozy.live/api/errors#resource_not_found"
}
}Authorizations
API key for authentication. Generate keys in the Doozy dashboard.
Path Parameters
Introduction ID
1 - 128^[A-Za-z0-9_-]+$"intro_abc123"
Query Parameters
Maximum number of results to return (default: 25, max: 100)
1 <= x <= 10025
Cursor for pagination
256"inst_abc123"
Cursor for pagination (backward)
256"inst_xyz789"
Response
List of introduction instances
String representing the object type
list "list"
Array of instance objects
Show child attributes
Show child attributes
Whether there are more results available beyond this page
true
The URL for accessing this list endpoint
"/v1/introductions/intro_abc123/instances"
Cursor to fetch the next page of results. Pass as starting_after in subsequent requests.
"inst_xyz789"
Cursor to fetch the previous page of results. Pass as ending_before in subsequent requests.
"inst_abc123"
Was this page helpful?