curl --request GET \
--url https://api.osaconnection.com/v1/claims/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.osaconnection.com/v1/claims/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.osaconnection.com/v1/claims/{id}', 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.osaconnection.com/v1/claims/{id}",
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://api.osaconnection.com/v1/claims/{id}"
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://api.osaconnection.com/v1/claims/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.osaconnection.com/v1/claims/{id}")
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_bodyGet a claim
Returns the claim as you sent it, with its current assignment. Adjusters’ later edits
in the app don’t change what this endpoint returns.
A claim that belongs to another firm, or a real claim requested with a test key,
returns 404 not_found.
curl --request GET \
--url https://api.osaconnection.com/v1/claims/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.osaconnection.com/v1/claims/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.osaconnection.com/v1/claims/{id}', 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.osaconnection.com/v1/claims/{id}",
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://api.osaconnection.com/v1/claims/{id}"
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://api.osaconnection.com/v1/claims/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.osaconnection.com/v1/claims/{id}")
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_bodyAuthorizations
Send your API key as a bearer token: Authorization: Bearer osa_live_….
Keys are opaque; each belongs to exactly one firm and one purpose. Keys starting with
osa_test_ reach only test claims and test accounts. The scopes listed on each
operation are the permissions the key needs; GET /v1/me shows the ones your key has.
Path Parameters
OSA's claim id, as returned in the claim's id.
Response
The claim.
A claim as you sent it, with OSA's id, your external_id, and the current assignment.
Optional fields you didn't send are omitted. Adjusters' later edits in the app don't
change these fields.
OSA's id for the claim.
Your own id for the claim.
The carrier's claim number.
true for a test claim: one sent with a test key to a test account. Test claims are
never billed. The value never changes.
When the claim was created.
When something you can see last changed: creation, an offer, an acceptance or a
rejection. This is the field updated_since filters on.
The latest offer of the claim to an adjuster. When you offer the claim to someone else, this describes the new offer and the earlier response is no longer shown.
Show child attributes
Show child attributes
The loss being claimed.
Show child attributes
Show child attributes
The insurance policy, as you sent it.
Show child attributes
Show child attributes
The insurance carrier, as you sent it.
Show child attributes
Show child attributes
The address of the insured property, as you sent it.
Show child attributes
Show child attributes
The policyholder, as you sent it.
Show child attributes
Show child attributes
Your firm's file number.
Your notes for the adjuster.
The date the loss was reported to the carrier.
The date the policyholder was contacted, as you sent it.
The date of the inspection, as you sent it.
Other people or companies involved in the claim.
Show child attributes
Show child attributes
The agent, as you sent it.
Show child attributes
Show child attributes
The mortgage company, as you sent it.
Show child attributes
Show child attributes
The building details, as you sent them.
Show child attributes
Show child attributes
Coverage limits and deductibles, as you sent them.
Show child attributes
Show child attributes
The estimate figures, as you sent them.
Show child attributes
Show child attributes