Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: ExaFS Authorization API
version: '3.0'
description: ExaFS API allows authorized machines to send commands directly in JSON, without the web forms. The commands are validated in the same way as normal rules.
security:
- TokenAuth: []
tags:
- name: Authorization
description: Endpoints for obtaining and managing API tokens.
paths:
/auth:
get:
tags:
- Authorization
security:
- ApiKeyAuth: []
summary: Authenticate and get JWT token
description: Generate API Key for the logged user using PyJWT
responses:
'200':
description: Successfully authenticated
content:
application/json:
schema:
type: object
properties:
token:
type: string
description: JWT token to be used in subsequent requests
'401':
description: Authentication failed - token expired
'403':
description: Authentication failed - token invalid
operationId: getAuth
x-operation-id-source: derived
components:
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: x-api-key
description: API key for initial authentication
TokenAuth:
type: apiKey
in: header
name: x-access-token
description: auth token received from /auth endpoint