Teknik API

The Teknik API is free for everyone to use, and is defined on a per service basis.

The general API calls can be summarized as follows: https://api.teknik.io/v1/Service/Action


For some services, you may be required to authenticate to access them, or to associate generated content with your account. In all cases, the same authentication methods can be used.

OAuth2 token (sent in a header)

curl -H "Authorization: token OATH-TOKEN" https://api.teknik.io/v1/

For example, if you're accessing the API via cURL, the following command would associate the create paste with your account. Just replace <OAUTH-TOKEN> with your access token.
$ curl -H <OAUTH-TOKEN> --data code="Test" https://api.teknik.io/v1/Paste


All responses are returned as json. The returned json can contain any of the following sections.