Api tokens
/api-tokens
Create an API token for the current team. Requires an authenticated team admin. The token secret is never written to audit records.
Authorization
apiKey X-API-Key<token>
API key provided in dashboard
In: header
Request Body
application/json
apiToken*string
Client-generated API token secret to store.
Length
25 <= length <= 25[key: string]?never
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.vrplatform.app/api-tokens" \ -H "Content-Type: application/json" \ -d '{ "apiToken": "stringstringstringstrings" }'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"createdAt": "2024-01-15T12:30:00.000+00:00",
"hint": "string",
"role": "string",
"scope": "string"
}{
"code": "string",
"message": "string",
"links": {
"docs": "string",
"schema": "string"
},
"issues": [
{
"message": "string",
"path": [
"string"
],
"schema": "string"
}
],
"context": null
}{
"code": "string",
"message": "string",
"links": {
"docs": "string",
"schema": "string"
},
"issues": [
{
"message": "string",
"path": [
"string"
],
"schema": "string"
}
],
"context": null
}{
"code": "string",
"message": "string",
"links": {
"docs": "string",
"schema": "string"
},
"issues": [
{
"message": "string",
"path": [
"string"
],
"schema": "string"
}
],
"context": null
}{
"code": "string",
"message": "string",
"links": {
"docs": "string",
"schema": "string"
},
"issues": [
{
"message": "string",
"path": [
"string"
],
"schema": "string"
}
],
"context": null
}{
"code": "string",
"message": "string",
"links": {
"docs": "string",
"schema": "string"
},
"issues": [
{
"message": "string",
"path": [
"string"
],
"schema": "string"
}
],
"context": null
}{
"code": "string",
"message": "string",
"links": {
"docs": "string",
"schema": "string"
},
"issues": [
{
"message": "string",
"path": [
"string"
],
"schema": "string"
}
],
"context": null
}