Viaota (1.0.0)

Download OpenAPI specification:Download

Viaota is a telecommunications service provider. Some of the platform's features can be interacted with via the API. This documentation describes how to use with the API for Viaota. The API is versioned in major versions, for example "v1", "v2", etc. Any changes that are not backwards compatible will use the closest available major version.

sim card

Interact with a specific SIM card

Plan info

Display basic plan information for the SIM card

Authorizations:
bearerAuth
path Parameters
iccid
required
string = 19 characters ^[0-9]*$

Responses

Response samples

Content type
application/json
Example
{
  • "remaining_volume": "11.5GB",
  • "remaining_days": 31
}

Get Safe Mode status

This endpoint returns the DNS resolvers that should be used by your client/device. IMPORTANT - it is possible that no resolvers are available. In this case the response will be an empty array. Use your client's/device's default resolvers as a fallback if that is the case. It's recommended to cache the response for about 5 minutes.

Authorizations:
bearerAuth
path Parameters
iccid
required
string = 19 characters ^[0-9]*$

Responses

Response samples

Content type
application/json
Example
[
  • {
    },
  • {},
  • {
    },
  • {
    }
]

Enable Safe Mode

Enabling safe mode creates custom DNS resolvers that should be used by the client/device. These DNS resolvers are returned by the endpoint. IMPORTANT - it is possible that no resolvers are available. In this case the response will be an empty array. Use your client's/device's default resolvers as a fallback if that is the case. It's recommended to cache the response for about 5 minutes.

Authorizations:
bearerAuth
path Parameters
iccid
required
string = 19 characters ^[0-9]*$

Responses

Response samples

Content type
application/json
Example
[
  • {
    },
  • {},
  • {
    },
  • {
    }
]

Disable Safe Mode

Disabling safe mode deletes previously created custom DNS resolvers. After the operation, use your client's/device's default resolvers. It's recommended to cache the response for about 5 minutes.

Authorizations:
bearerAuth
path Parameters
iccid
required
string = 19 characters ^[0-9]*$

Responses

Response samples

Content type
application/json
[ ]