Get the workspace - RankSpot
Get the workspace
curl
--request
GET
\
--url
https://api.rankspot.ai/v1/workspace
\
--header
'Authorization: Bearer <token>'
Workspace
Get the workspace
Returns the brand and business context for the workspace your API key belongs to: brand name, domain, what the business does, who it sells to, tone of voice, industry, and the country and language it targets.
There is no path parameter. A key belongs to exactly one workspace, and this returns that one.
Read this first if you are deciding what work is worth doing. A keyword, a cited page or a competitor backlink is only an opportunity in the context of a particular business, and every other endpoint assumes you already know what that business is.
Fields are read-only and any of them can be null. They shape article generation and the AI visibility analysis, so they are edited in the RankSpot dashboard rather than here.
GET
/
v1
/
workspace
Get the workspace
curl
--request
GET
\
--url
https://api.rankspot.ai/v1/workspace
\
--header
'Authorization: Bearer <token>'
Authorizations
Navigate to header: Authorization
Authorization
string
header
required
Bearer authentication header of the form Bearer <token> , where <token> is your auth token.
Response
200 - application/json
Navigate to header: id
id
string
required
Example :
"clx..."
Navigate to header: name
name
string | null
The workspace name, which is not necessarily the brand name.
Example :
"Screen Studio"
Navigate to header: brandName
brandName
string | null
How the business refers to itself. This is the name AI visibility counts mentions of.
Example :
"Screen Studio"
Navigate to header: domain
domain
string | null
The domain this workspace is about. Articles are published here, and a citation or backlink pointing at it is your own rather than an opportunity.
Stored as it was entered, so it may be a bare hostname ( screen.studio ) or a full URL with a scheme and a trailing slash ( https://screen.studio/ ). Elsewhere in the API a domain is always a bare hostname, so strip the scheme and any trailing slash before comparing.
Example :
Navigate to header: businessDescription
businessDescription
string | null
What the business does, in its own words.
Example :
"A macOS app that records your screen and turns the footage into a polished video automatically."
Navigate to header: targetAudience
targetAudience
string | null
Who the business sells to.
Example :
"Indie developers, designers and founders who publish demo videos."
Navigate to header: benefits
benefits
string | null
What the business argues is better about it.
Example :
"Automatic zooms, no editing skills needed, exports in 4K."
Navigate to header: toneOfVoice
toneOfVoice
string | null
How generated content should sound.
Example :
"Direct and practical, no marketing filler."
Navigate to header: industry
industry
string | null
Example :
"Software"
Navigate to header: location
location
string | null
ISO 3166-1 alpha-2 country the workspace targets. Search results, keyword volumes and rankings are all reported for this market.
Example :
"US"
Navigate to header: language
language
string | null
ISO 639-1 language content is written in.
Example :
"en"
Navigate to header: Authorization
Navigate to header: businessDescription
Navigate to header: targetAudience
Navigate to header: toneOfVoice
200
{
"id"
:
"clx..."
,
"name"
:
"Screen Studio"
,
"brandName"
:
"Screen Studio"
,
"domain"
:
,
"businessDescription"
:
"A macOS app that records your screen and turns the footage into a polished video automatically."
,
"targetAudience"
:
"Indie developers, designers and founders who publish demo videos."
,
"benefits"
:
"Automatic zooms, no editing skills needed, exports in 4K."
,
"toneOfVoice"
:
"Direct and practical, no marketing filler."
,
"industry"
:
"Software"
,
"location"
:
"US"
,
"language"
:
"en"
}
200
{
"id"
:
"clx..."
,
"name"
:
"Screen Studio"
,
"brandName"
:
"Screen Studio"
,
"domain"
:
,
"businessDescription"
:
"A macOS app that records your screen and turns the footage into a polished video automatically."
,
"targetAudience"
:
"Indie developers, designers and founders who publish demo videos."
,
"benefits"
:
"Automatic zooms, no editing skills needed, exports in 4K."
,
"toneOfVoice"
:
"Direct and practical, no marketing filler."
,
"industry"
:
"Software"
,
"location"
:
"US"
,
"language"
:
"en"
}