Get merchant status
curl --request GET \
--url https://cool.jobmojito.com/functions/v1/merchant-status \
--header 'Authorization: Bearer <token>'import requests
url = "https://cool.jobmojito.com/functions/v1/merchant-status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://cool.jobmojito.com/functions/v1/merchant-status', 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://cool.jobmojito.com/functions/v1/merchant-status",
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://cool.jobmojito.com/functions/v1/merchant-status"
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://cool.jobmojito.com/functions/v1/merchant-status")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://cool.jobmojito.com/functions/v1/merchant-status")
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{
"profile_id": "9b2c1e54-7a3d-4f8e-9c10-2b6a4d5e7f01",
"default_merchant_id": "28106cba-1c27-4e53-b149-32113e5e8e31",
"merchant_id": "28106cba-1c27-4e53-b149-32113e5e8e31",
"credits_interview_monthly": 8,
"credits_interview_monthly_limit": 10,
"credits_interview_extra": 25,
"credits_interview_single": 0,
"definitions_active": 4,
"interviews_without_credits": 2,
"interviews_undecided": 3,
"contact_requests_open": 1,
"interviews_ongoing": 1,
"interview_results": 137,
"candidates": 212,
"candidates_history": [
3,
5,
0,
2,
8,
1,
0,
4,
6,
2,
1,
0,
3,
5
],
"interview_result_history": [
1,
2,
0,
1,
3,
0,
0,
2,
1,
1,
0,
0,
1,
2
],
"subscription_type": "Growth",
"subscription_status": "active",
"invitations_sent": 18,
"invitations_limit": 40,
"invitations_available": 22,
"tasks_open": 4,
"document_requests_pending": 2,
"duplicates_pending": 3
}{
"error": "Field is required.",
"name": "interview_result_id"
}{
"error": "Field is required.",
"name": "interview_result_id"
}{
"error": "Field is required.",
"name": "interview_result_id"
}{
"error": "Field is required.",
"name": "interview_result_id"
}Admin
Get merchant status
Status snapshot for a merchant: interview-credit balances, subscription type/status, pending-work counts (undecided / ongoing / uncredited interviews, open contact requests, and your open tasks, document requests and duplicate pairs while those switches are on), candidate & result totals with 14-day history, and invitation headroom. Scoped to your token’s merchant (or a merchant_id override for admins / sub-merchant operators). Owners, recruiters and admins only: hiring managers (read-only accounts) get 403. Also echoes the caller’s profile_id and default_merchant_id from the token, plus the effective merchant_id.
GET
/
merchant-status
Get merchant status
curl --request GET \
--url https://cool.jobmojito.com/functions/v1/merchant-status \
--header 'Authorization: Bearer <token>'import requests
url = "https://cool.jobmojito.com/functions/v1/merchant-status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://cool.jobmojito.com/functions/v1/merchant-status', 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://cool.jobmojito.com/functions/v1/merchant-status",
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://cool.jobmojito.com/functions/v1/merchant-status"
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://cool.jobmojito.com/functions/v1/merchant-status")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://cool.jobmojito.com/functions/v1/merchant-status")
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{
"profile_id": "9b2c1e54-7a3d-4f8e-9c10-2b6a4d5e7f01",
"default_merchant_id": "28106cba-1c27-4e53-b149-32113e5e8e31",
"merchant_id": "28106cba-1c27-4e53-b149-32113e5e8e31",
"credits_interview_monthly": 8,
"credits_interview_monthly_limit": 10,
"credits_interview_extra": 25,
"credits_interview_single": 0,
"definitions_active": 4,
"interviews_without_credits": 2,
"interviews_undecided": 3,
"contact_requests_open": 1,
"interviews_ongoing": 1,
"interview_results": 137,
"candidates": 212,
"candidates_history": [
3,
5,
0,
2,
8,
1,
0,
4,
6,
2,
1,
0,
3,
5
],
"interview_result_history": [
1,
2,
0,
1,
3,
0,
0,
2,
1,
1,
0,
0,
1,
2
],
"subscription_type": "Growth",
"subscription_status": "active",
"invitations_sent": 18,
"invitations_limit": 40,
"invitations_available": 22,
"tasks_open": 4,
"document_requests_pending": 2,
"duplicates_pending": 3
}{
"error": "Field is required.",
"name": "interview_result_id"
}{
"error": "Field is required.",
"name": "interview_result_id"
}{
"error": "Field is required.",
"name": "interview_result_id"
}{
"error": "Field is required.",
"name": "interview_result_id"
}Query Parameters
Response
The merchant status snapshot.