https://{ourserver.com}/api/resellersGET /api/resellers
Confirm server uptime status
This request serves as confirmation that your server is up and running.
This is alternative to sending sendNumbersOnline every 5 minutes, you can send checkWork request with no additional parameters with same time interval.
Parameters
header1
| Name | Type | Description |
|---|---|---|
Authorization* | string | see more here |
query1
| Name | Type | Description |
|---|---|---|
test | string | Optional field for the request body of Reseller API v2. Allowed values are While being assigned, While being assigned, Can be passed as query parameter (for GET) or as a field in request's body (for POST). Both ways are equivalent, but using them simultaneously is not recommended. Enum: test1test2 |
Responses
200Onlinesim server response
Onlinesim server response
application/jsonResponseobject
responseoneOf
Examples
{
"response": "1"
}[
{
"response": "ERROR_WRONG_KEY"
}
]401Unauthorized. The request is missing or uses an invalid API key. Some endpoints may return a 200 status with an ERROR_WRONG_KEY message instead of 401 — check the response body
Unauthorized. The request is missing or uses an invalid API key. Some endpoints may return a 200 status with an ERROR_WRONG_KEY message instead of 401 — check the response body
text/plain403Forbidden. The request was understood but refused due to insufficient permissions
Forbidden. The request was understood but refused due to insufficient permissions
application/json