List submissions to your program
curl --request GET \
--url https://sandbox.api.meet-oj.com/partner/v0/programs/{program_id}/submissions \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.api.meet-oj.com/partner/v0/programs/{program_id}/submissions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.api.meet-oj.com/partner/v0/programs/{program_id}/submissions', 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://sandbox.api.meet-oj.com/partner/v0/programs/{program_id}/submissions",
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://sandbox.api.meet-oj.com/partner/v0/programs/{program_id}/submissions"
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://sandbox.api.meet-oj.com/partner/v0/programs/{program_id}/submissions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.api.meet-oj.com/partner/v0/programs/{program_id}/submissions")
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{
"data": [
{
"id": "sub_01K5X9E5F6",
"referral_id": "<string>",
"program_id": "<string>",
"status": "awaiting_review",
"submitted_at": "2023-11-07T05:31:56Z",
"object": "submission",
"business": {
"legal_name": "<string>",
"city": "<string>",
"state": "<string>"
},
"requested_amount": 123,
"package": {
"fit_id": "<string>",
"playbook_version": 123,
"documents": [
{
"document_id": "<string>",
"type": "bank_statement",
"period": "<string>",
"url": "<string>"
}
],
"receipts_url": "<string>",
"human_review": true
},
"hosted_review_url": "<string>",
"decision": {
"outcome": "offer",
"offer_id": "<string>",
"reasons": [
{
"gate_key": "<string>",
"reason": "<string>"
}
],
"decided_by": "<string>",
"decided_at": "2023-11-07T05:31:56Z"
},
"funded": {
"amount": 123,
"funded_at": "2023-11-07T05:31:56Z",
"lender_loan_id": "<string>"
},
"updated_at": "2023-11-07T05:31:56Z"
}
],
"has_more": true
}Programs
List submissions to your program
For a lender running a program on O.J. Returns the referrals O.J. has submitted to your program, newest first.
Filter by status to build your reviewer’s queue: awaiting_review is the work list. Each submission
links to the package (documents, calculations, evidence receipts) and to a hosted review page your
reviewer can open without any integration.
GET
/
programs
/
{program_id}
/
submissions
List submissions to your program
curl --request GET \
--url https://sandbox.api.meet-oj.com/partner/v0/programs/{program_id}/submissions \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.api.meet-oj.com/partner/v0/programs/{program_id}/submissions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.api.meet-oj.com/partner/v0/programs/{program_id}/submissions', 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://sandbox.api.meet-oj.com/partner/v0/programs/{program_id}/submissions",
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://sandbox.api.meet-oj.com/partner/v0/programs/{program_id}/submissions"
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://sandbox.api.meet-oj.com/partner/v0/programs/{program_id}/submissions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.api.meet-oj.com/partner/v0/programs/{program_id}/submissions")
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{
"data": [
{
"id": "sub_01K5X9E5F6",
"referral_id": "<string>",
"program_id": "<string>",
"status": "awaiting_review",
"submitted_at": "2023-11-07T05:31:56Z",
"object": "submission",
"business": {
"legal_name": "<string>",
"city": "<string>",
"state": "<string>"
},
"requested_amount": 123,
"package": {
"fit_id": "<string>",
"playbook_version": 123,
"documents": [
{
"document_id": "<string>",
"type": "bank_statement",
"period": "<string>",
"url": "<string>"
}
],
"receipts_url": "<string>",
"human_review": true
},
"hosted_review_url": "<string>",
"decision": {
"outcome": "offer",
"offer_id": "<string>",
"reasons": [
{
"gate_key": "<string>",
"reason": "<string>"
}
],
"decided_by": "<string>",
"decided_at": "2023-11-07T05:31:56Z"
},
"funded": {
"amount": 123,
"funded_at": "2023-11-07T05:31:56Z",
"lender_loan_id": "<string>"
},
"updated_at": "2023-11-07T05:31:56Z"
}
],
"has_more": true
}Authorizations
One client per partner per environment. Access tokens expire after 15 minutes. Scopes are granted per client. Sandbox clients use https://sandbox.api.meet-oj.com/oauth/token.
Path Parameters
Your program id, shown in your O.J. account.
Query Parameters
Only return submissions in this state.
Available options:
awaiting_review, offer, declined, withdrawn, funded Required range:
1 <= x <= 100Cursor — the id of the last object on the previous page.

