Introduction
This documentation aims to provide all the information you need to work with our Auth n Auth API.
Authenticating requests
To authenticate requests, include an Authorization header with the value "Bearer {YOUR_AUTH_KEY}".
All authenticated endpoints are marked with a requires authentication badge in the documentation below.
You can retrieve your token using Get Token.
If not a registered user Register.
Auth'N'Auth API Endpoints
API Access User - Register
Used to register the API Access User
Example request:
curl --request POST \
"https://api.qa.blox.co.in/auth/v1/register" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"Tony Hanks\",
\"username\": \"tonyhanks\",
\"email\": \"tony@example.com\",
\"password\": \"UGFzc3dvcmRAMTIz\"
}"
const url = new URL(
"https://api.qa.blox.co.in/auth/v1/register"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "Tony Hanks",
"username": "tonyhanks",
"email": "tony@example.com",
"password": "UGFzc3dvcmRAMTIz"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
API Access User - Get Token
Used to authenticate User parameter and get token using the same
Example request:
curl --request POST \
"https://api.qa.blox.co.in/auth/v1/get_token" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"username\": \"james\",
\"password\": \"UGFzc3dvcmRAMTIz\"
}"
const url = new URL(
"https://api.qa.blox.co.in/auth/v1/get_token"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"username": "james",
"password": "UGFzc3dvcmRAMTIz"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Content API Endpoints
Content - Get FAQ
requires authentication
Used to Get FAQ List
Example request:
curl --request POST \
"https://api.qa.blox.co.in/content/v1/faq" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"keyword\": \"Token amount details\"
}"
const url = new URL(
"https://api.qa.blox.co.in/content/v1/faq"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"keyword": "Token amount details"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Content - CMS Page
requires authentication
Used to get cms page list
Example request:
curl --request POST \
"https://api.qa.blox.co.in/content/v1/cms_page" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_slug\": \"about\"
}"
const url = new URL(
"https://api.qa.blox.co.in/content/v1/cms_page"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_slug": "about"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Content - CMS Home
requires authentication
Used to get cms home
Example request:
curl --request POST \
"https://api.qa.blox.co.in/content/v1/cms_home" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"city_id\": \"256\"
}"
const url = new URL(
"https://api.qa.blox.co.in/content/v1/cms_home"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"city_id": "256"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Content - Blogs News List
requires authentication
Used to get blogs news list
Example request:
curl --request POST \
"https://api.qa.blox.co.in/content/v1/blogs_news" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"limit\": 100,
\"offset\": 0
}"
const url = new URL(
"https://api.qa.blox.co.in/content/v1/blogs_news"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"limit": 100,
"offset": 0
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Content - Footer Content
requires authentication
Used to get footer content
Content - Career Vacancy List
requires authentication
Used to get Career Vacancy List
Example request:
curl --request POST \
"https://api.qa.blox.co.in/content/v1/careers" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"limit\": 100,
\"offset\": 0
}"
const url = new URL(
"https://api.qa.blox.co.in/content/v1/careers"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"limit": 100,
"offset": 0
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Content - Career Vacancy Details
requires authentication
Used to get career vacancy details
Example request:
curl --request POST \
"https://api.qa.blox.co.in/content/v1/career_details" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"career_id\": null,
\"limit\": 100,
\"offset\": 0
}"
const url = new URL(
"https://api.qa.blox.co.in/content/v1/career_details"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"career_id": null,
"limit": 100,
"offset": 0
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Content - Career Job Application
requires authentication
Used to get career job application
Example request:
curl --request POST \
"https://api.qa.blox.co.in/content/v1/career_application" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "career_id=" \
--form "name=" \
--form "email=" \
--form "mobile=" \
--form "resume=@C:\Users\Dell\AppData\Local\Temp\php2899.tmp" const url = new URL(
"https://api.qa.blox.co.in/content/v1/career_application"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('career_id', '');
body.append('name', '');
body.append('email', '');
body.append('mobile', '');
body.append('resume', document.querySelector('input[name="resume"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Received response:
Request failed with error:
Customer API Endpoints
Customer - Signup
requires authentication
Used to Signup
Example request:
curl --request POST \
"https://api.qa.blox.co.in/auth/v1/signup" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"tony@example.com\",
\"mobile\": \"9087654321\",
\"country_code\": \"91\",
\"name\": \"Tony Hanks\",
\"location\": \"Mumbai\",
\"user_type\": \"customer\"
}"
const url = new URL(
"https://api.qa.blox.co.in/auth/v1/signup"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "tony@example.com",
"mobile": "9087654321",
"country_code": "91",
"name": "Tony Hanks",
"location": "Mumbai",
"user_type": "customer"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Customer - Signin
requires authentication
Used to Signin
Example request:
curl --request POST \
"https://api.qa.blox.co.in/auth/v1/signin" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"username\": \"tony@example.com\",
\"user_type\": \"customer\"
}"
const url = new URL(
"https://api.qa.blox.co.in/auth/v1/signin"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"username": "tony@example.com",
"user_type": "customer"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Customer - Send-OTP
requires authentication
Used to Send OTP
Example request:
curl --request POST \
"https://api.qa.blox.co.in/auth/v1/send_otp" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"john@example.com\",
\"mobile\": \"9087654321\",
\"country_code\": \"91\",
\"whatsapp_flag\": \"0\",
\"device_id\": \"a2gdf3hh3\",
\"user_type\": \"customer\"
}"
const url = new URL(
"https://api.qa.blox.co.in/auth/v1/send_otp"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "john@example.com",
"mobile": "9087654321",
"country_code": "91",
"whatsapp_flag": "0",
"device_id": "a2gdf3hh3",
"user_type": "customer"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Customer - Verify-OTP
requires authentication
Used to Verify OTP
Example request:
curl --request POST \
"https://api.qa.blox.co.in/auth/v1/verify_otp" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"otp\": \"1234\",
\"email\": \"john@example.com\",
\"mobile\": \"9087654321\",
\"country_code\": \"91\",
\"user_type\": \"customer\",
\"device_id\": \"a2gdf3hh3\"
}"
const url = new URL(
"https://api.qa.blox.co.in/auth/v1/verify_otp"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"otp": "1234",
"email": "john@example.com",
"mobile": "9087654321",
"country_code": "91",
"user_type": "customer",
"device_id": "a2gdf3hh3"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Customer - User Exist
requires authentication
Used to User Exist
Example request:
curl --request POST \
"https://api.qa.blox.co.in/auth/v1/user_exist" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"john@example.com\",
\"mobile\": \"9087654321\",
\"country_code\": \"91\",
\"user_type\": \"customer\"
}"
const url = new URL(
"https://api.qa.blox.co.in/auth/v1/user_exist"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "john@example.com",
"mobile": "9087654321",
"country_code": "91",
"user_type": "customer"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Customer - Logout
requires authentication
Used to Logout
Example request:
curl --request POST \
"https://api.qa.blox.co.in/auth/v1/user/logout" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"user_type\": \"customer\"
}"
const url = new URL(
"https://api.qa.blox.co.in/auth/v1/user/logout"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"user_type": "customer"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Customer - Verify Social Login Token
requires authentication
Used to Verify Social Login Token
Customer - Mark Property Viewed
requires authentication
Used to Mark Property Viewed
Example request:
curl --request POST \
"https://api.qa.blox.co.in/customer/v1/mark_property_viewed" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"project_id\": \"38,3\",
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"guest_id\": \"sjkjshakjsd\",
\"city_id\": 300
}"
const url = new URL(
"https://api.qa.blox.co.in/customer/v1/mark_property_viewed"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"project_id": "38,3",
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"guest_id": "sjkjshakjsd",
"city_id": 300
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Customer - Update Profile
requires authentication
Used to Update Profile
Example request:
curl --request POST \
"https://api.qa.blox.co.in/customer/v1/update/user/details" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "ctoken=e7ff6070baaa30946ad195e7ea678e9e" \
--form "name=john" \
--form "email=john@example.com" \
--form "mobile=9087654321" \
--form "country_code=91" \
--form "alt_phone_country=91" \
--form "profile_pic=@/tmp/phpBTUJIw" const url = new URL(
"https://api.qa.blox.co.in/customer/v1/update/user/details"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('ctoken', 'e7ff6070baaa30946ad195e7ea678e9e');
body.append('name', 'john');
body.append('email', 'john@example.com');
body.append('mobile', '9087654321');
body.append('country_code', '91');
body.append('alt_phone_country', '91');
body.append('profile_pic', document.querySelector('input[name="profile_pic"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Received response:
Request failed with error:
Customer - Viewed Properties
requires authentication
Used to Viewed Properties
Example request:
curl --request POST \
"https://api.qa.blox.co.in/property/v1/viewed/properties" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"limit\": 100,
\"offset\": 0
}"
const url = new URL(
"https://api.qa.blox.co.in/property/v1/viewed/properties"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"limit": 100,
"offset": 0
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Customer - My Meetings
requires authentication
Used to My Meetings
Example request:
curl --request POST \
"https://api.qa.blox.co.in/customer/v1/my_meetings" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"limit\": 100,
\"offset\": 0
}"
const url = new URL(
"https://api.qa.blox.co.in/customer/v1/my_meetings"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"limit": 100,
"offset": 0
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Customer - generate Customer lead non eoi
requires authentication
generate Customer lead non eoi
Example request:
curl --request POST \
"https://api.qa.blox.co.in/customer/v1/generate-lead-non-eoi" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"project_id\": 39,
\"property_tower_id\": 147,
\"ctoken\": \"76e18e2f51bb738291b7dc945d92e7f7\"
}"
const url = new URL(
"https://api.qa.blox.co.in/customer/v1/generate-lead-non-eoi"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"project_id": 39,
"property_tower_id": 147,
"ctoken": "76e18e2f51bb738291b7dc945d92e7f7"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Customer - List of Application sources
requires authentication
List of Application sources
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/customer/v1/user-sources" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.qa.blox.co.in/customer/v1/user-sources"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Customer - Customer Profile
requires authentication
Getting Customer Profile
Example request:
curl --request POST \
"https://api.qa.blox.co.in/auth/v1/get_profile_details" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"76e18e2f51bb738291b7dc945d92e7f7\"
}"
const url = new URL(
"https://api.qa.blox.co.in/auth/v1/get_profile_details"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "76e18e2f51bb738291b7dc945d92e7f7"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Customer - Master Data List
requires authentication
Getting Master Data
Example request:
curl --request POST \
"https://api.qa.blox.co.in/customer/v1/customer_profilemasterdata" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"76e18e2f51bb738291b7dc945d92e7f7\"
}"
const url = new URL(
"https://api.qa.blox.co.in/customer/v1/customer_profilemasterdata"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "76e18e2f51bb738291b7dc945d92e7f7"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Favourite List
requires authentication
Used to get favourite list
Example request:
curl --request POST \
"https://api.qa.blox.co.in/customer/v1/favourite_list" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_id\": 33549,
\"tab\": \"my_property\",
\"limit\": 100,
\"offset\": 0
}"
const url = new URL(
"https://api.qa.blox.co.in/customer/v1/favourite_list"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_id": 33549,
"tab": "my_property",
"limit": 100,
"offset": 0
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Add Favourite
requires authentication
Used to add favourite
Example request:
curl --request POST \
"https://api.qa.blox.co.in/customer/v1/add_favourite" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_id\": 33549,
\"project_id\": [
22,
35
]
}"
const url = new URL(
"https://api.qa.blox.co.in/customer/v1/add_favourite"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_id": 33549,
"project_id": [
22,
35
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Customer - Remove Favourite
requires authentication
Used to Remove Favourite
Example request:
curl --request POST \
"https://api.qa.blox.co.in/customer/v1/remove_favourite" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"incidunt\",
\"customer_id\": \"minima\",
\"project_id\": \"22\"
}"
const url = new URL(
"https://api.qa.blox.co.in/customer/v1/remove_favourite"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "incidunt",
"customer_id": "minima",
"project_id": "22"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Customer API V2 Endpoints
Customer - Signin
requires authentication
Used to Signin
Example request:
curl --request POST \
"https://api.qa.blox.co.in/auth/v2/signin" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"username\": \"tony@example.com\",
\"user_type\": \"customer\"
}"
const url = new URL(
"https://api.qa.blox.co.in/auth/v2/signin"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"username": "tony@example.com",
"user_type": "customer"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Customer - Re-Send-OTP
requires authentication
Used to re-send OTP
Example request:
curl --request POST \
"https://api.qa.blox.co.in/auth/v2/send_otp" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"john@example.com\",
\"mobile\": \"9087654321\",
\"country_code\": \"91\",
\"whatsapp_flag\": \"0\",
\"device_id\": \"a2gdf3hh3\",
\"user_type\": \"customer\"
}"
const url = new URL(
"https://api.qa.blox.co.in/auth/v2/send_otp"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "john@example.com",
"mobile": "9087654321",
"country_code": "91",
"whatsapp_flag": "0",
"device_id": "a2gdf3hh3",
"user_type": "customer"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Customer - Verify-OTP
requires authentication
Used to Verify OTP
Example request:
curl --request POST \
"https://api.qa.blox.co.in/auth/v2/verify_otp" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"otp\": \"1234\",
\"email\": \"john@example.com\",
\"mobile\": \"9087654321\",
\"country_code\": \"91\",
\"user_type\": \"customer\",
\"device_id\": \"a2gdf3hh3\"
}"
const url = new URL(
"https://api.qa.blox.co.in/auth/v2/verify_otp"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"otp": "1234",
"email": "john@example.com",
"mobile": "9087654321",
"country_code": "91",
"user_type": "customer",
"device_id": "a2gdf3hh3"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Enquiry API Endpoints
Enquiry - Contact RM
requires authentication
Used to Contact RM
Example request:
curl --request POST \
"https://api.qa.blox.co.in/enquiry/v1/contact_rm" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"tony@example.com\",
\"mobile\": \"9087654321\",
\"country_code\": \"+91\",
\"name\": \"Tony Hanks\",
\"content\": \"want to contact\",
\"project_id\": 8
}"
const url = new URL(
"https://api.qa.blox.co.in/enquiry/v1/contact_rm"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "tony@example.com",
"mobile": "9087654321",
"country_code": "+91",
"name": "Tony Hanks",
"content": "want to contact",
"project_id": 8
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Enquiry - Book a Visit
requires authentication
Used to Book a Visit
Example request:
curl --request POST \
"https://api.qa.blox.co.in/enquiry/v1/book_visit" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"tony@example.com\",
\"mobile\": \"9087654321\",
\"country_code\": \"91\",
\"name\": \"Tony Hanks\",
\"project_id\": 8,
\"date\": \"2023-12-1 12:12:58\",
\"visit_type\": 1,
\"webinar_id\": 0,
\"is_homeloan\": false,
\"pdf_id\": false
}"
const url = new URL(
"https://api.qa.blox.co.in/enquiry/v1/book_visit"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "tony@example.com",
"mobile": "9087654321",
"country_code": "91",
"name": "Tony Hanks",
"project_id": 8,
"date": "2023-12-1 12:12:58",
"visit_type": 1,
"webinar_id": 0,
"is_homeloan": false,
"pdf_id": false
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Enquiry - Reschedule Meeting
requires authentication
Used to Reschedule Meeting
Example request:
curl --request POST \
"https://api.qa.blox.co.in/enquiry/v1/reschedule_meeting" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_id\": \"33550\",
\"mobile\": \"7503453964\",
\"country_code\": \"+91\",
\"project_id\": 8,
\"visit_date\": \"2023-12-1\",
\"visit_time\": \"17:05:01\",
\"visit_type\": 1,
\"type\": 3
}"
const url = new URL(
"https://api.qa.blox.co.in/enquiry/v1/reschedule_meeting"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_id": "33550",
"mobile": "7503453964",
"country_code": "+91",
"project_id": 8,
"visit_date": "2023-12-1",
"visit_time": "17:05:01",
"visit_type": 1,
"type": 3
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Enquiry - Lead Capture
requires authentication
Used to Lead Capture
Example request:
curl --request POST \
"https://api.qa.blox.co.in/enquiry/v1/lead_capture" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"Tony Hanks\",
\"email\": \"tony@example.com\",
\"mobile\": \"9087654321\",
\"country_code\": \"91\",
\"project_banners_id\": 2,
\"project_id\": 7,
\"lead_source\": 86
}"
const url = new URL(
"https://api.qa.blox.co.in/enquiry/v1/lead_capture"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "Tony Hanks",
"email": "tony@example.com",
"mobile": "9087654321",
"country_code": "91",
"project_banners_id": 2,
"project_id": 7,
"lead_source": 86
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Enquiry - Contact Us
requires authentication
Used to contact us
Example request:
curl --request POST \
"https://api.qa.blox.co.in/enquiry/v1/contact_us" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"Tony Hanks\",
\"country_code\": \"+91\",
\"mobile\": \"9087654321\",
\"email\": \"tony@example.com\",
\"message\": \"want to contact\"
}"
const url = new URL(
"https://api.qa.blox.co.in/enquiry/v1/contact_us"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "Tony Hanks",
"country_code": "+91",
"mobile": "9087654321",
"email": "tony@example.com",
"message": "want to contact"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Property API OLD Endpoints
Get Settings
requires authentication
Used to get Website Settings
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/auth/v1/get_website_settings" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.qa.blox.co.in/auth/v1/get_website_settings"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Property - Save Filters
requires authentication
Used to Save Filters
Example request:
curl --request POST \
"https://api.qa.blox.co.in/customer/v1/save_filters" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"customer_id\": \"2\",
\"name\": \"assumenda\",
\"location_ids\": [
3,
1
],
\"developer_ids\": [
4,
3
],
\"project_type_ids\": [
\"similique\"
],
\"property_type_ids\": [
1,
5
],
\"configuration\": [
\"libero\"
],
\"amenities\": [
29,
31
],
\"no_of_bathrooms\": [
2,
3
],
\"area\": [
],
\"city_id\": \"256\",
\"budget_min\": 5000000,
\"budget_max\": 25500000,
\"construction_statuses\": [
1,
2
],
\"top_property\": true,
\"fast_selling\": true,
\"blox_assured\": true,
\"blox_exclusive\": true,
\"is_trending\": true,
\"is_featured\": true,
\"is_popular\": true,
\"is_verified\": true,
\"is_gated_community\": true
}"
const url = new URL(
"https://api.qa.blox.co.in/customer/v1/save_filters"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"customer_id": "2",
"name": "assumenda",
"location_ids": [
3,
1
],
"developer_ids": [
4,
3
],
"project_type_ids": [
"similique"
],
"property_type_ids": [
1,
5
],
"configuration": [
"libero"
],
"amenities": [
29,
31
],
"no_of_bathrooms": [
2,
3
],
"area": [
],
"city_id": "256",
"budget_min": 5000000,
"budget_max": 25500000,
"construction_statuses": [
1,
2
],
"top_property": true,
"fast_selling": true,
"blox_assured": true,
"blox_exclusive": true,
"is_trending": true,
"is_featured": true,
"is_popular": true,
"is_verified": true,
"is_gated_community": true
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Property - Get Saved Filters
requires authentication
Used to Get Saved Filters
Example request:
curl --request POST \
"https://api.qa.blox.co.in/customer/v1/get_saved_filters" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"customer_id\": \"3\"
}"
const url = new URL(
"https://api.qa.blox.co.in/customer/v1/get_saved_filters"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"customer_id": "3"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Customer - Remove Filters
requires authentication
Used to Remove Filters
Example request:
curl --request POST \
"https://api.qa.blox.co.in/auth/v1/delete_saved_filters" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"filter_id\": \"3\"
}"
const url = new URL(
"https://api.qa.blox.co.in/auth/v1/delete_saved_filters"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"filter_id": "3"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Customer - Booked Properties List
requires authentication
fetches booked properties list based on role
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/customer/v1/booked-properties?user_id=33567&user_type=customer&limit=100&offset=0" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_id\": 10,
\"user_type\": \"et\"
}"
const url = new URL(
"https://api.qa.blox.co.in/customer/v1/booked-properties"
);
const params = {
"user_id": "33567",
"user_type": "customer",
"limit": "100",
"offset": "0",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_id": 10,
"user_type": "et"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Customer - Visited Properties List
requires authentication
fetches visited properties list
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/customer/v1/visited-properties?ctoken=76e18e2f51bb738291b7dc945d92e7f7&limit=10&offset=0" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"temporibus\"
}"
const url = new URL(
"https://api.qa.blox.co.in/customer/v1/visited-properties"
);
const params = {
"ctoken": "76e18e2f51bb738291b7dc945d92e7f7",
"limit": "10",
"offset": "0",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "temporibus"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
POST v1/stamp_duty_master_data_api
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/customer/v1/stamp_duty_master_data_api" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.qa.blox.co.in/customer/v1/stamp_duty_master_data_api"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Property API Endpoints
Property - Relevance Sort Options
requires authentication
Used to get relevance sort options for property
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/property/v1/relevance_sort_options" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.qa.blox.co.in/property/v1/relevance_sort_options"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Property - Budget Options
requires authentication
Used to get budget options for property
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/property/v1/budget_options" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.qa.blox.co.in/property/v1/budget_options"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Property - Property Type
requires authentication
Used to get property type
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/property/v1/property_type" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.qa.blox.co.in/property/v1/property_type"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Property - Amenities
requires authentication
Used to get amenities in property
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/property/v1/amenities" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.qa.blox.co.in/property/v1/amenities"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Property - Construction Status
requires authentication
Used to get construction status of a property
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/property/v1/construction_status" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.qa.blox.co.in/property/v1/construction_status"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Property - Config List (BHK Types)
requires authentication
Used to get BHK types for property
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/property/v1/config_list" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.qa.blox.co.in/property/v1/config_list"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Property - Property Area
requires authentication
Used to get property area for property
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/property/v1/property_area" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.qa.blox.co.in/property/v1/property_area"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Property - Master Data
requires authentication
Used to get master data for property
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/property/v1/master_data" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.qa.blox.co.in/property/v1/master_data"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Property - City List
requires authentication
Used to get city list
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/property/v1/city_list" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.qa.blox.co.in/property/v1/city_list"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Property - Location List
requires authentication
Used to get location list
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/property/v1/location_list?city_id=256" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.qa.blox.co.in/property/v1/location_list"
);
const params = {
"city_id": "256",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Property - Keyword Search
requires authentication
Used to get keyword based search for location, project, developer
Example request:
curl --request POST \
"https://api.qa.blox.co.in/property/v1/keyword_search" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"keyword\": \"godrej\",
\"city_id\": 256,
\"developer\": true,
\"location\": true,
\"project\": false
}"
const url = new URL(
"https://api.qa.blox.co.in/property/v1/keyword_search"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"keyword": "godrej",
"city_id": 256,
"developer": true,
"location": true,
"project": false
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Property - List Hot Properties
requires authentication
Use to get list of hot properties with property tags and other essential informations
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/property/v1/property_list?city_id=256" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.qa.blox.co.in/property/v1/property_list"
);
const params = {
"city_id": "256",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Property - Near You
requires authentication
Use to get list of properties near you according to the city_id provided
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/property/v1/properties_near_you?city_id=256" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.qa.blox.co.in/property/v1/properties_near_you"
);
const params = {
"city_id": "256",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Property - Search
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/property/v1/property_search" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"segments\": \"\\/filters\\/mumbai\\/builders-developers?developer=9%2C32%2C33\",
\"city_id\": 256,
\"location_ids\": [
3,
1
],
\"developer_ids\": [
4,
3,
8,
12,
19
],
\"budget_min\": 5000000,
\"budget_max\": 25500000,
\"project_type_ids\": [
1,
2
],
\"property_type_ids\": [
1,
5,
6,
7,
8,
9,
10
],
\"configurations\": [
4,
5,
6,
7
],
\"area_min\": 100,
\"area_max\": 2000,
\"construction_statuses\": [
1,
2
],
\"amenities\": [
29,
31,
32,
46,
47,
48,
49,
50,
54,
56
],
\"no_of_bathrooms\": [
2,
3,
4
],
\"limit\": 10,
\"offset\": 1,
\"sort_key\": \"updated_at\",
\"sort_order\": \"DESC\",
\"top_property\": true,
\"fast_selling\": true,
\"blox_assured\": true,
\"blox_exclusive\": true,
\"is_trending\": true,
\"is_featured\": true,
\"is_popular\": true,
\"is_verified\": true,
\"is_gated_community\": true
}"
const url = new URL(
"https://api.qa.blox.co.in/property/v1/property_search"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"segments": "\/filters\/mumbai\/builders-developers?developer=9%2C32%2C33",
"city_id": 256,
"location_ids": [
3,
1
],
"developer_ids": [
4,
3,
8,
12,
19
],
"budget_min": 5000000,
"budget_max": 25500000,
"project_type_ids": [
1,
2
],
"property_type_ids": [
1,
5,
6,
7,
8,
9,
10
],
"configurations": [
4,
5,
6,
7
],
"area_min": 100,
"area_max": 2000,
"construction_statuses": [
1,
2
],
"amenities": [
29,
31,
32,
46,
47,
48,
49,
50,
54,
56
],
"no_of_bathrooms": [
2,
3,
4
],
"limit": 10,
"offset": 1,
"sort_key": "updated_at",
"sort_order": "DESC",
"top_property": true,
"fast_selling": true,
"blox_assured": true,
"blox_exclusive": true,
"is_trending": true,
"is_featured": true,
"is_popular": true,
"is_verified": true,
"is_gated_community": true
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Property - Details
requires authentication
Used to get details of a specific Project
Example request:
curl --request POST \
"https://api.qa.blox.co.in/property/v1/property_details" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"project_id\": \"7\",
\"slug\": \"\",
\"user_id\": \"\"
}"
const url = new URL(
"https://api.qa.blox.co.in/property/v1/property_details"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"project_id": "7",
"slug": "",
"user_id": ""
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Property - Get Footer SEO Links
requires authentication
Project - Get FAQ
Example request:
curl --request POST \
"https://api.qa.blox.co.in/auth/v1/faq" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"project_id\": \"62\"
}"
const url = new URL(
"https://api.qa.blox.co.in/auth/v1/faq"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"project_id": "62"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Order API Endpoints
Customer - Offline Payment
requires authentication
make offline payment
Example request:
curl --request POST \
"https://api.qa.blox.co.in/order/v1/make-payment-offline" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "ctoken=76e18e2f51bb738291b7dc945d92e7f7" \
--form "order_type=Book" \
--form "token_id=38|122|54|30631|142" \
--form "ch_account_holder=Usain" \
--form "ch_amount=1000" \
--form "ch_account_type=Saving" \
--form "ch_bank_name=SBI" \
--form "ch_branch_name=Paschim Vihar" \
--form "ch_no=867876" \
--form "ch_date=05/08/2022" \
--form "ch_file=@/tmp/phpYwS06s" const url = new URL(
"https://api.qa.blox.co.in/order/v1/make-payment-offline"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('ctoken', '76e18e2f51bb738291b7dc945d92e7f7');
body.append('order_type', 'Book');
body.append('token_id', '38|122|54|30631|142');
body.append('ch_account_holder', 'Usain');
body.append('ch_amount', '1000');
body.append('ch_account_type', 'Saving');
body.append('ch_bank_name', 'SBI');
body.append('ch_branch_name', 'Paschim Vihar');
body.append('ch_no', '867876');
body.append('ch_date', '05/08/2022');
body.append('ch_file', document.querySelector('input[name="ch_file"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Received response:
Request failed with error:
Customer - Eoi Buyer details
requires authentication
Getting Eoi buyer details
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/order/v1/eoi-buyer-details?ctoken=76e18e2f51bb738291b7dc945d92e7f7&project_id=39&property_tower_id=147" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"numquam\",
\"project_id\": 4,
\"property_tower_id\": 4
}"
const url = new URL(
"https://api.qa.blox.co.in/order/v1/eoi-buyer-details"
);
const params = {
"ctoken": "76e18e2f51bb738291b7dc945d92e7f7",
"project_id": "39",
"property_tower_id": "147",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "numquam",
"project_id": 4,
"property_tower_id": 4
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Customer Booking - update EOI customer details/with lead
requires authentication
update EOI customer details/with lead
Example request:
curl --request POST \
"https://api.qa.blox.co.in/order/v1/update-customer-details" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"Sachin Kumar\",
\"email\": \"sachin.kumar@blox.xyz\",
\"phone\": 9599174773,
\"pincode\": 110001,
\"user_type\": \"customer\",
\"phone_country\": 91,
\"project_id\": 39,
\"property_tower_id\": 148,
\"application_source\": 86
}"
const url = new URL(
"https://api.qa.blox.co.in/order/v1/update-customer-details"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "Sachin Kumar",
"email": "sachin.kumar@blox.xyz",
"phone": 9599174773,
"pincode": 110001,
"user_type": "customer",
"phone_country": 91,
"project_id": 39,
"property_tower_id": 148,
"application_source": 86
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Order - Generate RazorPay Order
requires authentication
gnerate razorPay order
Example request:
curl --request POST \
"https://api.qa.blox.co.in/order/v1/generate-order" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"pay_type\": \"card\",
\"order_type\": \"Book\",
\"token_id\": \"38|122|54|30631|142\",
\"ctoken\": \"76e18e2f51bb738291b7dc945d92e7f7\"
}"
const url = new URL(
"https://api.qa.blox.co.in/order/v1/generate-order"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"pay_type": "card",
"order_type": "Book",
"token_id": "38|122|54|30631|142",
"ctoken": "76e18e2f51bb738291b7dc945d92e7f7"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Customer - Update online transaction
requires authentication
update razorPay transaction
Example request:
curl --request POST \
"https://api.qa.blox.co.in/order/v1/update-transaction" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"payment_id\": \"pay_K171MDDEtpQ6NF\",
\"order_id\": \"O33638220803024911\",
\"ctoken\": \"76e18e2f51bb738291b7dc945d92e7f7\"
}"
const url = new URL(
"https://api.qa.blox.co.in/order/v1/update-transaction"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"payment_id": "pay_K171MDDEtpQ6NF",
"order_id": "O33638220803024911",
"ctoken": "76e18e2f51bb738291b7dc945d92e7f7"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Order - Get Booked Details
requires authentication
Get the details of Payment made for a Property using Order ID
Example request:
curl --request POST \
"https://api.qa.blox.co.in/order/v1/get-booked-details" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"order_id\": \"O33542220614040146\",
\"ctoken\": \"76e18e2f51bb738291b7dc945d92e7f7\"
}"
const url = new URL(
"https://api.qa.blox.co.in/order/v1/get-booked-details"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"order_id": "O33542220614040146",
"ctoken": "76e18e2f51bb738291b7dc945d92e7f7"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
RM API Endpoints
RM - Dialer Details
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/getDialerDetails" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"rm_id\": 123,
\"campaign\": 456
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/getDialerDetails"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"rm_id": 123,
"campaign": 456
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Dialer List
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/getDialedList" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"rm_id\": 123,
\"limit\": 10,
\"offset\": 0
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/getDialedList"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"rm_id": 123,
"limit": 10,
"offset": 0
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Update Dial Status
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/updateDialStatus" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"rm_id\": 123,
\"customer_id\": 456,
\"call_status_id\": 789,
\"call_time\": \"2025-02-24 14:30:00\",
\"call_duration_in_seconds\": 180
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/updateDialStatus"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"rm_id": 123,
"customer_id": 456,
"call_status_id": 789,
"call_time": "2025-02-24 14:30:00",
"call_duration_in_seconds": 180
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Update Contacts Details
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/getContactDetails" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/getContactDetails"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Add Dialer Customer
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/addDialerCustomer" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"rm_id\": 123,
\"customer_name\": \"John Doe\",
\"country_code\": \"91\",
\"mobile\": \"9876543210\",
\"campaign\": 5
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/addDialerCustomer"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"rm_id": 123,
"customer_name": "John Doe",
"country_code": "91",
"mobile": "9876543210",
"campaign": 5
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - RM List
requires authentication
Used to get RM list
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/rm_list" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"project_id\": 8
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/rm_list"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"project_id": 8
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Logout
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/rm_logout" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\"
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/rm_logout"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Stamp Duty
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/stamp_duty" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"user_id\": null,
\"user_type\": null,
\"lead_project_id\": null,
\"status\": null
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/stamp_duty"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_id": null,
"user_type": null,
"lead_project_id": null,
"status": null
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Finance
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/finance" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"user_id\": null,
\"user_type\": null,
\"lead_project_id\": null,
\"is_finance\": null
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/finance"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_id": null,
"user_type": null,
"lead_project_id": null,
"is_finance": null
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Agreement
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/agreement" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--form "user_id="\
--form "user_type="\
--form "lead_project_id="\
--form "is_agreement="\
--form "agreement_doc=@/private/var/folders/r8/dtmynt_n5k5cx2jb4hx1_nwc0000gp/T/phpj2kph89ih6qb9IAJfZa" const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/agreement"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('user_id', '');
body.append('user_type', '');
body.append('lead_project_id', '');
body.append('is_agreement', '');
body.append('agreement_doc', document.querySelector('input[name="agreement_doc"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Request Booking
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/request_booking" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"user_id\": null,
\"lead_project_id\": null,
\"is_booking\": null,
\"comment\": null
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/request_booking"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_id": null,
"lead_project_id": null,
"is_booking": null,
"comment": null
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Request EOI
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/request_eoi" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"user_id\": null,
\"lead_project_id\": null,
\"is_eoi\": null,
\"comment\": null
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/request_eoi"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_id": null,
"lead_project_id": null,
"is_eoi": null,
"comment": null
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Customer Inprogress Project
requires authentication
Used to Get all customer Inprogress Project List
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/inprogress_projects" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"customer_id\": null,
\"enquiry_id\": 30118
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/inprogress_projects"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"customer_id": null,
"enquiry_id": 30118
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Project Detail
requires authentication
Used to Get Project Detail List
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/rmproject_details" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"enquiry_id\": null,
\"project_id\": 30118
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/rmproject_details"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"enquiry_id": null,
"project_id": 30118
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Search Customer
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/search_customer" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"search_id\": \"enim\"
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/search_customer"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"search_id": "enim"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Signin
requires authentication
Used to Signin
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/rmsignin" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"mobile\": \"9801234567\",
\"country_code\": \"91\"
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/rmsignin"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"mobile": "9801234567",
"country_code": "91"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Verify-OTP
requires authentication
Used to Verify OTP
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/rmverify_otp" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"otp\": \"1234\",
\"email\": \"john@example.com\",
\"mobile\": \"9087654321\",
\"country_code\": \"91\",
\"device_id\": \"a2gdf3hh3\"
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/rmverify_otp"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"otp": "1234",
"email": "john@example.com",
"mobile": "9087654321",
"country_code": "91",
"device_id": "a2gdf3hh3"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Customer All Enquiry List
requires authentication
Used to Getcustomer all enquiry List
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/all_enquiry" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"customer_id\": null,
\"tab_id\": 2
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/all_enquiry"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"customer_id": null,
"tab_id": 2
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Send-OTP
requires authentication
Used to Send OTP
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/rmsend_otp" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"email\": \"john@example.com\",
\"mobile\": \"9087654321\",
\"country_code\": \"91\",
\"whatsapp_flag\": \"0\",
\"device_id\": \"a2gdf3hh3\"
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/rmsend_otp"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "john@example.com",
"mobile": "9087654321",
"country_code": "91",
"whatsapp_flag": "0",
"device_id": "a2gdf3hh3"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Verify Social Login Token
requires authentication
Used to Verify Social Login Token
RM - Home Loan Request
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/homeLoanRequest" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"rm_id\": 123,
\"customer_id\": 456,
\"monthly_income\": \"\\\"50000\\\"\",
\"product\": \"\\\"Personal Loan\\\"\",
\"city\": \"\\\"Mumbai\\\"\",
\"ip_address\": \"\\\"192.168.1.1\\\"\",
\"enquiry_no_id\": \"\\\"ENQ12345\\\"\",
\"project_id\": \"101\",
\"refresh_auth\": \"\\\"1\\\"\",
\"requested_amount\": \"\\\"100000\\\"\",
\"pincode\": \"\\\"400001\\\"\",
\"employment_type\": \"\\\"Salaried\\\"\"
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/homeLoanRequest"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"rm_id": 123,
"customer_id": 456,
"monthly_income": "\"50000\"",
"product": "\"Personal Loan\"",
"city": "\"Mumbai\"",
"ip_address": "\"192.168.1.1\"",
"enquiry_no_id": "\"ENQ12345\"",
"project_id": "101",
"refresh_auth": "\"1\"",
"requested_amount": "\"100000\"",
"pincode": "\"400001\"",
"employment_type": "\"Salaried\""
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Location for pincode.
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/locations_for_pincode" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"odio\",
\"pincode\": \"\\\"123456\\\".\"
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/locations_for_pincode"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "odio",
"pincode": "\"123456\"."
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Enquiry History
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/enquiry-history" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"a377dd62a692330c7066155684afcd23\",
\"enquiry_id\": 123
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/enquiry-history"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "a377dd62a692330c7066155684afcd23",
"enquiry_id": 123
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Unassign Enquiry
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/rm_unassign" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"a377dd62a692330c7066155684afcd23\",
\"enquiry_id\": 123
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/rm_unassign"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "a377dd62a692330c7066155684afcd23",
"enquiry_id": 123
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Get RM Sourcing Managers
requires authentication
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/rm/rm-major-1/sourcing_managers" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\"
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/sourcing_managers"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Campaigns
requires authentication
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/rm/rm-major-1/campaigns" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"user_id\": 123
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/campaigns"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_id": 123
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Khoj Search by Phone
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/search_khoj" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"a377dd62a692330c7066155684afcd23\",
\"phone\": \"9876543210\"
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/search_khoj"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "a377dd62a692330c7066155684afcd23",
"phone": "9876543210"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - LeadGen Statistics
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/lead_gen_statistics" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"a377dd62a692330c7066155684afcd23\"
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/lead_gen_statistics"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "a377dd62a692330c7066155684afcd23"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Enquiries
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/enquiries" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"a377dd62a692330c7066155684afcd23\",
\"source\": [
\"lead_gen\",
\"digital\"
],
\"status\": \"\\\"new\\\"\",
\"sub_status\": \"\\\"unactioned\\\"\",
\"limit\": 10,
\"offset\": 0,
\"search\": \"\\\"John Doe\\\"\"
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/enquiries"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "a377dd62a692330c7066155684afcd23",
"source": [
"lead_gen",
"digital"
],
"status": "\"new\"",
"sub_status": "\"unactioned\"",
"limit": 10,
"offset": 0,
"search": "\"John Doe\""
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Upload User Location
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/upload_location" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"a377dd62a692330c7066155684afcd23\",
\"lat\": \"\\\"12.9716\\\"\",
\"long\": \"\\\"77.5946\\\"\",
\"address\": \"\\\"Bangalore, India\\\"\",
\"event_timestamp\": 1632499200
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/upload_location"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "a377dd62a692330c7066155684afcd23",
"lat": "\"12.9716\"",
"long": "\"77.5946\"",
"address": "\"Bangalore, India\"",
"event_timestamp": 1632499200
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Get Location
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/get_location" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"a377dd62a692330c7066155684afcd23\",
\"from\": 1632499200,
\"to\": 1632585600
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/get_location"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "a377dd62a692330c7066155684afcd23",
"from": 1632499200,
"to": 1632585600
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - File Upload
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/upload_image" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--form "ctoken=a377dd62a692330c7066155684afcd23"\
--form "file=@/private/var/folders/r8/dtmynt_n5k5cx2jb4hx1_nwc0000gp/T/phpjnboaum6tljld0zHbyL" const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/upload_image"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('ctoken', 'a377dd62a692330c7066155684afcd23');
body.append('file', document.querySelector('input[name="file"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - BPCL
requires authentication
This endpoint returns a list of property types with corresponding unique integer identifiers. The response contains common property types such as "1 BHK", "2 BHK", and others, as well as commercial spaces like "Coworking Space" and "Restaurant".
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/rm/rm-major-1/bpcl" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}"const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/bpcl"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - ZoneLocationMapping
requires authentication
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/rm/rm-major-1/zone_location_mapping" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"a377dd62a692330c7066155684afcd23\"
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/zone_location_mapping"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "a377dd62a692330c7066155684afcd23"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Notifications
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/notifications" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"a377dd62a692330c7066155684afcd23\",
\"type\": \"\'all\'\",
\"title\": \"\'New Update\'\",
\"body\": \"\'Important update for all members.\'\",
\"image\": \"\'https:\\/\\/example.com\\/image.jpg\'\"
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/notifications"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "a377dd62a692330c7066155684afcd23",
"type": "'all'",
"title": "'New Update'",
"body": "'Important update for all members.'",
"image": "'https:\/\/example.com\/image.jpg'"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - My Meeting
requires authentication
Used to Get My Meeting Data
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/rm/rm-major-1/my_meeting" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"533b048254293d413630705cea308e1f\",
\"tab_id\": 1,
\"limit\": 100,
\"offset\": 0
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/my_meeting"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "533b048254293d413630705cea308e1f",
"tab_id": 1,
"limit": 100,
"offset": 0
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM -Accept Enquiry
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/accept_enquiry" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"533b048254293d413630705cea308e1f\",
\"enquiry_id\": null,
\"project_id\": null
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/accept_enquiry"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "533b048254293d413630705cea308e1f",
"enquiry_id": null,
"project_id": null
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Add RM Profile Pic
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/update_profile_pic" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--form "ctoken=e7ff6070baaa30946ad195e7ea678e9e"\
--form "profile_pic=@/private/var/folders/r8/dtmynt_n5k5cx2jb4hx1_nwc0000gp/T/php53j7tf5trr9fc33708X" const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/update_profile_pic"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('ctoken', 'e7ff6070baaa30946ad195e7ea678e9e');
body.append('profile_pic', document.querySelector('input[name="profile_pic"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Remove RM Profile Pic
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/remove_profile_pic" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\"
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/remove_profile_pic"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - All Property List
requires authentication
Used to Get all Property List
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/rm/rm-major-1/rmmy_project" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"533b048254293d413630705cea308e1f\",
\"limit\": 100,
\"offset\": 0
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/rmmy_project"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "533b048254293d413630705cea308e1f",
"limit": 100,
"offset": 0
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Schedule Visit
requires authentication
Used to Schedule Visit
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/schedule_visit" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"533b048254293d413630705cea308e1f\",
\"enquiry_id\": 201,
\"project_id\": 23,
\"property_id\": 134,
\"visit_type\": 1,
\"next_schedule\": \"2022-09-22 02:00:00\"
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/schedule_visit"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "533b048254293d413630705cea308e1f",
"enquiry_id": 201,
"project_id": 23,
"property_id": 134,
"visit_type": 1,
"next_schedule": "2022-09-22 02:00:00"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Interaction List
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/interaction_list" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"12345abcd\",
\"customer_id\": 1001,
\"enquiry_id\": \"2001\",
\"limit\": \"10\",
\"offset\": \"0\"
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/interaction_list"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "12345abcd",
"customer_id": 1001,
"enquiry_id": "2001",
"limit": "10",
"offset": "0"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Add/Update Enquiry
requires authentication
Used to Add/Update Enquiry
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/add_update_enquiry" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"533b048254293d413630705cea308e1f\",
\"customer_id\": 33681,
\"enquiry_type\": 4,
\"master_source\": 25,
\"lead_source\": 26
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/add_update_enquiry"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "533b048254293d413630705cea308e1f",
"customer_id": 33681,
"enquiry_type": 4,
"master_source": 25,
"lead_source": 26
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Add Project for enquiry.
requires authentication
Used to add project for enquiry.
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/add_project" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"533b048254293d413630705cea308e1f\",
\"customer_id\": 35073,
\"enquiry_id\": 30143,
\"project_id\": 1
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/add_project"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "533b048254293d413630705cea308e1f",
"customer_id": 35073,
"enquiry_id": 30143,
"project_id": 1
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Assign RM
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/assign_rm" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"enquiry_id\": \"error\",
\"rm_id\": 8,
\"is_fromshortlited\": null
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/assign_rm"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"enquiry_id": "error",
"rm_id": 8,
"is_fromshortlited": null
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Project List RM
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/project_list" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"enquiry_id\": 30143
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/project_list"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"enquiry_id": 30143
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Get Particular Enquiry Detail.
requires authentication
Used to Get Enquiry details for update-case.
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/rm/rm-major-1/get_enquiry?ctoken=533b048254293d413630705cea308e1f" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}"const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/get_enquiry"
);
const params = {
"ctoken": "533b048254293d413630705cea308e1f",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - get Pipeline enquiry
requires authentication
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/rm/rm-major-1/get_enquiry_details" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"culpa\",
\"enquiry_id\": 123
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/get_enquiry_details"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "culpa",
"enquiry_id": 123
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Dashboard
requires authentication
Used to Get Dashboard Data
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/rm/rm-major-1/my_dashboard" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"533b048254293d413630705cea308e1f\",
\"tab_id\": 1,
\"limit\": 100,
\"offset\": 0
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/my_dashboard"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "533b048254293d413630705cea308e1f",
"tab_id": 1,
"limit": 100,
"offset": 0
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Get RM Profile
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/get_profile" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\"
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/get_profile"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - My Portfolio List
requires authentication
Used to Get My Portfolio List
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/rm_my_portfolio" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"533b048254293d413630705cea308e1f\",
\"limit\": 100,
\"offset\": 0
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/rm_my_portfolio"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "533b048254293d413630705cea308e1f",
"limit": 100,
"offset": 0
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Shortlisted Project List.
requires authentication
Used to Get shortlisted project list.
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/shortlisted_projects_list" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"533b048254293d413630705cea308e1f\",
\"customer_id\": 35073,
\"limit\": 100,
\"offset\": 0
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/shortlisted_projects_list"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "533b048254293d413630705cea308e1f",
"customer_id": 35073,
"limit": 100,
"offset": 0
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM -All Filter Master Data List
requires authentication
Used to Get All Filter Master Data List
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/rm/rm-major-1/allfiter_masterdata" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"limit\": 100,
\"offset\": 0
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/allfiter_masterdata"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"limit": 100,
"offset": 0
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - Add Interaction
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/save_interaction" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"533b048254293d413630705cea308e1f\",
\"enquiry_id\": null,
\"lead_status\": null,
\"comment\": null,
\"next_follow_date\": null
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/save_interaction"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "533b048254293d413630705cea308e1f",
"enquiry_id": null,
"lead_status": null,
"comment": null,
"next_follow_date": null
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - My Task List
requires authentication
Used to Get My Task
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/my_task_list" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"533b048254293d413630705cea308e1f\",
\"day\": \"today\",
\"limit\": 100,
\"offset\": 0
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/my_task_list"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "533b048254293d413630705cea308e1f",
"day": "today",
"limit": 100,
"offset": 0
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - My Team Task List.
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/myteam_task_list" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"12345abcd\",
\"limit\": \"10\",
\"offset\": \"20\",
\"start_date\": \"2025-02-01\",
\"end_date\": \"2025-02-28\"
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/myteam_task_list"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "12345abcd",
"limit": "10",
"offset": "20",
"start_date": "2025-02-01",
"end_date": "2025-02-28"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - My team statistics
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/my_team_statistics" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"\\\"abc123xyz\\\"\",
\"from\": \"\\\"2025-02-01\\\"\",
\"to\": \"\\\"2025-02-25\\\"\",
\"zone_ids\": \"[1, 2, 3]\",
\"team_members\": \"[101, 102, 103]\"
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/my_team_statistics"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "\"abc123xyz\"",
"from": "\"2025-02-01\"",
"to": "\"2025-02-25\"",
"zone_ids": "[1, 2, 3]",
"team_members": "[101, 102, 103]"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
RM - My Team List.
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/rm/rm-major-1/my_team_list" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--data "{
\"ctoken\": \"veniam\",
\"zones\": \"repudiandae\",
\"sort\": \"tempora\"
}"
const url = new URL(
"https://api.qa.blox.co.in/rm/rm-major-1/my_team_list"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "veniam",
"zones": "repudiandae",
"sort": "tempora"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Developer API Endpoints
Developer - Developer List
requires authentication
Used to get developer list
Example request:
curl --request POST \
"https://api.qa.blox.co.in/developer/v1/developer_list" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"limit\": 100,
\"offset\": 0
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v1/developer_list"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"limit": 100,
"offset": 0
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Developers
requires authentication
Used to get developers
Example request:
curl --request POST \
"https://api.qa.blox.co.in/developer/v1/developers" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"top_developer\": 0,
\"sort_key\": \"alphabet\",
\"city_id\": 269,
\"sort_order\": \"ASC\",
\"limit\": 100,
\"offset\": 0
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v1/developers"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"top_developer": 0,
"sort_key": "alphabet",
"city_id": 269,
"sort_order": "ASC",
"limit": 100,
"offset": 0
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Developer - Get Developer Details
requires authentication
Used to Get Developer Details
Example request:
curl --request POST \
"https://api.qa.blox.co.in/developer/v1/get_developer_details" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e3e3e48db7f4f01938fdd6791eaa8e6c\"
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v1/get_developer_details"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e3e3e48db7f4f01938fdd6791eaa8e6c"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Developer - all projects list with enquiries
requires authentication
all projects list with enquiries
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/customer/v1/developer-projects?ctoken=e3e3e48db7f4f01938fdd6791eaa8e6c&search_key=aws&limit=10&offset=0&date_from=2021-01-01&date_to=2023-01-01" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.qa.blox.co.in/customer/v1/developer-projects"
);
const params = {
"ctoken": "e3e3e48db7f4f01938fdd6791eaa8e6c",
"search_key": "aws",
"limit": "10",
"offset": "0",
"date_from": "2021-01-01",
"date_to": "2023-01-01",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Developer - Monthwise enquiries count
requires authentication
Monthwise enquiries count
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/developer/v1/enquiries/count-by-month?ctoken=e3e3e48db7f4f01938fdd6791eaa8e6c&project_id=0&date_from=2021-01-01&date_to=2023-01-01" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.qa.blox.co.in/developer/v1/enquiries/count-by-month"
);
const params = {
"ctoken": "e3e3e48db7f4f01938fdd6791eaa8e6c",
"project_id": "0",
"date_from": "2021-01-01",
"date_to": "2023-01-01",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Developer - Profile update
requires authentication
update developer profile
Example request:
curl --request POST \
"https://api.qa.blox.co.in/developer/v1/update-profile" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "ctoken=e3e3e48db7f4f01938fdd6791eaa8e6c" \
--form "name=piramal ananya" \
--form "legal_entity_name=piramal ananya" \
--form "cin=L70200MH10PTC123456" \
--form "gst_no=12BLOXS1234A1BC" \
--form "tan_no=BLOXS1234A" \
--form "pan_no=BLOXS1234A" \
--form "company_founded_in_year=2022" \
--form "whatsapp_receive_updates=0" \
--form "point_of_contact_no=9087654321" \
--form "point_of_contact_email=tony@example.com" \
--form "developer_id=37" \
--form "image=@/tmp/phpxnvlTC" const url = new URL(
"https://api.qa.blox.co.in/developer/v1/update-profile"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('ctoken', 'e3e3e48db7f4f01938fdd6791eaa8e6c');
body.append('name', 'piramal ananya');
body.append('legal_entity_name', 'piramal ananya');
body.append('cin', 'L70200MH10PTC123456');
body.append('gst_no', '12BLOXS1234A1BC');
body.append('tan_no', 'BLOXS1234A');
body.append('pan_no', 'BLOXS1234A');
body.append('company_founded_in_year', '2022');
body.append('whatsapp_receive_updates', '0');
body.append('point_of_contact_no', '9087654321');
body.append('point_of_contact_email', 'tony@example.com');
body.append('developer_id', '37');
body.append('image', document.querySelector('input[name="image"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Received response:
Request failed with error:
Developer - Recent Booked Propert By Developer
requires authentication
Recent Booked Propert By Developer
Example request:
curl --request POST \
"https://api.qa.blox.co.in/developer/v1/recent-booked-property" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_type\": \"developer\",
\"limit_recent\": \"5\",
\"ctoken\": \"e3e3e48db7f4f01938fdd6791eaa8e6c\"
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v1/recent-booked-property"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_type": "developer",
"limit_recent": "5",
"ctoken": "e3e3e48db7f4f01938fdd6791eaa8e6c"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Developer - Developer Booked Property
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/developer/v1/developer-booked-property?ctoken=f4bbdc73b517a7e34ce00adaf7ba7491&limit=10&offset=0&client_id=0&project_id=0&client_name_sort=atoz&project_name_sort=atoz&agreement_min_price=100&agreement_max_price=1000000&agreement_sort=htol&date_from=100&date_to=21-09-2022&date_sort=25-09-2022&configuration=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"limit\": \"ea\"
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v1/developer-booked-property"
);
const params = {
"ctoken": "f4bbdc73b517a7e34ce00adaf7ba7491",
"limit": "10",
"offset": "0",
"client_id": "0",
"project_id": "0",
"client_name_sort": "atoz",
"project_name_sort": "atoz",
"agreement_min_price": "100",
"agreement_max_price": "1000000",
"agreement_sort": "htol",
"date_from": "100",
"date_to": "21-09-2022",
"date_sort": "25-09-2022",
"configuration": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"limit": "ea"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Developer - Client Name Api
requires authentication
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/developer/v1/Search-Client-name?ctoken=f4bbdc73b517a7e34ce00adaf7ba7491&client_name=arti" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"client_name\": \"et\"
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v1/Search-Client-name"
);
const params = {
"ctoken": "f4bbdc73b517a7e34ce00adaf7ba7491",
"client_name": "arti",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"client_name": "et"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Developer - Project Name Api
requires authentication
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/developer/v1/Search-project-name?ctoken=f4bbdc73b517a7e34ce00adaf7ba7491&project_name=arti" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"project_name\": \"sit\"
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v1/Search-project-name"
);
const params = {
"ctoken": "f4bbdc73b517a7e34ce00adaf7ba7491",
"project_name": "arti",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"project_name": "sit"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Developer API V2 Endpoints
Developer - Developer List
requires authentication
Used to get developer list
Example request:
curl --request POST \
"https://api.qa.blox.co.in/developer/v2/developer_list" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"top_developer\": 213632829.80435,
\"limit\": 100,
\"offset\": 0
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v2/developer_list"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"top_developer": 213632829.80435,
"limit": 100,
"offset": 0
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Developer - Developers
requires authentication
Used to get developers
Example request:
curl --request POST \
"https://api.qa.blox.co.in/developer/v2/developers" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"top_developer\": 1022241.748991,
\"keyword\": \"Birla\",
\"city_id\": 269,
\"sort_key\": \"alphabet\",
\"sort_order\": \"ASC\",
\"limit\": 100,
\"offset\": 0
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v2/developers"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"top_developer": 1022241.748991,
"keyword": "Birla",
"city_id": 269,
"sort_key": "alphabet",
"sort_order": "ASC",
"limit": 100,
"offset": 0
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Developer - Developer Escrow Details
requires authentication
Developer Escrow Details
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/developer/v2/developer-escrow-details?escrow_id=10" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"escrow_id\": 460351805
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v2/developer-escrow-details"
);
const params = {
"escrow_id": "10",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"escrow_id": 460351805
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Developer - Developer Escrow List
requires authentication
Developer Escrow List
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/developer/v2/developer-escrow?ctoken=e7ff6070baaa30946ad195e7ea678e9e&limit=10&offset=0" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"limit\": 82,
\"offset\": 287752406
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v2/developer-escrow"
);
const params = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"limit": "10",
"offset": "0",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"limit": 82,
"offset": 287752406
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Developer - Recent Booked Propert By Developer
requires authentication
Recent Booked Propert By Developer
Example request:
curl --request POST \
"https://api.qa.blox.co.in/developer/v2/recent-booked-property" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_type\": \"developer\",
\"limit_recent\": \"5\",
\"ctoken\": \"e3e3e48db7f4f01938fdd6791eaa8e6c\"
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v2/recent-booked-property"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_type": "developer",
"limit_recent": "5",
"ctoken": "e3e3e48db7f4f01938fdd6791eaa8e6c"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Developer - Get Developer Profile
requires authentication
Getting Developer Profile
Example request:
curl --request POST \
"https://api.qa.blox.co.in/developer/v2/get_profile_details" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"76e18e2f51bb738291b7dc945d92e7f7\"
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v2/get_profile_details"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "76e18e2f51bb738291b7dc945d92e7f7"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Developer - Update Profile Details
requires authentication
Used to Update Profile Details
Example request:
curl --request POST \
"https://api.qa.blox.co.in/developer/v2/update/user/details" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"name\": \"john\",
\"dob\": \"1991-01-01\",
\"designation\": \"Developer\",
\"email\": \"john@example.com\",
\"mobile\": \"9087654321\",
\"country_code\": \"91\"
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v2/update/user/details"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"name": "john",
"dob": "1991-01-01",
"designation": "Developer",
"email": "john@example.com",
"mobile": "9087654321",
"country_code": "91"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Developer - Add Developer Profile Pic
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/developer/v2/update_profile_pic" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "ctoken=e7ff6070baaa30946ad195e7ea678e9e" \
--form "profile_pic=@/tmp/phpe6pFR5" const url = new URL(
"https://api.qa.blox.co.in/developer/v2/update_profile_pic"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('ctoken', 'e7ff6070baaa30946ad195e7ea678e9e');
body.append('profile_pic', document.querySelector('input[name="profile_pic"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Received response:
Request failed with error:
Developer - Remove Developer Profile Pic
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/developer/v2/remove_profile_pic" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\"
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v2/remove_profile_pic"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Developer - Developer Booked Property
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/developer/v2/developer-booked-property" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"limit\": 10,
\"offset\": 0,
\"orderType\": \"EOI\",
\"agreement_max_price\": 1000000,
\"agreement_min_price\": 100,
\"configuration\": 1,
\"ctoken\": \"4c98182b4e2685c26e234024db64a713\",
\"date_from\": \"2022-06-09\",
\"date_to\": \"2022-12-09\"
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v2/developer-booked-property"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"limit": 10,
"offset": 0,
"orderType": "EOI",
"agreement_max_price": 1000000,
"agreement_min_price": 100,
"configuration": 1,
"ctoken": "4c98182b4e2685c26e234024db64a713",
"date_from": "2022-06-09",
"date_to": "2022-12-09"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Developer - Client Name Api
requires authentication
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/developer/v2/Search-Client-name?ctoken=f4bbdc73b517a7e34ce00adaf7ba7491&client_name=arti" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.qa.blox.co.in/developer/v2/Search-Client-name"
);
const params = {
"ctoken": "f4bbdc73b517a7e34ce00adaf7ba7491",
"client_name": "arti",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Developer - Project Name Api
requires authentication
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/developer/v2/Search-project-name?ctoken=4c98182b4e2685c26e234024db64a713&project_name=arti" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.qa.blox.co.in/developer/v2/Search-project-name"
);
const params = {
"ctoken": "4c98182b4e2685c26e234024db64a713",
"project_name": "arti",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Developer - Get Developer Details
requires authentication
Used to Get Developer Details
Example request:
curl --request POST \
"https://api.qa.blox.co.in/developer/v2/get_developer_details" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"bb474260310ae0d3712bf933af67680e\"
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v2/get_developer_details"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "bb474260310ae0d3712bf933af67680e"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Developer - Profile update
requires authentication
update developer profile
Example request:
curl --request POST \
"https://api.qa.blox.co.in/developer/v2/update-profile" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "ctoken=e3e3e48db7f4f01938fdd6791eaa8e6c" \
--form "name=piramal ananya" \
--form "legal_entity_name=piramal ananya" \
--form "cin=L70200MH10PTC123456" \
--form "gst_no=12BLOXS1234A1BC" \
--form "tan_no=BLOXS1234A" \
--form "pan_no=BLOXS1234A" \
--form "company_founded_in_year=6354" \
--form "whatsapp_receive_updates=0" \
--form "point_of_contact_no=9087654321" \
--form "point_of_contact_email=tony@example.com" \
--form "developer_id=37" \
--form "image=@/tmp/phplKTBjw" const url = new URL(
"https://api.qa.blox.co.in/developer/v2/update-profile"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('ctoken', 'e3e3e48db7f4f01938fdd6791eaa8e6c');
body.append('name', 'piramal ananya');
body.append('legal_entity_name', 'piramal ananya');
body.append('cin', 'L70200MH10PTC123456');
body.append('gst_no', '12BLOXS1234A1BC');
body.append('tan_no', 'BLOXS1234A');
body.append('pan_no', 'BLOXS1234A');
body.append('company_founded_in_year', '6354');
body.append('whatsapp_receive_updates', '0');
body.append('point_of_contact_no', '9087654321');
body.append('point_of_contact_email', 'tony@example.com');
body.append('developer_id', '37');
body.append('image', document.querySelector('input[name="image"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Received response:
Request failed with error:
Developer - all projects list with enquiries
requires authentication
all projects list with enquiries
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/developer/v2/developer-projects?ctoken=e3e3e48db7f4f01938fdd6791eaa8e6c&search_key=aws&limit=10&offset=0&date_from=2021-01-01&date_to=2023-01-01" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.qa.blox.co.in/developer/v2/developer-projects"
);
const params = {
"ctoken": "e3e3e48db7f4f01938fdd6791eaa8e6c",
"search_key": "aws",
"limit": "10",
"offset": "0",
"date_from": "2021-01-01",
"date_to": "2023-01-01",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Developer - Monthwise enquiries count
requires authentication
Monthwise enquiries count
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/developer/v2/enquiries/count-by-month?ctoken=e3e3e48db7f4f01938fdd6791eaa8e6c&project_id=0&date_from=2021-01-01&date_to=2023-01-01&limit_recent=3&dashboard=0" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.qa.blox.co.in/developer/v2/enquiries/count-by-month"
);
const params = {
"ctoken": "e3e3e48db7f4f01938fdd6791eaa8e6c",
"project_id": "0",
"date_from": "2021-01-01",
"date_to": "2023-01-01",
"limit_recent": "3",
"dashboard": "0",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Developer - Booking Overview
requires authentication
Booking Overview
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/developer/v2/bookings/overview?ctoken=72755da8ed85da9b938d44ed6f030ee3&date_from=2022-01-01&date_to=2022-06-01&state_id=0&city_id=0&project_id=0" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.qa.blox.co.in/developer/v2/bookings/overview"
);
const params = {
"ctoken": "72755da8ed85da9b938d44ed6f030ee3",
"date_from": "2022-01-01",
"date_to": "2022-06-01",
"state_id": "0",
"city_id": "0",
"project_id": "0",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Developer - Add Associated Project
requires authentication
Developer Add Associated Project
Example request:
curl --request POST \
"https://api.qa.blox.co.in/developer/v2/add_associated_project" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"project_id\": \"45,49\"
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v2/add_associated_project"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"project_id": "45,49"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Developer - Get Associated Projects
requires authentication
list of Associated projects
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/developer/v2/get_associated_project?ctoken=e7ff6070baaa30946ad195e7ea678e9e&limit=10&offset=0" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"aliquid\",
\"limit\": 979,
\"offset\": 1738818450
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v2/get_associated_project"
);
const params = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"limit": "10",
"offset": "0",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "aliquid",
"limit": 979,
"offset": 1738818450
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Developer - Developer Update Associated Project
requires authentication
Developer Update Associated Project
Example request:
curl --request POST \
"https://api.qa.blox.co.in/developer/v2/update_associated_project" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"aasociated_project_id\": 2,
\"project_id\": 10
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v2/update_associated_project"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"aasociated_project_id": 2,
"project_id": 10
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Developer - Developer Project Status Update
requires authentication
Developer Project Status Update
Example request:
curl --request POST \
"https://api.qa.blox.co.in/developer/v2/Change_project_status" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"project_id\": 10,
\"status\": 0
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v2/Change_project_status"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"project_id": 10,
"status": 0
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Developer - list of states
requires authentication
list of states for a developer
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/developer/v2/states?ctoken=e3e3e48db7f4f01938fdd6791eaa8e6c&search_key=mah" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.qa.blox.co.in/developer/v2/states"
);
const params = {
"ctoken": "e3e3e48db7f4f01938fdd6791eaa8e6c",
"search_key": "mah",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Developer - list of cities
requires authentication
list of cities for a developer
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/developer/v2/cities?ctoken=e3e3e48db7f4f01938fdd6791eaa8e6c&search_key=mum" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.qa.blox.co.in/developer/v2/cities"
);
const params = {
"ctoken": "e3e3e48db7f4f01938fdd6791eaa8e6c",
"search_key": "mum",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Developer - Get Profile Pic
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/developer/v2/get_profile_pic" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\"
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v2/get_profile_pic"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Developer - All countries Lists
requires authentication
All countries Lists
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/developer/v2/get_country_list?ctoken=4c98182b4e2685c26e234024db64a713" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.qa.blox.co.in/developer/v2/get_country_list"
);
const params = {
"ctoken": "4c98182b4e2685c26e234024db64a713",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "Country List",
"data": [
{
"id": 2,
"name": "ALBANIA",
"iso": "AL",
"phonecode": 355
},
{
"id": 3,
"name": "ALGERIA",
"iso": "DZ",
"phonecode": 213
},
{
"id": 4,
"name": "AMERICAN SAMOA",
"iso": "AS",
"phonecode": 1684
},
{
"id": 5,
"name": "ANDORRA",
"iso": "AD",
"phonecode": 376
},
{
"id": 8,
"name": "ANTARCTICA",
"iso": "AQ",
"phonecode": 0
},
{
"id": 99,
"name": "INDIA",
"iso": "IN",
"phonecode": 91
},
]
}
Received response:
Request failed with error:
Developer - All states Lists based on country
requires authentication
All states Lists based on country
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/developer/v2/get_state_list?ctoken=4c98182b4e2685c26e234024db64a713&country_id=99" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.qa.blox.co.in/developer/v2/get_state_list"
);
const params = {
"ctoken": "4c98182b4e2685c26e234024db64a713",
"country_id": "99",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "State List",
"data": [
{
"id": 47,
"name": "Andaman Nicobar",
"country_id": 99
},
{
"id": 45,
"name": "Arunachal Pradesh",
"country_id": 99
},
{
"id": 5,
"name": "Bihar",
"country_id": 99
},
{
"id": 39,
"name": "Chandigarh",
"country_id": 99
},
{
"id": 7,
"name": "Chhattisgarh",
"country_id": 99
},
{
"id": 9,
"name": "Daman and Diu",
"country_id": 99
},
{
"id": 10,
"name": "Delhi",
"country_id": 99
},
]
}
Received response:
Request failed with error:
Developer - All cities lists based on state
requires authentication
All cities lists based on state
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/developer/v2/get_city_list?ctoken=4c98182b4e2685c26e234024db64a713&state_id=11" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.qa.blox.co.in/developer/v2/get_city_list"
);
const params = {
"ctoken": "4c98182b4e2685c26e234024db64a713",
"state_id": "11",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "City list",
"data": [
{
"id": 92,
"name": "Anjuna"
},
{
"id": 93,
"name": "Arambol"
},
{
"id": 94,
"name": "Assolna"
},
{
"id": 103,
"name": "Bardez"
},
{
"id": 105,
"name": "Benavalim"
},
{
"id": 106,
"name": "Bicholim"
},
{
"id": 109,
"name": "Calangute"
},
{
"id": 110,
"name": "Canacona"
},
]
}
Received response:
Request failed with error:
Developer - list of roles
requires authentication
list of roles
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/developer/v2/roles?ctoken=e3e3e48db7f4f01938fdd6791eaa8e6c" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.qa.blox.co.in/developer/v2/roles"
);
const params = {
"ctoken": "e3e3e48db7f4f01938fdd6791eaa8e6c",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Inventory - Instructions
requires authentication
Used to get Instructions
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/developer/v2/inventory/instructions" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"project_id\": 1,
\"tower_id\": 2,
\"ctoken\": \"bb474260310ae0d3712bf933af67680e\"
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v2/inventory/instructions"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"project_id": 1,
"tower_id": 2,
"ctoken": "bb474260310ae0d3712bf933af67680e"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Inventory - Upload
requires authentication
Used to upload inventory CSV file
Example request:
curl --request POST \
"https://api.qa.blox.co.in/developer/v2/inventory/upload" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "project_id=1" \
--form "tower_id=2" \
--form "inventory_upload_id=eligendi" \
--form "ctoken=bb474260310ae0d3712bf933af67680e" \
--form "inventory=@/tmp/phpufhb5W" const url = new URL(
"https://api.qa.blox.co.in/developer/v2/inventory/upload"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('project_id', '1');
body.append('tower_id', '2');
body.append('inventory_upload_id', 'eligendi');
body.append('ctoken', 'bb474260310ae0d3712bf933af67680e');
body.append('inventory', document.querySelector('input[name="inventory"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Received response:
Request failed with error:
Inventory - List
requires authentication
Used to list inventory uploaded
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/developer/v2/inventory/list" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"project_id\": 1,
\"tower_id\": 2,
\"ctoken\": \"bb474260310ae0d3712bf933af67680e\"
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v2/inventory/list"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"project_id": 1,
"tower_id": 2,
"ctoken": "bb474260310ae0d3712bf933af67680e"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Inventory - Upload View
requires authentication
Used to get the inventory uploaded
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/developer/v2/inventory/upload_view" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"inventory_upload_id\": 1,
\"ctoken\": \"bb474260310ae0d3712bf933af67680e\"
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v2/inventory/upload_view"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"inventory_upload_id": 1,
"ctoken": "bb474260310ae0d3712bf933af67680e"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Inventory - Validate Data
requires authentication
Used to validate the inventory uploaded
Example request:
curl --request POST \
"https://api.qa.blox.co.in/developer/v2/inventory/validate_data" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"inventory_upload_id\": 1,
\"ctoken\": \"bb474260310ae0d3712bf933af67680e\"
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v2/inventory/validate_data"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"inventory_upload_id": 1,
"ctoken": "bb474260310ae0d3712bf933af67680e"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Inventory - Confirm Inventory Load
requires authentication
Used to confirm the inventory uploaded
Example request:
curl --request POST \
"https://api.qa.blox.co.in/developer/v2/inventory/confirm_inventory_load" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"inventory_upload_id\": 1,
\"ctoken\": \"bb474260310ae0d3712bf933af67680e\"
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v2/inventory/confirm_inventory_load"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"inventory_upload_id": 1,
"ctoken": "bb474260310ae0d3712bf933af67680e"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Inventory - Inventory View
requires authentication
Used to get the inventory uploaded
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/developer/v2/inventory/inventory_view" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"project_id\": 1,
\"tower_id\": 1,
\"ctoken\": \"bb474260310ae0d3712bf933af67680e\"
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v2/inventory/inventory_view"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"project_id": 1,
"tower_id": 1,
"ctoken": "bb474260310ae0d3712bf933af67680e"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Inventory - Get Unit
requires authentication
Used to get the unit data
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/developer/v2/inventory/get_unit" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"unit_id\": 1,
\"ctoken\": \"bb474260310ae0d3712bf933af67680e\"
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v2/inventory/get_unit"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"unit_id": 1,
"ctoken": "bb474260310ae0d3712bf933af67680e"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Inventory - Add/Update Unit
requires authentication
Used to add/update the unit data
Example request:
curl --request POST \
"https://api.qa.blox.co.in/developer/v2/inventory/add_unit" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"unit_id\": 1,
\"wing\": \"A\",
\"floor_number\": 2,
\"unit_number\": \"A-201\",
\"area\": 700,
\"property_name\": \"1 bhk deluxe\",
\"property_sub_type\": \"1 BHK\",
\"facing\": \"East\",
\"circle_carpet_price\": 5000,
\"carpet_price\": 10000,
\"inventory_status\": 1,
\"ctoken\": \"bb474260310ae0d3712bf933af67680e\"
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v2/inventory/add_unit"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"unit_id": 1,
"wing": "A",
"floor_number": 2,
"unit_number": "A-201",
"area": 700,
"property_name": "1 bhk deluxe",
"property_sub_type": "1 BHK",
"facing": "East",
"circle_carpet_price": 5000,
"carpet_price": 10000,
"inventory_status": 1,
"ctoken": "bb474260310ae0d3712bf933af67680e"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Inventory - Get Project Towers
requires authentication
Used to get Project Towers
Example request:
curl --request GET \
--get "https://api.qa.blox.co.in/developer/v2/inventory/get_project_towers" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"project_id\": 1,
\"ctoken\": \"bb474260310ae0d3712bf933af67680e\"
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v2/inventory/get_project_towers"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"project_id": 1,
"ctoken": "bb474260310ae0d3712bf933af67680e"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Invoice - Get Invoice List
requires authentication
Used to Get Invoice List
Example request:
curl --request POST \
"https://api.qa.blox.co.in/developer/v2/invoice_list" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"limit\": \"20\",
\"offset\": \"0\"
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v2/invoice_list"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"limit": "20",
"offset": "0"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "Invoice List",
"data": [
{
"id": 21,
"invoice_no": "12332",
"booking_id": "O32977220423025506",
"customer_name": "Suraj mail modo",
"customer_image": "https://dev.blox.co.in/assets2/images/icon_user.png",
"configuration": "1 BHK-303",
"invoice_amount": "0.00",
"invoice_by": "CP",
"invoice_date": "2022-09-22 00:00:00",
"invoice_total": "0.00",
"payment_status": "pending",
"payment_details": null,
"invoice_status": "Pending",
"invoice_file_url": ""
},
{
"id": 20,
"invoice_no": "12332",
"booking_id": "O32977220423025506",
"customer_name": "blox",
"customer_image": "https://dev.blox.co.in/assets2/images/icon_user.png",
"configuration": "1 BHK-303",
"invoice_amount": "0.00",
"invoice_by": "CP",
"invoice_date": "2022-09-22 00:00:00",
"invoice_total": "0.00",
"payment_status": "Pending",
"payment_details": null,
"invoice_status": "Pending",
"invoice_file_url": ""
}
]
}
Received response:
Request failed with error:
Invoice - Get Invoice Details
requires authentication
Used to Get Invoice Details
Example request:
curl --request POST \
"https://api.qa.blox.co.in/developer/v2/invoice_detail" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"invoice_id\": 20
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v2/invoice_detail"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"invoice_id": 20
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "Invoice Deatils",
"data": [
{
"id": 1,
"invoice_no": "12332",
"invoice_date": "2022-09-22 00:00:00",
"org_raised_for": "Puranik Builders Limited",
"org_address": "ass",
"org_state": {
"id": "12",
"name": "Gujarat"
},
"org_gst_no": "12BLOXS1234A1BC",
"biller_org": "sda",
"biller_address": "dsfdfdfs",
"biller_state": {
"id": "11",
"name": "Goa"
},
"biller_gst_no": "AS2213231",
"notes": "this",
"customer_name": "Bram yadav",
"customer_image": "https://dev.blox.co.in/assets2/images/icon_user.png",
"invoice_amount": "0.00",
"created_by_user": "CP",
"created_by_user_id": 32967,
"created_for": "blox",
"developer_id": 1,
"booking_amount": "200000.00",
"invoice_file_url": "",
"invoice_total": "0.00",
"payment_status": "Pending",
"invoice_status": "Pending",
"account_data": {
"legal_company_name": "Puranik Builders Limited",
"account_holder_name": "Aldea Annexo",
"current_account_no": "78999999952",
"banks_name": "HDFC BANK",
"ifsc_code": "HDFC0001440",
"address": "ass"
}
}
]
}
Received response:
Request failed with error:
Invoice - Invoice Update
requires authentication
Used to Invoice Update
Example request:
curl --request POST \
"https://api.qa.blox.co.in/developer/v2/update_invoice" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"invoice_id\": 20,
\"status\": \"Accepted\"
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v2/update_invoice"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"invoice_id": 20,
"status": "Accepted"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "Invoice updated successfully",
}
Received response:
Request failed with error:
Endpoints
POST v2/frontEndActivity
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/developer/v2/frontEndActivity" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_id\": 3,
\"user_name\": \"dolorum\",
\"module\": \"quo\",
\"module_id\": 15,
\"sub_module_id\": 6,
\"sub_sub_module_id\": 10
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v2/frontEndActivity"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_id": 3,
"user_name": "dolorum",
"module": "quo",
"module_id": 15,
"sub_module_id": 6,
"sub_sub_module_id": 10
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
POST v2/BackEndActivityLog
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/developer/v2/BackEndActivityLog" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_id\": 7,
\"user_name\": \"consequatur\",
\"module\": \"ex\",
\"module_id\": 14,
\"sub_module_id\": 5,
\"sub_sub_module_id\": 18
}"
const url = new URL(
"https://api.qa.blox.co.in/developer/v2/BackEndActivityLog"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_id": 7,
"user_name": "consequatur",
"module": "ex",
"module_id": 14,
"sub_module_id": 5,
"sub_sub_module_id": 18
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
POST v2/api-error
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/developer/v2/api-error" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.qa.blox.co.in/developer/v2/api-error"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Third Party API Endpoints
Third Party - send sms/whatsapp text
requires authentication
send sms/whatsapp text
Example request:
curl --request POST \
"https://api.qa.blox.co.in/tp/v1/send-sms" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"phone\": \"9599174773\",
\"content\": \"54845 is the OTP to verify your mobile number with Blox. OTP is valid till 10-08-2022 11:57 AM. Do not share with anyone. Thanks, Blox Team\",
\"country_code\": 91,
\"whatsapp_flag\": false,
\"template_id\": 17174,
\"placeholders\": \"12345,12-08-2022 07:50AM\"
}"
const url = new URL(
"https://api.qa.blox.co.in/tp/v1/send-sms"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"phone": "9599174773",
"content": "54845 is the OTP to verify your mobile number with Blox. OTP is valid till 10-08-2022 11:57 AM. Do not share with anyone. Thanks, Blox Team",
"country_code": 91,
"whatsapp_flag": false,
"template_id": 17174,
"placeholders": "12345,12-08-2022 07:50AM"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
CP API Endpoints
CP - Get Profile Details
requires authentication
Used to Get Details
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/get_profile" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/get_profile"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
{
"success": true,
"message": "Profile Details",
"data": {
"id": 33550,
"name": "john",
"phone": "9448355458",
"phone_country": 91,
"email": "tilak.singh1@blox.xyz",
"dob": "2002-08-08",
"pincode": "201301",
"profile_pic": "https://blox-dev-bucket.s3.amazonaws.com/users/310822015003-150722114553-banner1 (1).png",
"state_id": 7,
"state_name": "Chhattisgarh",
"city_id": 256,
"city_name": "Mumbai",
"address": "mumbai",
"is_phone_verified": 0,
"is_email_verified": 0,
"is_verified": 0,
"profile_completed": 0,
"member_since": "21-03-2022"
}
}
}
Received response:
Request failed with error:
CP - Get Country List
requires authentication
Used to Get Country List
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/get_country_list" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/get_country_list"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "Country List",
"data": [
{
"id": 2,
"name": "ALBANIA",
"iso": "AL",
"phonecode": 355
},
{
"id": 3,
"name": "ALGERIA",
"iso": "DZ",
"phonecode": 213
},
{
"id": 4,
"name": "AMERICAN SAMOA",
"iso": "AS",
"phonecode": 1684
},
{
"id": 5,
"name": "ANDORRA",
"iso": "AD",
"phonecode": 376
},
{
"id": 8,
"name": "ANTARCTICA",
"iso": "AQ",
"phonecode": 0
},
{
"id": 99,
"name": "INDIA",
"iso": "IN",
"phonecode": 91
},
]
}
Received response:
Request failed with error:
CP - Get State List
requires authentication
Used to Get State List
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/get_state_list" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"country_id\": \"99\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/get_state_list"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"country_id": "99"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "State List",
"data": [
{
"id": 47,
"name": "Andaman Nicobar",
"country_id": 99
},
{
"id": 45,
"name": "Arunachal Pradesh",
"country_id": 99
},
{
"id": 5,
"name": "Bihar",
"country_id": 99
},
{
"id": 39,
"name": "Chandigarh",
"country_id": 99
},
{
"id": 7,
"name": "Chhattisgarh",
"country_id": 99
},
{
"id": 9,
"name": "Daman and Diu",
"country_id": 99
},
{
"id": 10,
"name": "Delhi",
"country_id": 99
},
]
}
Received response:
Request failed with error:
CP - Get City List
requires authentication
Used to Get City List
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/get_city_list" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"state_id\": \"11\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/get_city_list"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"state_id": "11"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "City list",
"data": [
{
"id": 92,
"name": "Anjuna"
},
{
"id": 93,
"name": "Arambol"
},
{
"id": 94,
"name": "Assolna"
},
{
"id": 103,
"name": "Bardez"
},
{
"id": 105,
"name": "Benavalim"
},
{
"id": 106,
"name": "Bicholim"
},
{
"id": 109,
"name": "Calangute"
},
{
"id": 110,
"name": "Canacona"
},
]
}
Received response:
Request failed with error:
CP - Get Location List
requires authentication
Used to Get Location List
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/get_location_list" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"pincode\": \"400065\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/get_location_list"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"pincode": "400065"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "Location list",
"data": [
{
"id": 1,
"name": "Aarey Road, Mumbai"
},
{
"id": 193,
"name": "Royal Palms, Mumbai"
},
]
}
Received response:
Request failed with error:
CP - Get Register Type
requires authentication
Used to Get Register Type
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/register_type" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/register_type"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "Register Type list",
"data": {
"register_type": {
"private": "Private Ltd.Co.",
"public": "Public Ltd.Co.",
"proprietorship": "Proprietorship",
"partnership": "Partnership",
"llp": "LLP"
}
}
}
Received response:
Request failed with error:
CP - Get Property Types
requires authentication
Used to Get Property Types
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/property_types" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/property_types"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "Property Type list",
"data": [
{
"id": 1,
"name": "Residential",
"sort_order": 1
},
{
"id": 2,
"name": "Commercial",
"sort_order": 1
}
]
}
Received response:
Request failed with error:
CP - Update Profile Details
requires authentication
Used to Update Profile Details
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/update_profile" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "ctoken=e7ff6070baaa30946ad195e7ea678e9e" \
--form "name=john" \
--form "dob=2002-08-08" \
--form "pincode=201301" \
--form "state_id=7" \
--form "city_id=256" \
--form "address=mumbai" \
--form "profile_pic=@/tmp/phpXKXIxs" const url = new URL(
"https://api.qa.blox.co.in/cp/v1/update_profile"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('ctoken', 'e7ff6070baaa30946ad195e7ea678e9e');
body.append('name', 'john');
body.append('dob', '2002-08-08');
body.append('pincode', '201301');
body.append('state_id', '7');
body.append('city_id', '256');
body.append('address', 'mumbai');
body.append('profile_pic', document.querySelector('input[name="profile_pic"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "Profile updated successfully",
"data": {
"name": "john",
"phone": "9448355458",
"phone_country": 91,
"email": "john@example.com",
"dob": "2002-08-08",
"pincode": "201301",
"profile_pic": "https://blox-dev-bucket.s3.ap-south-1.amazonaws.com/users/310822015003-150722114553-banner1%20%281%29.png",
"state_id": 7,
"state_name": "Chhattisgarh",
"city_id": 256,
"city_name": "Mumbai",
"address": "mumbai",
"is_phone_verified": 0,
"is_email_verified": 0,
"is_verified": 0,
"profile_completed": 0,
"member_since": "19-07-2022"
}
}
Received response:
Request failed with error:
CP - Get Organisation Details
requires authentication
Used to Get Organisation Details
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/get_organisation" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/get_organisation"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "CP Organisation Details",
"data": {
"name": "john",
"rera_id": "A51900029429",
"company_name": "Aditya Sharma",
"brand_name": "Katya Property Consultancy",
"gst_no": "12BLOXS1234A1BD",
"pan_no": "FQGPK9805K",
"tan_no": "XXXM12345X",
"regd_type": "private",
"broker_prop_type": "1,2",
"broker_prop_type_name": "Residential, Commercial",
"office_address": "MUMBAI",
"office_phone": "02268770000",
"office_phone_country": 91
}
}
Received response:
Request failed with error:
CP - Update Organisation Details
requires authentication
Used to Update Organisation Details
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/update_organisation" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"rera_id\": \"A51900029429\",
\"company_name\": \"Aditya Sharma\",
\"brand_name\": \"Katya Property Consultancy\",
\"gst_no\": \"22AAAA0000A1Z5\",
\"pan_no\": \"BLOX1234X\",
\"tan_no\": \"XXXM12345X\",
\"regd_type\": \"private\",
\"broker_prop_type\": \"1,2\",
\"office_address\": \"MUMBAI\",
\"office_phone\": \"02268770000\",
\"office_phone_country\": \"91\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/update_organisation"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"rera_id": "A51900029429",
"company_name": "Aditya Sharma",
"brand_name": "Katya Property Consultancy",
"gst_no": "22AAAA0000A1Z5",
"pan_no": "BLOX1234X",
"tan_no": "XXXM12345X",
"regd_type": "private",
"broker_prop_type": "1,2",
"office_address": "MUMBAI",
"office_phone": "02268770000",
"office_phone_country": "91"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "Organisation Details updated successfully",
"data": {
"name": "john",
"rera_id": "A51900029429",
"company_name": "Aditya Sharma",
"brand_name": "Katya Property Consultancy",
"gst_no": "03AADFG1801E1ZA",
"pan_no": "BRIPG4738B",
"tan_no": "XXXM12345X",
"regd_type": "private",
"broker_prop_type": "1,2",
"broker_prop_type_name": "Residential, Commercial",
"office_address": "MUMBAI",
"office_phone": "02268770000",
"office_phone_country": 91
}
}
Received response:
Request failed with error:
CP - Get Bank Details
requires authentication
Used to Get bank Details
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/get_bank" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/get_bank"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "CP Bank Details",
"data": {
"account_number": "0001234567890",
"name": "HDFC Bank",
"ifsc_code": "HDFC001234",
"address": "MUMBAI",
"upi_id": "sammpleupiid@hdfc",
"payment_method": "bank"
}
}
Received response:
Request failed with error:
CP - Get IFSC Bank Detail
requires authentication
Used to Get Bank Detail by IFSC Code
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/get_ifsc_bank" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"ifsc_code\": \"KKBK0000261\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/get_ifsc_bank"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"ifsc_code": "KKBK0000261"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "IFSC Bank Details",
"data": {
"ifsc_code": "KKBK0000261",
"bank": "Kotak Mahindra Bank",
"bank_code": "KKBK",
"branch": "GURGAON"
}
}
Received response:
Request failed with error:
CP - Update Bank Details
requires authentication
Used to Update Bank Details
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/update_bank" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"name\": \"HDFC Bank\",
\"account_number\": \"0001234567890\",
\"ifsc_code\": \"HDFC001234\",
\"payment_method\": \"bank\",
\"address\": \"MUMBAI\",
\"upi_id\": \"sammpleupiid@hdfc\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/update_bank"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"name": "HDFC Bank",
"account_number": "0001234567890",
"ifsc_code": "HDFC001234",
"payment_method": "bank",
"address": "MUMBAI",
"upi_id": "sammpleupiid@hdfc"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "CP-Bank Details saved successfully",
"data": {
"account_number": "0001234567890",
"name": "HDFC Bank",
"ifsc_code": "HDFC001234",
"address": "MUMBAI",
"upi_id": "sammpleupiid@hdfc",
"payment_method": "bank"
}
}
Received response:
Request failed with error:
CP - Update Interested Location
requires authentication
Used to Update Interested Location
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/update_interested_location" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"location_ids\": \"[]\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/update_interested_location"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"location_ids": "[]"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "CP-Interested Location saved successfully",
"data": [
{
"id": 88,
"user_id": 33550,
"location_id": 4
}
]
}
Received response:
Request failed with error:
CP - Get Interested Location
requires authentication
Used to Get Interested Location
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/get_interested_location" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/get_interested_location"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "CP Interested Location Details",
"data": [
{
"id": 88,
"user_id": 33550,
"location_id": 4,
"location_name": "Amboli, Mumbai"
}
]
}
Received response:
Request failed with error:
CP - Delete Interested Location
requires authentication
Used to Delete Interested Location
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/delete_interested_location" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"id\": \"1\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/delete_interested_location"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"id": "1"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "CP-Interested Location deleted successully",
"data": []
}
Received response:
Request failed with error:
POST v1/test_sentry
requires authentication
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/test_sentry" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.qa.blox.co.in/cp/v1/test_sentry"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
CP - Add Lead
requires authentication
Used to Add Lead
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/add_lead" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"name\": \"john\",
\"email\": \"john@example.com\",
\"mobile\": \"9087654321\",
\"country_code\": \"91\",
\"customer_interestedin\": \"[]\",
\"project_id\": 1,
\"interaction_comment\": \"voluptatem\",
\"configuration\": 1,
\"visit_type\": \"1\",
\"visit_date\": \"2022-08-22\",
\"visit_time\": \"10:00:00\",
\"budget_min\": \"10000\",
\"budget_max\": \"100000\",
\"loan_interaction\": \"est\",
\"loan_amount\": \"inventore\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/add_lead"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"name": "john",
"email": "john@example.com",
"mobile": "9087654321",
"country_code": "91",
"customer_interestedin": "[]",
"project_id": 1,
"interaction_comment": "voluptatem",
"configuration": 1,
"visit_type": "1",
"visit_date": "2022-08-22",
"visit_time": "10:00:00",
"budget_min": "10000",
"budget_max": "100000",
"loan_interaction": "est",
"loan_amount": "inventore"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "Lead successfully added",
"data": {
"user_id": 25672
}
}
Received response:
Request failed with error:
CP - Get Lead List
requires authentication
Used to Get Lead List
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/list_lead" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"status\": \"0\",
\"search_key\": \"quae\",
\"lead_status\": \"[]\",
\"sort_by\": \"expiry_date\",
\"sort_order\": \"desc\",
\"limit\": \"10\",
\"offset\": \"0\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/list_lead"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"status": "0",
"search_key": "quae",
"lead_status": "[]",
"sort_by": "expiry_date",
"sort_order": "desc",
"limit": "10",
"offset": "0"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "Lead list",
"data": [
{
"lead_id": 1943,
"lead_type": "project",
"enquiry_no_id": "E331081663747341",
"lead_status": {
"id": null,
"name": ""
},
"customer_id": 33108,
"customer_name": "Suraj",
"customer_mobile": "8787878668",
"customer_email": "suraj.k099@gmail.com",
"customer_country_code": "91",
"customer_image": "https://dev.blox.co.in/assets2/images/icon_user.png",
"project_data": {
"id": 1,
"name": "Kolte-Patil Jai Vijay",
"address": "Jai Vijay CHSL, Near Airport Authority Colony, Sahar Road, Off Western Express Highway, Vile Parle(East), Mumbai, Maharashtra 400099",
"latitude": "19.1091764609139",
"longitude": "72.8542486693134"
},
"project_id": 1,
"project_name": "Kolte-Patil Jai Vijay",
"book_ride": {
"id": 1,
"riderName": "Saurabh",
"riderMobile": "9131048806",
"bookingDate": "2022-09-02",
"bookingTime": "10:11:00"
},
"configurations": "1 BHK123",
"location_name": "Sahar",
"lead_expiring_in": 22,
"lead_created": "21-09-2022 01:32 PM",
"visit_status": "Visit Requested",
"site_visit_date": "22-08-2022 10:00 AM",
"follow_up": "23-09-2022 01:50 PM",
"lost_date": "21-09-2022 01:50 PM",
"incentive": "0",
"interaction": [
{
"enquiry_no_id": "E331081663747341",
"comment": "this is interaction",
"created_date": "21-09-2022 01:37 PM",
"follow_up_date": "23-09-2022 01:37 PM",
"updated_by_type": "CP",
"updated_by_name": "CP",
"department": "CP",
"profile_pic": "https://dev.blox.co.in/assets2/images/icon_user.png",
"lead_status": {
"id": null,
"name": ""
}
},
{
"enquiry_no_id": "E331081663747341",
"comment": "this is interaction",
"created_date": "21-09-2022 01:33 PM",
"follow_up_date": "23-09-2022 01:33 PM",
"updated_by_type": "CP",
"updated_by_name": "CP",
"department": "CP",
"profile_pic": "https://dev.blox.co.in/assets2/images/icon_user.png",
"lead_status": {
"id": null,
"name": ""
}
},
{
"enquiry_no_id": "E331081663747341",
"comment": "this is interaction",
"created_date": "21-09-2022 01:33 PM",
"follow_up_date": "23-09-2022 01:33 PM",
"updated_by_type": "CP",
"updated_by_name": "CP",
"department": "CP",
"profile_pic": "https://dev.blox.co.in/assets2/images/icon_user.png",
"lead_status": {
"id": null,
"name": ""
}
},
{
"enquiry_no_id": "E331081663747341",
"comment": "this is interaction",
"created_date": "21-09-2022 01:32 PM",
"follow_up_date": "23-09-2022 01:32 PM",
"updated_by_type": "CP",
"updated_by_name": "CP",
"department": "CP",
"profile_pic": "https://dev.blox.co.in/assets2/images/icon_user.png",
"lead_status": {
"id": null,
"name": ""
}
}
]
},
{
"lead_id": 1940,
"lead_type": "project",
"enquiry_no_id": "E330601662538958",
"lead_status": {
"id": null,
"name": ""
},
"customer_id": 33060,
"customer_name": "Suraj",
"customer_mobile": "8191045042",
"customer_email": "suraj@gmail.com",
"customer_country_code": "91",
"customer_image": "https://dev.blox.co.in/assets2/images/icon_user.png",
"project_data": null,
"project_id": "",
"project_name": "",
"book_ride": null,
"configurations": null,
"location_name": "",
"lead_expiring_in": 8,
"lead_created": "07-09-2022 01:52 PM",
"visit_status": "",
"site_visit_date": "",
"follow_up": "",
"lost_date": "07-09-2022 01:52 PM",
"incentive": "0",
"interaction": [
{
"enquiry_no_id": "E330601662538958",
"comment": "lnteraction for loan",
"created_date": "07-09-2022 01:52 PM",
"follow_up_date": "09-09-2022 01:52 PM",
"updated_by_type": "Broker",
"updated_by_name": "Broker",
"department": "",
"profile_pic": "https://dev.blox.co.in/assets2/images/icon_user.png",
"lead_status": {
"id": null,
"name": ""
}
}
]
}
]
}
Received response:
Request failed with error:
CP - Get Lead Calendar Data
requires authentication
Used to Get Calendar Data
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/lead_calendar" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"lead_id\": 1797,
\"month\": \"01\",
\"year\": \"2022\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/lead_calendar"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"lead_id": 1797,
"month": "01",
"year": "2022"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "Lead calendar activity Detail",
"data": {
"calendar_data": [
{
"date": "16-09-2022",
"activity": [
{
"project_id": 2,
"project_name": "Kalpataru Vienta new name",
"location_name": "Kandivali East, Mumbai",
"action_datetime": "16-09-2022 02:50 PM",
"lead_status_id": 314,
"lead_status": "In Follow Up",
"lead_status_short": "FU"
}
]
},
{
"date": "20-09-2022",
"activity": [
{
"project_id": 2,
"project_name": "Kalpataru Vienta new name",
"location_name": "Kandivali East, Mumbai",
"action_datetime": "20-09-2022 12:53 PM",
"lead_status_id": 390,
"lead_status": "Meeting Proposed",
"lead_status_short": "MP"
}
]
}
]
}
}
Received response:
Request failed with error:
CP - Get Lead Details
requires authentication
Used to Get Lead Details
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/lead_details" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"lead_id\": \"1\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/lead_details"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"lead_id": "1"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "Lead Detail",
"data": {
"lead_id": 1805,
"enquiry_no_id": "E329901650878643",
"lead_status": {
"id": 314,
"name": "In Follow Up"
},
"project_name": "Kalpataru Vienta new name",
"configurations": "",
"location_name": "Kandivali East",
"lead_created": "25-04-2022 02:54 PM",
"site_visit_date": "25-04-2022 02:54 PM",
"follow_up": "28-04-2022 10:40 AM",
"lost_date": "28-04-2022 10:41 AM",
"incentive": "0",
"loan_amount": null,
"min_budget": "",
"max_budget": "",
"interaction": [
{
"enquiry_no_id": "E329901650878643",
"comment": "testt",
"created_date": "28-04-2022 10:41 AM",
"follow_up_date": "28-04-2022 10:40 AM",
"updated_by_type": null,
"updated_by_name": "Blox Super Admin",
"department": "superadmin",
"profile_pic": "",
"lead_status": {
"id": 314,
"name": "In Follow Up"
}
},
{
"enquiry_no_id": "E329901650878643",
"comment": "Project :'Aldea Annexo' shortlisted by 'Blox Super Admin'",
"created_date": "28-04-2022 10:40 AM",
"follow_up_date": "",
"updated_by_type": "Backend",
"updated_by_name": "Blox Super Admin",
"department": "superadmin",
"profile_pic": "",
"lead_status": {
"id": null,
"name": ""
}
},
{
"enquiry_no_id": "E329901650878643",
"comment": "Project :'Kolte-Patil Jai Vijay' shortlisted by 'Blox Super Admin'",
"created_date": "28-04-2022 10:40 AM",
"follow_up_date": "",
"updated_by_type": "Backend",
"updated_by_name": "Blox Super Admin",
"department": "superadmin",
"profile_pic": "",
"lead_status": {
"id": null,
"name": ""
}
},
{
"enquiry_no_id": "E329901650878643",
"comment": "RM \"Tech Test\" has been assigned",
"created_date": "28-04-2022 10:40 AM",
"follow_up_date": "",
"updated_by_type": "Backend",
"updated_by_name": "Blox Super Admin",
"department": "superadmin",
"profile_pic": "",
"lead_status": {
"id": null,
"name": ""
}
},
{
"enquiry_no_id": "E329901650878643",
"comment": "Project :'Kalpataru Vienta' shortlisted by 'Raman Test'",
"created_date": "25-04-2022 02:54 PM",
"follow_up_date": "",
"updated_by_type": "Backend",
"updated_by_name": "Blox Super Admin",
"department": "",
"profile_pic": "",
"lead_status": {
"id": null,
"name": ""
}
},
{
"enquiry_no_id": "E329901650878643",
"comment": "Physical site visit by customer",
"created_date": "25-04-2022 02:54 PM",
"follow_up_date": "27-04-2022 02:54 PM",
"updated_by_type": "Backend",
"updated_by_name": "Blox Super Admin",
"department": "superadmin",
"profile_pic": "",
"lead_status": {
"id": null,
"name": ""
}
}
],
"basic_details": {
"id": 32990,
"profile_image": "https://dev.blox.co.in/assets2/images/icon_user.png",
"name": "Raman Test",
"phone": "7543535454",
"country_code": "91",
"email": "",
"pincode": "",
"city": {
"id": null,
"name": ""
},
"state": {
"id": null,
"name": ""
}
},
"project_details": {
"project_id": 2,
"project_name": "Kalpataru Vienta new name",
"developer": "Kalpataru Limited",
"configurations": "",
"created_date": "25-04-2022 02:54 PM"
}
}
}
Received response:
Request failed with error:
CP - Get Lead Statuses
requires authentication
Used to Get Lead Statuses
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/lead_statuses" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/lead_statuses"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "Lead Filter List",
"data": {
"lead_statuses": [
{
"id": 294,
"name": "Booking Done",
"slug": ""
},
{
"id": 305,
"name": "Booking Propose",
"slug": ""
},
{
"id": 310,
"name": "Closure Meeting",
"slug": ""
},
{
"id": 314,
"name": "In Follow Up",
"slug": ""
},
{
"id": 326,
"name": "Incoming",
"slug": ""
},
],
"sort_by": {
"expiry_date": "Expiry Date",
"lost": "Lost"
}
}
}
Received response:
Request failed with error:
CP - Add New Lead Interaction
requires authentication
Used to Add New Lead Interaction
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/add_interaction" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"lead_id\": \"11003\",
\"comment\": \"this is comment\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/add_interaction"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"lead_id": "11003",
"comment": "this is comment"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "Lead interaction added successfully",
}
Received response:
Request failed with error:
CP - Cancelled Visit
requires authentication
Used to Cancelled Visit
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/cancelled_visit" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"lead_id\": 11003,
\"project_id\": 1
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/cancelled_visit"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"lead_id": 11003,
"project_id": 1
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "Visit has been cancelled successfully",
}
Received response:
Request failed with error:
CP - Reschedule Visit
requires authentication
Used to Reschedule Visit
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/reschdule_visit" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"lead_id\": 11003,
\"project_id\": 1,
\"configuration\": 1,
\"visit_date\": \"2022-08-22\",
\"visit_time\": \"10:00:00\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/reschdule_visit"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"lead_id": 11003,
"project_id": 1,
"configuration": 1,
"visit_date": "2022-08-22",
"visit_time": "10:00:00"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "Visit has been reschduled successfully",
}
Received response:
Request failed with error:
CP - Get Profile Completion Percentage
requires authentication
Used to Get Profile Completion Percentage
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/profile_completion_percentage" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/profile_completion_percentage"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
CP - Get Dashboard
requires authentication
Used to Get Dashboard
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/dashboard" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/dashboard"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "CP Dashboard",
"data": {
"site_visit_completed": 0,
"total_bookings_done": 0,
"brokerage_overview": {
"brokerage_show": false,
"earned": 0,
"received": 0,
"in_process": 0,
"pending_to_be_raised": 0
},
"lead_generation_count": [
{
"month": "Sep",
"site_visits_done_count": 0,
"site_visits_scheduled_count": 0
},
{
"month": "Aug",
"site_visits_done_count": 0,
"site_visits_scheduled_count": 0
},
{
"month": "Jul",
"site_visits_done_count": 0,
"site_visits_scheduled_count": 0
}
],
"upcomming_event": {
"upcomming_event_available": false,
"event_type": "Site Visit",
"customer_name": "",
"site_visit_date": "",
"site_visit_time": ""
}
}
}
Received response:
Request failed with error:
CP - Get Upcoming Events
requires authentication
Used to Get Upcoming Events
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/upcoming_events" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"from_date\": \"2022-09-13\",
\"to_date\": \"2022-09-13\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/upcoming_events"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"from_date": "2022-09-13",
"to_date": "2022-09-13"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "CP Upcomming Event",
"data": {
"upcomming_event": {
"2022-04-23": [
{
"event_type": "Site Visit",
"date": "2022-04-23",
"time": "10:09:34",
"customer_data": {
"id": 32987,
"name": "Anmol one"
},
"project_data": {
"id": 11,
"project_name": "Artesia - Residential Wing"
}
},
{
"event_type": "Site Visit",
"date": "2022-04-23",
"time": "10:18:05",
"customer_data": {
"id": 32988,
"name": "Ram User"
},
"project_data": {
"id": 11,
"project_name": "Artesia - Residential Wing"
}
}
],
"2022-04-24": [
{
"event_type": "Site Visit",
"date": "2022-04-24",
"time": "10:30:00",
"customer_data": {
"id": 32983,
"name": "sham New two"
},
"project_data": {
"id": 2,
"project_name": "Kalpataru Vienta new name"
}
}
],
"2022-04-25": [
{
"event_type": "Site Visit",
"date": "2022-04-25",
"time": "12:26:35",
"customer_data": {
"id": 32989,
"name": "Deepak two"
},
"project_data": {
"id": 2,
"project_name": "Kalpataru Vienta new name"
}
},
{
"event_type": "Site Visit",
"date": "2022-04-25",
"time": "14:54:03",
"customer_data": {
"id": 32990,
"name": "Raman Test"
},
"project_data": {
"id": 2,
"project_name": "Kalpataru Vienta new name"
}
}
]
}
}
}
Received response:
Request failed with error:
CP - Get Lead Generation Count
requires authentication
Used to Get Lead Generation Count
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/lead_generation_count" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"filter_by\": \"date\",
\"project_id\": \"1\",
\"time_period\": \"yearly\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/lead_generation_count"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"filter_by": "date",
"project_id": "1",
"time_period": "yearly"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "CP Lead Generation Count",
"data": {
"lead_generation_count": [
[
{
"month_name": "Jul",
"month_key": "07-2022",
"site_visits_scheduled": {
"count": 0
},
"site_visit_done": {
"count": 0
}
},
{
"month_name": "Aug",
"month_key": "08-2022",
"site_visits_scheduled": {
"count": 0
},
"site_visit_done": {
"count": 2
}
},
{
"month_name": "Sep",
"month_key": "09-2022",
"site_visits_scheduled": {
"count": 0
},
"site_visit_done": {
"count": 3
}
}
]
]
}
}
Received response:
Request failed with error:
CP - Get Lead Generation Projects
requires authentication
Used to Get Lead Generation Projects
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/lead_generation_projects" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/lead_generation_projects"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "CP Lead Generation Projects",
"data": {
"projects": [
{
"id": 1,
"name": "Kolte-Patil Jai Vijay"
},
{
"id": 2,
"name": "Kalpataru Vienta new name"
},
{
"id": 11,
"name": "Artesia - Residential Wing"
},
{
"id": 14,
"name": "Aldea Annexo"
},
{
"id": 63,
"name": "19 North"
}
]
}
}
Received response:
Request failed with error:
CP - Get Property Stats
requires authentication
Used to Get Property Stats
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/property_stats" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"project_id\": \"1\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/property_stats"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"project_id": "1"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
CP - Get Booking List
requires authentication
Used to Get Booking List
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/booking_list" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"search_key\": \"et\",
\"type\": \"Book\",
\"payment_status\": \"[]\",
\"sort_by\": \"desc\",
\"limit\": \"20\",
\"offset\": \"0\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/booking_list"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"search_key": "et",
"type": "Book",
"payment_status": "[]",
"sort_by": "desc",
"limit": "20",
"offset": "0"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "Booking list",
"type": "Book",
"data": [
{
"id": 500,
"booking_id": "O33101220915071758",
"booking_type": "Book",
"customer_image": "https://dev.blox.co.in/assets2/images/icon_user.png",
"customer_name": "Anmol",
"customer_email": "suraj.k@ehostinguk.com",
"customer_mobile": "8191045045",
"project_name": "Kolte-Patil Jai Vijay",
"configuration": "3 BHK",
"location": "Sahar, Mumbai",
"area": 860,
"rera_id": "P51700000295",
"booked_amount": "10000",
"booking_date": "15-09-2022 07:17 PM",
"agreement_value": "1000000.00",
"brokerage": 0,
"order_status": "pending",
"payment_status": "Pending",
"payment_mode": "",
"payment_method": "",
"rm_data": {
"id": 41,
"name": "Arti ",
"phone": "8965231254",
"email": "artiagraiya1998@gmail.com",
"is_deleted": 0,
"profile_pic": "https://dev.blox.co.in/assets2/images/icon_user.png"
}
},
{
"id": 499,
"booking_id": "O33101220912043017",
"booking_type": "Book",
"customer_image": "https://dev.blox.co.in/assets2/images/icon_user.png",
"customer_name": "Anmol",
"customer_email": "suraj.k@ehostinguk.com",
"customer_mobile": "8191045045",
"project_name": "Kolte-Patil Jai Vijay",
"configuration": "3 BHK",
"location": "Sahar, Mumbai",
"area": 860,
"rera_id": "P51700000295",
"booked_amount": "10000",
"booking_date": "12-09-2022 04:30 PM",
"agreement_value": "1000000.00",
"brokerage": 0,
"order_status": "pending",
"payment_status": "Pending",
"payment_mode": "",
"payment_method": "",
"rm_data": {
"id": 41,
"name": "Arti ",
"phone": "8965231254",
"email": "artiagraiya1998@gmail.com",
"is_deleted": 0,
"profile_pic": "https://dev.blox.co.in/assets2/images/icon_user.png"
}
},
{
"id": 498,
"booking_id": "O33101220912015627",
"booking_type": "Book",
"customer_image": "https://dev.blox.co.in/assets2/images/icon_user.png",
"customer_name": "Anmol",
"customer_email": "suraj.k@ehostinguk.com",
"customer_mobile": "8191045045",
"project_name": "Kolte-Patil Jai Vijay",
"configuration": "3 BHK",
"location": "Sahar, Mumbai",
"area": 860,
"rera_id": "P51700000295",
"booked_amount": "10000",
"booking_date": "12-09-2022 01:56 PM",
"agreement_value": "1000000.00",
"brokerage": 0,
"order_status": "pending",
"payment_status": "Pending",
"payment_mode": "",
"payment_method": "",
"rm_data": {
"id": 41,
"name": "Arti ",
"phone": "8965231254",
"email": "artiagraiya1998@gmail.com",
"is_deleted": 0,
"profile_pic": "https://dev.blox.co.in/assets2/images/icon_user.png"
}
}
]
}
Received response:
Request failed with error:
CP - Get Booking Filter
requires authentication
Used to Get Booking Filter
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/booking_filter" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/booking_filter"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "Booking Filter list",
"data": {
"payment_status_arr": {
"Successful": "Successful",
"Pending": "Pending",
"Failed": "Failed"
},
"eoi_amount_sort_by": {
"desc": "Agreement value - High to Low",
"asc": "Agreement value - Low to High"
}
}
}
Received response:
Request failed with error:
CP - Get Booking Details
requires authentication
Used to Get Booking Details
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/booking_detail" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"id\": 23221
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/booking_detail"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"id": 23221
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "Booking Details",
"data": {
"booking_id": "O33101220912015448",
"booking_date": "12-09-2022 01:54 PM",
"booking_type": "Book",
"customer_image": "https://dev.blox.co.in/assets2/images/icon_user.png",
"customer_name": "Anmol",
"customer_email": "suraj.k@ehostinguk.com",
"customer_mobile": "8191045045",
"order_status": "pending",
"payment_status": "Pending",
"booked_amount": "10000",
"payment_mode": "",
"payment_method": "",
"track_status": [],
"project_name": "Kolte-Patil Jai Vijay",
"project_media_file": "https://blox-dev-bucket.s3.amazonaws.com/projects/thumb/Kolte-Patil_Developers_Limited-Kolte-Patil_Jai_Vijay--Bedroom-1636967962.jpg",
"developer_media_file": "",
"is_assured": 0,
"is_exclusive": 1,
"location_name": "Sahar, Mumbai",
"configuration": "3 BHK",
"agreement_price": "1000000.00",
"brokerage": 0,
"area": 860,
"rera_id": "P51700000295",
"tower_name": "",
"unit_no": "",
"brokerage_percent": "0.00",
"transaction_history": []
}
}
Received response:
Request failed with error:
CP - Add EOI
requires authentication
Used to Add EOI
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/add_eoi" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "ctoken=e7ff6070baaa30946ad195e7ea678e9e" \
--form "user_id=330321" \
--form "name=john" \
--form "email=john@example.com" \
--form "mobile=9087654321" \
--form "country_code=91" \
--form "project_id=1" \
--form "tower_id=7" \
--form "unit_no=1" \
--form "property_type=11" \
--form "pay_type=cheque" \
--form "bank_name=SBI" \
--form "account_no=1200000332" \
--form "cheque_no=12233231" \
--form "cheque_date=2022-08-03" \
--form "cheque_amount=100000" \
--form "cheque_file=@/tmp/phpQFcfoU" const url = new URL(
"https://api.qa.blox.co.in/cp/v1/add_eoi"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('ctoken', 'e7ff6070baaa30946ad195e7ea678e9e');
body.append('user_id', '330321');
body.append('name', 'john');
body.append('email', 'john@example.com');
body.append('mobile', '9087654321');
body.append('country_code', '91');
body.append('project_id', '1');
body.append('tower_id', '7');
body.append('unit_no', '1');
body.append('property_type', '11');
body.append('pay_type', 'cheque');
body.append('bank_name', 'SBI');
body.append('account_no', '1200000332');
body.append('cheque_no', '12233231');
body.append('cheque_date', '2022-08-03');
body.append('cheque_amount', '100000');
body.append('cheque_file', document.querySelector('input[name="cheque_file"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "EOI successfully added",
"data": {
"order_no_id": "O33101220915071758"
}
}
Received response:
Request failed with error:
CP - Add Booking
requires authentication
Used to Add Booking
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/add_book" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "ctoken=e7ff6070baaa30946ad195e7ea678e9e" \
--form "user_id=31333" \
--form "name=john" \
--form "email=john@example.com" \
--form "mobile=9087654321" \
--form "country_code=91" \
--form "project_id=1" \
--form "tower_id=7" \
--form "unit_no=1" \
--form "property_type=11" \
--form "pay_type=cheque" \
--form "bank_name=SBI" \
--form "account_no=1200000332" \
--form "cheque_no=12233231" \
--form "cheque_date=2022-08-03" \
--form "cheque_amount=100000" \
--form "cheque_file=@/tmp/phpZzeugm" const url = new URL(
"https://api.qa.blox.co.in/cp/v1/add_book"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('ctoken', 'e7ff6070baaa30946ad195e7ea678e9e');
body.append('user_id', '31333');
body.append('name', 'john');
body.append('email', 'john@example.com');
body.append('mobile', '9087654321');
body.append('country_code', '91');
body.append('project_id', '1');
body.append('tower_id', '7');
body.append('unit_no', '1');
body.append('property_type', '11');
body.append('pay_type', 'cheque');
body.append('bank_name', 'SBI');
body.append('account_no', '1200000332');
body.append('cheque_no', '12233231');
body.append('cheque_date', '2022-08-03');
body.append('cheque_amount', '100000');
body.append('cheque_file', document.querySelector('input[name="cheque_file"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "Booking successfully added",
"data": {
"order_no_id": "O33101220915071758"
}
}
Received response:
Request failed with error:
CP - Get Overview Invoice
requires authentication
Used to Get Overview Invoice
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/overview_invoice" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/overview_invoice"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "Overview Invoice",
"data": {
"brokerage": {
"accured": "102000.00",
"billed": "100000.00",
"collect": 0,
"pending": 100000,
"brokerage_month_wise": [
{
"month": "Oct",
"month_year": "10-2022",
"received_amount": 0,
"pending_amount": 0
},
{
"month": "Sep",
"month_year": "09-2022",
"received_amount": "0.00",
"pending_amount": "90000.00"
},
{
"month": "Aug",
"month_year": "08-2022",
"received_amount": "0.00",
"pending_amount": "10000.00"
},
{
"month": "Jul",
"month_year": "07-2022",
"received_amount": 0,
"pending_amount": 0
},
{
"month": "Jun",
"month_year": "06-2022",
"received_amount": 0,
"pending_amount": 0
},
{
"month": "May",
"month_year": "05-2022",
"received_amount": 0,
"pending_amount": 0
},
{
"month": "Apr",
"month_year": "04-2022",
"received_amount": 0,
"pending_amount": 0
}
]
}
}
}
Received response:
Request failed with error:
CP - Get Recent Invoice List
requires authentication
Used to Get Recent Invoice List
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/recent_invoice" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"limit\": \"20\",
\"offset\": \"0\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/recent_invoice"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"limit": "20",
"offset": "0"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "Recent Invoice",
"data": [
{
"id": 16,
"customer_name": "Bram yadav",
"customer_image": "https://dev.blox.co.in/assets2/images/icon_user.png",
"invoice_no": "12332",
"invoice_date": "2022-09-22 00:00:00",
"invoice_amount": "10000.00",
"invoice_total": "11800.00",
"payment_status": "",
"invoice_status": "Pending"
},
{
"id": 15,
"customer_name": "",
"customer_image": "https://dev.blox.co.in/assets2/images/icon_user.png",
"invoice_no": "12332",
"invoice_date": "2022-09-22 00:00:00",
"invoice_amount": "10000.00",
"invoice_total": "11800.00",
"payment_status": "",
"invoice_status": "Pending"
},
{
"id": 14,
"customer_name": "Bram yadav",
"customer_image": "https://dev.blox.co.in/assets2/images/icon_user.png",
"invoice_no": "12332",
"invoice_date": "2022-09-22 00:00:00",
"invoice_amount": "10000.00",
"invoice_total": "11800.00",
"payment_status": "",
"invoice_status": "Pending"
}
]
}
Received response:
Request failed with error:
CP - Get Invoice List
requires authentication
Used to Invoice List
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/invoice_list" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"search_key\": \"optio\",
\"invoice_for\": \"Book\",
\"invoice_status\": \"Pending\",
\"tab_name\": \"Raise\",
\"sort_by\": \"desc\",
\"limit\": \"20\",
\"offset\": \"0\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/invoice_list"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"search_key": "optio",
"invoice_for": "Book",
"invoice_status": "Pending",
"tab_name": "Raise",
"sort_by": "desc",
"limit": "20",
"offset": "0"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "Invoice list",
"tab_name": "Manage",
"data": [
{
"id": 506,
"booking_id": "O33110220926041103",
"booking_type": "Book",
"lead_id": 1948,
"customer_image": "https://dev.blox.co.in/assets2/images/icon_user.png",
"customer_name": "Bram yadav",
"customer_email": "samizaidi@ehostinguk.com",
"customer_mobile": "9900104504",
"project_name": "Satellite Elegance",
"configuration": "1",
"location": "Gokuldam, Mumbai",
"area": 1200,
"rera_id": "P51700025841",
"booked_amount": "20000",
"booking_date": "26-09-2022 04:11 PM",
"agreement_value": "200000.00",
"brokerage": 20000,
"brokerage_percentage": "10.00",
"order_status": "Initiated",
"payment_status": "Pending",
"payment_mode": "Cheque",
"payment_method": "Cheque",
"invoice_id": 6,
"invoice_no": "12332",
"invoice_status": "Pending",
"invoice_file_url": ""
},
{
"id": 507,
"booking_id": "O33110220926041152",
"booking_type": "Book",
"lead_id": 1948,
"customer_image": "https://dev.blox.co.in/assets2/images/icon_user.png",
"customer_name": "Bram yadav",
"customer_email": "samizaidi@ehostinguk.com",
"customer_mobile": "9900104504",
"project_name": "Satellite Elegance",
"configuration": "1",
"location": "Gokuldam, Mumbai",
"area": 1200,
"rera_id": "P51700025841",
"booked_amount": "20000",
"booking_date": "26-09-2022 04:11 PM",
"agreement_value": "200000.00",
"brokerage": 20000,
"brokerage_percentage": "10.00",
"order_status": "Initiated",
"payment_status": "Pending",
"payment_mode": "Cheque",
"payment_method": "Cheque",
"invoice_id": 9,
"invoice_no": "12332",
"invoice_status": "In-progress",
"invoice_file_url": ""
},
{
"id": 510,
"booking_id": "O33110220926041234",
"booking_type": "Book",
"lead_id": 1948,
"customer_image": "https://dev.blox.co.in/assets2/images/icon_user.png",
"customer_name": "Bram yadav",
"customer_email": "samizaidi@ehostinguk.com",
"customer_mobile": "9900104504",
"project_name": "Satellite Elegance",
"configuration": "1",
"location": "Gokuldam, Mumbai",
"area": 1200,
"rera_id": "P51700025841",
"booked_amount": "20000",
"booking_date": "26-09-2022 04:12 PM",
"agreement_value": "200000.00",
"brokerage": 20000,
"brokerage_percentage": "10.00",
"order_status": "Initiated",
"payment_status": "Pending",
"payment_mode": "Cheque",
"payment_method": "Cheque",
"invoice_id": 12,
"invoice_no": "12332",
"invoice_status": "Pending",
"invoice_file_url": ""
}
]
}
Received response:
Request failed with error:
CP - Get Track Invoice Status
requires authentication
Used to Get Track Invoice Status
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/track_invoice_status" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"invoice_id\": 1
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/track_invoice_status"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"invoice_id": 1
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "Track Invoice Status",
"data": [
{
"invoice_id": 9,
"action": "In-progress",
"action_date": "2022-10-03T13:44:33.000000Z"
},
{
"invoice_id": 9,
"action": "In-progress",
"action_date": "2022-10-03T13:49:01.000000Z"
}
]
}
Received response:
Request failed with error:
CP - Create Invoice
requires authentication
Used to Create Invoice
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/create_invoice" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"order_id\": \"O33101220915071758\",
\"invoice_no\": \"10000232\",
\"invoice_date\": \"2002-08-08\",
\"unit_no\": \"2\",
\"notes\": \"sed\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/create_invoice"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"order_id": "O33101220915071758",
"invoice_no": "10000232",
"invoice_date": "2002-08-08",
"unit_no": "2",
"notes": "sed"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "Invoice created successfully",
"data": {
"invoice_id": "10",
"created_by_user": "CP",
"created_by_user_id": 32967,
"created_for": "blox",
"developer_id": 13,
"invoice_no": "12332",
"invoice_date": "2022-09-22 00:00:00",
"invoice_amount": "0.00",
"org_raised_for": "Puranik Builders Limited",
"org_address": "ass",
"org_state": {
"id": "12",
"name": "Gujarat"
},
"org_gst_no": "12BLOXS1234A1BC",
"biller_org": "sda",
"biller_address": "dsfdfdfs",
"biller_state": {
"id": "11",
"name": "Goa"
},
"biller_gst_no": "AS2213231",
"biller_pan_no": "",
"json_data": {
"project_name": "Aldea Annexo",
"bank_details": {
"account_number": "12133",
"bank_name": "sbi",
"ifsc_code": "4433",
"address": ""
},
"sac_code": ""
},
"igst_percentage": "18",
"cgst_percentage": "0",
"sgst_percentage": "0",
"igst_amount": "0.00",
"cgst_amount": "0.00",
"sgst_amount": "0.00",
"invoice_total": "0.00",
"notes": "this",
"payment_status": "Pending",
"invoice_status": "Pending",
"order_details": {
"order_id": "O33110220926041152",
"unit_no": "",
"agreement_value": "200000.00",
"agreement_date": null,
"fee_percentage": "200000.00"
}
}
}
Received response:
Request failed with error:
CP - Invoice file Upload
requires authentication
Used to Invoice file Upload
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/invoice_upload" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "ctoken=e7ff6070baaa30946ad195e7ea678e9e" \
--form "invoice_id=12" \
--form "invoice_file=@/tmp/phpuNUNtO" const url = new URL(
"https://api.qa.blox.co.in/cp/v1/invoice_upload"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('ctoken', 'e7ff6070baaa30946ad195e7ea678e9e');
body.append('invoice_id', '12');
body.append('invoice_file', document.querySelector('input[name="invoice_file"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "Invoice upload successfully",
"data": {
"id": "2",
"invoice_file_url": "https://blox-dev-bucket.s3.ap-south-1.amazonaws.com/cp_invoice/061022011551-sample.pdf"
}
}
Received response:
Request failed with error:
CP - Update Invoice
requires authentication
Used to Update Invoice
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/update_invoice" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"invoice_id\": 12,
\"order_id\": \"O33101220915071758\",
\"invoice_no\": \"10000232\",
\"invoice_date\": \"2002-08-08\",
\"unit_no\": \"2\",
\"notes\": \"molestias\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/update_invoice"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"invoice_id": 12,
"order_id": "O33101220915071758",
"invoice_no": "10000232",
"invoice_date": "2002-08-08",
"unit_no": "2",
"notes": "molestias"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "Invoice updated successfully",
"data": {
"invoice_id": "10",
"created_by_user": "CP",
"created_by_user_id": 32967,
"created_for": "blox",
"developer_id": 13,
"invoice_no": "12332",
"invoice_date": "2022-09-22 00:00:00",
"invoice_amount": "0.00",
"org_raised_for": "Puranik Builders Limited",
"org_address": "ass",
"org_state": {
"id": "12",
"name": "Gujarat"
},
"org_gst_no": "12BLOXS1234A1BC",
"biller_org": "sda",
"biller_address": "dsfdfdfs",
"biller_state": {
"id": "11",
"name": "Goa"
},
"biller_gst_no": "AS2213231",
"biller_pan_no": "",
"json_data": {
"project_name": "Aldea Annexo",
"bank_details": {
"account_number": "12133",
"bank_name": "sbi",
"ifsc_code": "4433",
"address": ""
},
"sac_code": ""
},
"igst_percentage": "18",
"cgst_percentage": "0",
"sgst_percentage": "0",
"igst_amount": "0.00",
"cgst_amount": "0.00",
"sgst_amount": "0.00",
"invoice_total": "0.00",
"notes": "this",
"payment_status": "Pending",
"invoice_status": "Pending",
"order_details": {
"order_id": "O33110220926041152",
"unit_no": "",
"agreement_value": "200000.00",
"agreement_date": null,
"fee_percentage": "200000.00"
}
}
}
Received response:
Request failed with error:
CP - Get Invoice Filter
requires authentication
Used to Get Invoice Filter
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/filter_invoice" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\"
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/filter_invoice"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "Invoice Filter Data",
"data": {
"invoice_status": {
"Accepted": "Accepted",
"In-process": "In-process",
"Rejected": "Rejected",
"Paid": "Paid"
},
"invoice_for": {
"eoi": "EOI",
"Book": "Book"
},
"sort_by": {
"desc": "Latest invoice raised",
"asc": "Oldest invoice raised"
}
}
}
Received response:
Request failed with error:
CP - Get Invoice Detail
requires authentication
Used to Get Invoice Detail
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/invoice_detail" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"invoice_id\": 2
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/invoice_detail"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"invoice_id": 2
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "Invoice Details successfully",
"data": [
{
"id": 2,
"customer_name": "Bram yadav",
"customer_image": "https://dev.blox.co.in/assets2/images/icon_user.png",
"project_name": "Kolte-Patil Jai Vijay",
"configuration": "1",
"location": "Sahar",
"brokerage_amount": "",
"invoice_no": "12332",
"invoice_date": "2022-09-22 00:00:00",
"invoice_amount": "10000.00",
"invoice_total": "11800.00",
"invoice_status": "Pending",
"payment_status": "",
"payment_mode": "",
"payment_date": "",
"utr_number": "",
"payment_done_for": "Book"
}
]
}
Received response:
Request failed with error:
CP - View Invoice
requires authentication
Used to View Invoice
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/view_invoice" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"invoice_id\": 10
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/view_invoice"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"invoice_id": 10
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "View Invoice successfully",
"data": {
"invoice_id": "10",
"created_by_user": "CP",
"created_by_user_id": 32967,
"created_for": "blox",
"developer_id": 13,
"invoice_no": "12332",
"invoice_date": "2022-09-22 00:00:00",
"invoice_amount": "0.00",
"org_raised_for": "Puranik Builders Limited",
"org_address": "ass",
"org_state": {
"id": "12",
"name": "Gujarat"
},
"org_gst_no": "12BLOXS1234A1BC",
"biller_org": "sda",
"biller_address": "dsfdfdfs",
"biller_state": {
"id": "11",
"name": "Goa"
},
"biller_gst_no": "AS2213231",
"biller_pan_no": "",
"json_data": {
"project_name": "Aldea Annexo",
"bank_details": {
"account_number": "12133",
"bank_name": "sbi",
"ifsc_code": "4433",
"address": ""
},
"sac_code": ""
},
"igst_percentage": "18",
"cgst_percentage": "0",
"sgst_percentage": "0",
"igst_amount": "0.00",
"cgst_amount": "0.00",
"sgst_amount": "0.00",
"invoice_total": "0.00",
"notes": "this",
"payment_status": "Pending",
"invoice_status": "Pending",
"order_details": {
"order_id": "O33110220926041152",
"unit_no": "",
"agreement_value": "200000.00",
"agreement_date": null,
"fee_percentage": "200000.00"
}
}
}
Received response:
Request failed with error:
CP - Cancelled Invoice
requires authentication
Used to Cancelled Invoice
Example request:
curl --request POST \
"https://api.qa.blox.co.in/cp/v1/cancelled_invoice" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ctoken\": \"e7ff6070baaa30946ad195e7ea678e9e\",
\"invoice_id\": 4
}"
const url = new URL(
"https://api.qa.blox.co.in/cp/v1/cancelled_invoice"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ctoken": "e7ff6070baaa30946ad195e7ea678e9e",
"invoice_id": 4
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"success": true,
"message": "Invoice cancelled successfully"
}
Received response:
Request failed with error: