Token
Create a new Token
API Documentation
Applications
Authentication
Security
Abuse Prevention
Routing
Token
Create a new Token
POST
/
{account_id}
/
token
/
create
/
{application_id}
curl --request POST \
--url https://api.typeauth.com/{account_id}/token/create/{application_id} \
--header 'Content-Type: application/json' \
--data '{
"amount": 99,
"tags": [
"<string>"
]
}'
{
"success": true,
"message": "<string>",
"data": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"domain": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"originHostname": "<string>",
"detailResponse": true,
"auth_id": "<string>",
"llmcache_id": "<string>",
"abuse_id": "<string>",
"tags": [
"<string>"
]
}
]
}
Response
201 - application/json
Application created successfully
Was this page helpful?
curl --request POST \
--url https://api.typeauth.com/{account_id}/token/create/{application_id} \
--header 'Content-Type: application/json' \
--data '{
"amount": 99,
"tags": [
"<string>"
]
}'
{
"success": true,
"message": "<string>",
"data": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"domain": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"originHostname": "<string>",
"detailResponse": true,
"auth_id": "<string>",
"llmcache_id": "<string>",
"abuse_id": "<string>",
"tags": [
"<string>"
]
}
]
}