API Documentation
Applications
Authentication
Security
Abuse Prevention
Routing
Applications
Create a new application
POST
/
{account_id}
/
applications
/
create
curl --request POST \
--url https://api.typeauth.com/{account_id}/applications/create \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"description": "<string>",
"tags": [
"<string>"
],
"domain": "<string>",
"originHostname": "<string>",
"auth_id": "<string>",
"detailResponse": true,
"routing_id": "<string>",
"abuse_id": "<string>",
"llmcache_id": "<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>"
]
}
]
}
Path Parameters
Body
application/json
Response
201 - application/json
Application created successfully
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.typeauth.com/{account_id}/applications/create \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"description": "<string>",
"tags": [
"<string>"
],
"domain": "<string>",
"originHostname": "<string>",
"auth_id": "<string>",
"detailResponse": true,
"routing_id": "<string>",
"abuse_id": "<string>",
"llmcache_id": "<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>"
]
}
]
}