List my adverse reports
curl --request GET \
--url https://www.closient.com/signals/api/v1/adverse-reports/mine/ \
--header 'X-API-Key: <api-key>'import requests
url = "https://www.closient.com/signals/api/v1/adverse-reports/mine/"
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://www.closient.com/signals/api/v1/adverse-reports/mine/', 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://www.closient.com/signals/api/v1/adverse-reports/mine/",
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://www.closient.com/signals/api/v1/adverse-reports/mine/"
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://www.closient.com/signals/api/v1/adverse-reports/mine/")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.closient.com/signals/api/v1/adverse-reports/mine/")
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{
"data": [
{
"reference_id": "<string>",
"id": "<string>",
"gtin": "<string>",
"body": "<string>",
"status": "<string>",
"has_voice": true,
"contact_consent": true,
"created": "2023-11-07T05:31:56Z",
"delivery": {
"sla_deadline": "2023-11-07T05:31:56Z",
"within_sla": true,
"delivered_at": "2023-11-07T05:31:56Z"
},
"regulator_handoff": {
"agency": "<string>",
"agency_name": "<string>",
"program": "<string>",
"url": "<string>",
"guidance": "<string>",
"prefill": {
"product_name": "<string>",
"gtin": "<string>",
"batch_lot": "<string>",
"closient_reference": "<string>"
}
},
"batch": "<string>",
"serial": "<string>"
}
],
"pagination": {
"page": 2,
"page_size": 2,
"total_count": 1,
"total_pages": 2,
"has_next": true,
"has_previous": true
}
}Adverse Reports
List my adverse reports
List the authenticated consumer’s own adverse reports, newest first, with the delivery record and regulator handoff on each. Uses the standard {data, pagination} envelope.
GET
/
signals
/
api
/
v1
/
adverse-reports
/
mine
/
List my adverse reports
curl --request GET \
--url https://www.closient.com/signals/api/v1/adverse-reports/mine/ \
--header 'X-API-Key: <api-key>'import requests
url = "https://www.closient.com/signals/api/v1/adverse-reports/mine/"
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://www.closient.com/signals/api/v1/adverse-reports/mine/', 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://www.closient.com/signals/api/v1/adverse-reports/mine/",
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://www.closient.com/signals/api/v1/adverse-reports/mine/"
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://www.closient.com/signals/api/v1/adverse-reports/mine/")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.closient.com/signals/api/v1/adverse-reports/mine/")
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{
"data": [
{
"reference_id": "<string>",
"id": "<string>",
"gtin": "<string>",
"body": "<string>",
"status": "<string>",
"has_voice": true,
"contact_consent": true,
"created": "2023-11-07T05:31:56Z",
"delivery": {
"sla_deadline": "2023-11-07T05:31:56Z",
"within_sla": true,
"delivered_at": "2023-11-07T05:31:56Z"
},
"regulator_handoff": {
"agency": "<string>",
"agency_name": "<string>",
"program": "<string>",
"url": "<string>",
"guidance": "<string>",
"prefill": {
"product_name": "<string>",
"gtin": "<string>",
"batch_lot": "<string>",
"closient_reference": "<string>"
}
},
"batch": "<string>",
"serial": "<string>"
}
],
"pagination": {
"page": 2,
"page_size": 2,
"total_count": 1,
"total_pages": 2,
"has_next": true,
"has_previous": true
}
}Authorizations
APIKeyHeaderAuthOAuthTokenAuthSessionAuth
Query Parameters
Page number (1-indexed).
Required range:
x >= 1Number of items per page (max 100).
Required range:
1 <= x <= 100Response
200 - application/json
OK
Items on the current page, each conforming to the endpoint's item schema. Empty when the result set is empty or page is past the end.
Show child attributes
Show child attributes
Pagination envelope describing position within the full result set.
Show child attributes
Show child attributes
Example:
{
"has_next": true,
"has_previous": false,
"page": 1,
"page_size": 25,
"total_count": 342,
"total_pages": 14
}
⌘I