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: SigParser Internal Auth API
description: '**Warning**: These APIs are what we use to power our web application. These will often change but if you want to use them until our final API is ready, you can. But if you are using them, please email support@sigparser.com and let us know so as we change our API signatures we can notify you of any changes.
Authentication For Testing
---------------
To authenticate use the Auth/token API to request an token. Then click "Authorize" at the top of the Swagger documentation and add "Bearer [token]" to the apikey field. If you just put the token the request won''t work.
Registration
-------------------
Call the /api/AccountAPI/Register API to register a new user. Call /api/Data/UserDetails to get the details on the user like what they can access.'
version: v1
security:
- Authorization: []
tags:
- name: Auth
paths:
/api/Auth/InvalidateCaches:
post:
tags:
- Auth
parameters:
- in: query
name: username
schema:
type: string
- in: query
name: enterpriseid
schema:
type: string
format: uuid
- in: query
name: userid
schema:
type: string
format: uuid
- in: query
name: tokenid
schema:
type: string
responses:
'200':
description: OK
summary: Create api auth invalidate caches
x-summary-source: derived
operationId: postApiAuthInvalidateCaches
x-operation-id-source: derived
/token:
post:
tags:
- Auth
summary: Authenticates the user with the application and returns a JWT.
parameters:
- in: query
name: username
description: Email address the user registered on Dragnet with.
required: true
schema:
type: string
- in: query
name: password
required: true
schema:
type: string
- in: query
name: client_id
description: ID of the client requesting the key. webLongToken = 30 day lifetime. webShortTerm = 1 day lifetime. Anything else is a 10 year token.
required: true
schema:
type: string
- in: query
name: verif
description: The verification code that was emailed or SMS texted to the user.
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/AuthController_TokenResponse'
operationId: postToken
x-operation-id-source: derived
/api/Auth/SetupNewMFAViaText:
post:
tags:
- Auth
summary: Sets up a new Multi-Factor Authentication (MFA) via text message for the user
parameters:
- in: query
name: phoneNumber
description: ''
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/AuthController_SetupNewMFAViaTextResponse'
operationId: postApiAuthSetupNewMFAViaText
x-operation-id-source: derived
/api/Auth/VerifyNewPhoneMFAViaText:
post:
tags:
- Auth
summary: Verifies the new phone number for Multi-Factor Authentication (MFA) via text…
parameters:
- in: query
name: phoneNumber
description: ''
schema:
type: string
- in: query
name: verificationCode
description: ''
schema:
type: string
responses:
'200':
description: OK
operationId: postApiAuthVerifyNewPhoneMFAViaText
x-operation-id-source: derived
components:
schemas:
AuthController_TokenResponse:
required:
- access_token
- expires_in
type: object
properties:
access_token:
description: Json Web Token
type: string
expires_in:
format: int64
type: integer
additionalProperties: false
AuthController_SetupNewMFAViaTextResponse:
required:
- message
- phone_cleaned_up
type: object
properties:
phone_cleaned_up:
type: string
message:
type: string
additionalProperties: false
securitySchemes:
Authorization:
type: apiKey
name: Authorization
in: header
description: 'Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"'