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: Truelist.io API documentation Me API
description: 'Welcome to Truelist''s api!
To get started, generate an api key. You''ll use the API key in an `Authorization` header in every request.
A note about rate limits: Each endpoint has a rate limit. If you exceed the rate limit, you''ll get a `429` error. The rate limit is 10 requests per second. This rate limit is specifically for API calls. The email validation rate limit is different and is based on your plan.'
contact:
name: API Support
email: hello@truelist.io
version: 0.2.2
servers:
- url: https://api.truelist.io
tags:
- name: Me
description: Everything about the user that is using the api
paths:
/me:
get:
tags:
- Me
summary: Get information about the logged in user
description: Shows all information about the currently logged in user.
security:
- truelist_auth: []
responses:
'200':
description: A successful response
content:
application/json:
schema:
$ref: '#/components/schemas/me'
'401':
description: User could not be found via token
content:
application/json:
schema:
type: object
properties:
error:
type: string
description: Gives information about what went wrong with the request.
operationId: getMe
x-operation-id-source: derived
components:
schemas:
api_key:
type: object
properties:
active:
type: boolean
description: Whether the api token is active or not
name:
type: string
description: The name of the api token
last_used_at:
type: string
format: date-time
description: The last time the api key was used
created_at:
type: string
format: date-time
description: When the API key was created
me:
type: object
properties:
email:
type: string
format: email
description: Email address of the user
name:
type: string
description: The full name of the user
uuid:
type: string
format: uuid
description: A unique identifier for the user
errors:
type: array
items:
type: string
last_login_at:
type: string
description: The last login date of the user
format: date-time
time_zone:
type: string
description: The time zone for the user
token:
type: string
description: The api token currently in use for the request
api_keys:
type: array
items:
$ref: '#/components/schemas/api_key'
securitySchemes:
truelist_auth:
type: apiKey
in: header
name: Authorization
description: The user's bearer token sent via an Authorization header