curl --request GET \
--url https://app.thinnest.ai/api/v1/phone-numbers/business-details \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.thinnest.ai/api/v1/phone-numbers/business-details', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.thinnest.ai/api/v1/phone-numbers/business-details"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)Get Business Details
Where this workspace’s business details stand. India issues a number only to a business it has approved, in the business’s own name, so there is one application per workspace — a platform with a workspace per customer sends and reads each customer’s own (with the Thinnest-Workspace header). Returns { "status": "none" } until details are sent. canRent is true once the details are approved (accepted) — the point from which an Indian number can be rented. reviewNote appears when the application was rejected and says what to correct. businessName is null if the application’s name could not be read just now. The document itself is never returned. Any key can read this; the status is checked live, so it is current. Checks usually finish in minutes.
curl --request GET \
--url https://app.thinnest.ai/api/v1/phone-numbers/business-details \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.thinnest.ai/api/v1/phone-numbers/business-details', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.thinnest.ai/api/v1/phone-numbers/business-details"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)Authorizations
Your API key (ta_live_…) from Settings → API keys, sent as Authorization: Bearer <key>. Keep it on a server: it can message every customer you have. A key is full, build or read-only; a request its level does not allow is refused with 403.
Headers
Developers only: the customer workspace this request acts in — its org_… id from POST /customers. Leave it out to act in your own workspace. Refused with 404 (Workspace not found.) when the id is unknown, is not one of your customers, or is not an org_… id; 410 when that customer was deleted (restore it with POST /customers/{id}/restore until it is erased); 403 when the key belongs to one customer workspace (it cannot act as another); 400 when your workspace is not a developer workspace. /customers/* and GET /customers/usage are your own workspace's and refuse the header with 400: call them without it.
"org_3fKq9TzQ1mN8vB2xR7cLpA"
Response
The workspace's application, or none.
The workspace's application for Indian numbers. Only status is present when nothing has been sent (none).
none — nothing sent. submitted — being checked. accepted — approved. rejected — correct what reviewNote says and send again. suspended — approval withdrawn; no new number can be rented. expired — lapsed; send again. draft — started and never sent.
none, draft, submitted, accepted, rejected, suspended, expired "submitted"
The legal name the application was sent under; null if it could not be read just now.
"Acme Traders Private Limited"
Whether the business said it is registered for GST.
Which document was sent.
gst, incorporation, udyam, null When it was last sent.
Present on a rejected application: what to correct.
True when the details are approved, so an Indian number can be rented.