Account
Who you are calling as.
The OpenAPI document
GET
/openapi.jsonThis API described as OpenAPI 3.1: every endpoint, its scope, parameters, bodies, answers and errors. No key needed.
Response 200
openapistringrequiredpathsobjectrequired
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/openapi.jsonconst res = await fetch('https://api.unvop.com/v1/openapi.json');
const data = await res.json();import requests
res = requests.get(
"https://api.unvop.com/v1/openapi.json",
)
data = res.json(){
"openapi": "3.1.0",
"info": {
"title": "Unvop API",
"version": "1"
},
"paths": {
"/me": {
"get": {
"operationId": "getMe",
"summary": "Who am I"
}
}
}
}Who am I
GET
/meThe key or grant you are calling with: its kind, scopes, the sites it can reach, and whether AI builds are available.
Response 200
kindstringrequiredOne of
platformsiteaccountnamestringrequiredsiteIdstringrequirednullablescopesarray of stringsrequiredsitesarray of stringsrequirednullableaiobjectrequired1 child field
availablebooleanrequired
Errors
- 401No key, or the key isn’t valid.
- 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
- 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/me \
-H "Authorization: Bearer $UNVOP_KEY"const res = await fetch('https://api.unvop.com/v1/me', {
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.unvop.com/v1/me",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"kind": "platform",
"name": "Ana",
"siteId": "site_123",
"scopes": [
"content:read"
],
"sites": [],
"ai": {
"available": true
}
}