Public API for querying logs, bans, webhooks, etc.
All methods require authentication. Any of the following can be used for authentication.
execute sqf-code (execPost)
Execute SQF-code on your game server
Request body
Body Parameter — Script to execute and
IP-address
of the connected game server
Return type
Example data
Content-Type: application/json
{
"apollo_token" : "apollo_token",
"success" : true
}
Produces
This API call produces the following media types according to the request
header;
the media type will be conveyed by the response header.
Responses
200
Success if the script execution was successfull and the token for getting return value
ApolloToken
400
Invalid input parameters, script is too long (over 32k) or IP-address is invalid
GenericError
403
Missing permission
GenericError
get return value of script execution (returnPost)
Gets the returned value from the code exeucted with /exec endpoint
Request body
Body Parameter — Script to execute and
IP-address
of the connected game server
Return type
Example data
Content-Type: application/json
{
"apollo_token" : "apollo_token",
"success" : true
}
Produces
This API call produces the following media types according to the request
header;
the media type will be conveyed by the response header.
Responses
200
Success if the script execution was successfull and the token for getting return value
ApolloToken
400
Invalid input parameters, script is too long (over 32k) or IP-address is invalid
GenericError
403
Missing permission
GenericError
gets an individual ban (banGet)
Returns details about a single ban by UID
Query parameters
uid (required)
Query Parameter — SteamUID of the ban
third
Query Parameter — Show which ban lists the user
is
on
Return type
Example data
Content-Type: application/json
{
"banned_fini" : true,
"success" : true,
"banned_infi" : false,
"banned_ws" : false,
"banned" : true
}
Produces
This API call produces the following media types according to the request
header;
the media type will be conveyed by the response header.
Responses
200
search results matching criteria
BanDetails
400
Missing input field
403
Missing permission
add a new global ban (banPut)
Adds a new global ban to the global ban list
Request body
Body Parameter — Ban details
Return type
Example data
Content-Type: application/json
{
"success" : true
}
Produces
This API call produces the following media types according to the request
header;
the media type will be conveyed by the response header.
Responses
200
search results matching criteria
GenericResponse
400
Missing input field
GenericError
403
Missing permission
GenericError
gets all bans (bansGet)
Gets a list of all global bans
Query parameters
Return type
Example data
Content-Type: application/json
[ {
"severity" : "high",
"uid" : "76561123456789012",
"type" : "fini"
}, {
"severity" : "high",
"uid" : "76561123456789012",
"type" : "fini"
} ]
Produces
This API call produces the following media types according to the request
header;
the media type will be conveyed by the response header.
Responses
200
list of all fini and infistar bans
403
Missing permission
query player identity information (matchPost)
Query information about player identities and their alt accounts
Request body
Body Parameter — Identifiers to match, matching
is
OR-gated
Return type
Example data
Content-Type: application/json
{
"success" : true,
"matches" : [ {
"names" : [ "names", "names" ],
"ip_addresses" : [ "ip_addresses", "ip_addresses" ],
"global_banned" : true,
"name" : "name",
"id" : "id",
"steam_uid" : "steam_uid"
}, {
"names" : [ "names", "names" ],
"ip_addresses" : [ "ip_addresses", "ip_addresses" ],
"global_banned" : true,
"name" : "name",
"id" : "id",
"steam_uid" : "steam_uid"
} ]
}
Produces
This API call produces the following media types according to the request
header;
the media type will be conveyed by the response header.
Responses
200
Success if license keys were queried successfully
MatchList
403
Missing permission
GenericError
show license information (licensesGet)
Lists all licenses linked to the APIKEY's owner account
Return type
Example data
Content-Type: application/json
{
"webhooks" : [ {
"start_time" : 0.80082819046101150206595775671303272247314453125,
"owner_name" : "owner_name",
"end_time" : 6.02745618307040320615897144307382404804229736328125,
"product_name" : "product_name",
"license_key" : "license_key"
}, {
"start_time" : 0.80082819046101150206595775671303272247314453125,
"owner_name" : "owner_name",
"end_time" : 6.02745618307040320615897144307382404804229736328125,
"product_name" : "product_name",
"license_key" : "license_key"
} ],
"success" : true
}
Produces
This API call produces the following media types according to the request
header;
the media type will be conveyed by the response header.
Responses
200
Success if license keys were queried successfully
LicenseList
403
Missing permission
GenericError
search logs (logsGet)
Search logs with a string search term
Query parameters
search
Query Parameter — Search term
global
Query Parameter — Search globally
Return type
Example data
Content-Type: application/json
{
"webhooks" : [ {
"file" : "file",
"time" : 0.80082819046101150206595775671303272247314453125,
"text" : "text"
}, {
"file" : "file",
"time" : 0.80082819046101150206595775671303272247314453125,
"text" : "text"
} ],
"success" : true
}
Produces
This API call produces the following media types according to the request
header;
the media type will be conveyed by the response header.
Responses
200
Success querying logs succeeded
LogList
400
Invalid input parameters
GenericError
403
Missing permission
GenericError
delete webhook (webhookDelete)
Deletes the webhook with the given ID
Query parameters
webhook_id
Query Parameter — ID of the webhook
Return type
Example data
Content-Type: application/json
{
"success" : true
}
Produces
This API call produces the following media types according to the request
header;
the media type will be conveyed by the response header.
Responses
200
Success if the webhook was found and deleted
GenericResponse
400
Invalid input parameters
GenericError
403
Missing permission
GenericError
add webhook (webhookPut)
Add a webhook to trigger when logs are created for certain files
Request body
Body Parameter — New webhook's details
Return type
Example data
Content-Type: application/json
{
"webhook_id" : 0.80082819046101150206595775671303272247314453125,
"success" : true
}
Produces
This API call produces the following media types according to the request
header;
the media type will be conveyed by the response header.
Responses
200
Success if the webhook was added
WebhookAdded
400
Invalid input parameters
GenericError
403
Missing permission
GenericError
list webhooks (webhooksGet)
Get a list of all webhooks added to your server
Return type
Example data
Content-Type: application/json
{
"webhooks" : [ {
"color" : 6.02745618307040320615897144307382404804229736328125,
"webhook_id" : 0.80082819046101150206595775671303272247314453125,
"file_name" : "file_name",
"name" : "name",
"url" : "url",
"formatting" : "formatting"
}, {
"color" : 6.02745618307040320615897144307382404804229736328125,
"webhook_id" : 0.80082819046101150206595775671303272247314453125,
"file_name" : "file_name",
"name" : "name",
"url" : "url",
"formatting" : "formatting"
} ],
"success" : true
}
Produces
This API call produces the following media types according to the request
header;
the media type will be conveyed by the response header.
Responses
200
Success the webhook query succeeded
WebhookList
403
Missing permission
GenericError
[ Jump to
Methods ]
Table of Contents
AddBan
-
AddWebhook
-
ApolloToken
-
Ban
-
BanDetails
-
ExecApollo
-
GenericError
-
GenericResponse
-
Identifier
-
IdentifierList
-
License
-
LicenseList
-
Log
-
LogList
-
Match
-
MatchList
-
ReturnApollo
-
Webhook
-
WebhookAdded
-
WebhookList
-
uid
example: 76561123456789012
reason
example: Boi was cheating, *example log*
severity
request
low
med
high
example: high
name
file
String filename for the hook to
be
trigger on
url
formatting
String formatting of the webhook
title
color
String colour of the webhook
embed
(decimal format)
success
example: true
apollo_token
uid
example: 76561123456789012
type
fini
infi
ws
kfc
example: fini
severity
example: high
success
example: true
banned
example: true
banned_fini
example: true
banned_infi
example: false
banned_ws
example: false
script
example: diag_log 'hello world';
ip_addr
example: 127.0.0.1
success
example: false
code
example: 403.0
message
example: You do not have permission to use this
type
String Type to match, name is
in-game name, browser is the browser cookie and user is the player's ID, alt accounts are only checked when
querying with user/player's ID
steamid
ip
name
browser
user
value
example: 127.0.0.1
start_time
end_time
license_key
product_name
owner_name
success
example: true
licenses
success
example: true
logs
id
String Player's ID, used for
querying with 'user' input parameter
steam_uid
global_banned
name
String This is the player's
newest
in-game name
ip_addresses
names
success
example: true
matches
apollo_token
String token returned from /exec
endpoint
webhook_id
name
url
formatting
color
file_name
success
example: true
webhook_id
success
example: true
webhooks