Account
Retrieve the account
GET/v1/account
The quickest way to check a key. A key belongs to exactly one organization and one environment.
Authentication
A bearer API key. Authentication.
Headers
AuthorizationstringrequiredBearer followed by your API key. A test key works in the test environment only.
Errors
| Status | Code | When |
|---|---|---|
401 | unauthorized | The API key is missing, malformed or revoked. |
curl https://api.videointros.com/v1/account \
-H "Authorization: Bearer $VIDEO_INTROS_API_KEY"
const response = await fetch("https://api.videointros.com/v1/account", {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.VIDEO_INTROS_API_KEY}`,
},
});
const result = await response.json();
import os, requests
response = requests.get(
"https://api.videointros.com/v1/account",
headers={
"Authorization": f"Bearer {os.environ['VIDEO_INTROS_API_KEY']}",
},
)
result = response.json()
{
"id": "org_71c0d2",
"object": "account",
"name": "Your Company",
"industry": "exterior_remodeling",
"environment": "test",
"timezone": "America/New_York"
}