Get the calling key, user and workspace
curl --request GET \
--url https://api.rask.ai/v3/me \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.rask.ai/v3/me"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.rask.ai/v3/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.rask.ai/v3/me",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.rask.ai/v3/me"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.rask.ai/v3/me")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rask.ai/v3/me")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"object": "me",
"user": {
"id": "0d9a4e1c-7f2b-4c8d-a1e5-3b6f9c2d8e47",
"email": "maria@example.com",
"created_at": "2025-03-14T10:00:00Z"
},
"workspace": {
"id": "b2e0c6d4-5b1a-4f7e-9a3c-2d8f1e6a7b90",
"name": "Acme Marketing",
"role": "owner",
"is_default": true
},
"payer": {
"user_id": "0d9a4e1c-7f2b-4c8d-a1e5-3b6f9c2d8e47",
"is_you": true
},
"auth": {
"credential_id": "5c3f8a2e-1d4b-4e9f-b7a6-8e2d1c0f9a35",
"kind": "api_key",
"display": "raskai_live_key_3Fz9…a1B2",
"scopes": [
"account:read",
"media:read",
"media:write",
"projects:read",
"projects:write",
"transcripts:read",
"transcripts:write",
"voices:read",
"voices:write",
"glossaries:read",
"glossaries:write",
"dubbing:write",
"lipsync:write",
"onscreen:write",
"jobs:read",
"jobs:write",
"webhooks:read",
"webhooks:write",
"credits:spend"
],
"audience": "v3",
"oauth_client_id": null,
"expires_at": "2027-10-20T08:00:00Z",
"spend_limit_minutes_per_month": 500,
"spent_minutes_this_month": 120,
"spend_limit_projects_per_month": null,
"spent_projects_this_month": 3
},
"plan": {
"name": "Business",
"family": "business",
"active": true
},
"entitlements": [
{
"feature": "api_access",
"enabled": true,
"reason": null
},
{
"feature": "auto_dub",
"enabled": true,
"reason": null
},
{
"feature": "glossary",
"enabled": true,
"reason": null
},
{
"feature": "lipsync",
"enabled": true,
"reason": null
},
{
"feature": "lipsync_enhanced",
"enabled": true,
"reason": null
},
{
"feature": "onscreen",
"enabled": true,
"reason": null
},
{
"feature": "audio_download",
"enabled": false,
"reason": "not_in_plan"
},
{
"feature": "share_links",
"enabled": false,
"reason": "not_in_plan"
}
]
}Account
Get the calling key, user and workspace
Returns who is calling.
GET
/
me
Get the calling key, user and workspace
curl --request GET \
--url https://api.rask.ai/v3/me \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.rask.ai/v3/me"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.rask.ai/v3/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.rask.ai/v3/me",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.rask.ai/v3/me"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.rask.ai/v3/me")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rask.ai/v3/me")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"object": "me",
"user": {
"id": "0d9a4e1c-7f2b-4c8d-a1e5-3b6f9c2d8e47",
"email": "maria@example.com",
"created_at": "2025-03-14T10:00:00Z"
},
"workspace": {
"id": "b2e0c6d4-5b1a-4f7e-9a3c-2d8f1e6a7b90",
"name": "Acme Marketing",
"role": "owner",
"is_default": true
},
"payer": {
"user_id": "0d9a4e1c-7f2b-4c8d-a1e5-3b6f9c2d8e47",
"is_you": true
},
"auth": {
"credential_id": "5c3f8a2e-1d4b-4e9f-b7a6-8e2d1c0f9a35",
"kind": "api_key",
"display": "raskai_live_key_3Fz9…a1B2",
"scopes": [
"account:read",
"media:read",
"media:write",
"projects:read",
"projects:write",
"transcripts:read",
"transcripts:write",
"voices:read",
"voices:write",
"glossaries:read",
"glossaries:write",
"dubbing:write",
"lipsync:write",
"onscreen:write",
"jobs:read",
"jobs:write",
"webhooks:read",
"webhooks:write",
"credits:spend"
],
"audience": "v3",
"oauth_client_id": null,
"expires_at": "2027-10-20T08:00:00Z",
"spend_limit_minutes_per_month": 500,
"spent_minutes_this_month": 120,
"spend_limit_projects_per_month": null,
"spent_projects_this_month": 3
},
"plan": {
"name": "Business",
"family": "business",
"active": true
},
"entitlements": [
{
"feature": "api_access",
"enabled": true,
"reason": null
},
{
"feature": "auto_dub",
"enabled": true,
"reason": null
},
{
"feature": "glossary",
"enabled": true,
"reason": null
},
{
"feature": "lipsync",
"enabled": true,
"reason": null
},
{
"feature": "lipsync_enhanced",
"enabled": true,
"reason": null
},
{
"feature": "onscreen",
"enabled": true,
"reason": null
},
{
"feature": "audio_download",
"enabled": false,
"reason": "not_in_plan"
},
{
"feature": "share_links",
"enabled": false,
"reason": "not_in_plan"
}
]
}Returns who is calling: the acting user, the workspace the key is bound to, the payer (the workspace owner, who is charged for all work), the key’s scopes, expiry and monthly spend caps (minutes and project credits), the plan summary and its entitlements. An allow-listed view: no billing identifiers, marketing or UI-state fields.
When to use: first, to learn the workspace, role and scopes before planning work. Leaked-key scanners use it to verify a key.
Side effects: None.
Cost: Free.
Idempotency: safe and pure (never writes); retry freely.
Required scopes:
account:readAuthorizations
Response
OK: Me.
Who is calling: an allow-listed view of the acting user, workspace, payer and credential.