HeadSpin Documentation
Documentation
Changes
Getting Started
Integrations
HeadSpin Platform
API Reference
Mini Remote
Automation
Audio
Biometrics SDK
Performance Analysis
Performance Monitoring
Grafana
On-Premise Deployments
Deprecated Documentation
Legal Matters

Auth API

API Reference

Get API Tokens for a user

Get API Tokens

Route Method
/v0/api/token GET

Available parameters: - <code class="dcode">email</code>: email address of a user to get API tokens for - <code class="dcode">user_id</code>: user id of a user to get API tokens for

Example


curl 'https://<your_api_token>@api-dev.headspin.io/v0/api/token?email=<email_address>'
curl 'https://<your_api_token>@api-dev.headspin.io/v0/api/token?user_id=<user_id>'

Response

A JSON object in the form of <code class="dcode">{"api_tokens": [<api_token>, ...]}</code> that contains a list of API tokens. Example:


{
  "api_tokens": [<api_token>, ...]
}