Sändning

API Overview

BETA API - updated 2022-01-14 (Have a question?)

Base URI

https://onetime.is.sa/api

All API access is over HTTPS and starts with /api. All responses are JSON.

Authentication

https://USERNAME:APITOKEN@onetime.is.sa/api

We use HTTP Basic Authentication for all requests and require a username and password.

  • The username is the same as your account login.
  • The password is the API token which you can find on your account page.

System Status

GET https://onetime.is.sa/api/v1/status

Current status of the system.

Parameters None
$ curl -u 'USERNAME:APITOKEN' https://onetime.is.sa/api/v1/status
{"status":"nominal"}
Attributes
  • status: The current system status. One of: nominal, offline.