Create API key

POST /api/api_keys

Allows you to create an API key for your account

Responses

  • OK

    Hide response attribute Show response attribute object
    • api_key string

      A string used to authenticate a Account

  • Unauthorized

    Hide response attribute Show response attribute object
    • error string

      Human readable version of the error status code

  • API Limit Reached

    Hide response attribute Show response attribute object
    • error string

      Human readable version of the error status code

POST /api/api_keys
curl \
 -X POST http://localhost:4000/api/api_keys
Response examples (200)
{
  "api_key": "my-api-key-1"
}
Response examples (200)
{
  "api_key": "my-api-key-1"
}
Response examples (401)
{
  "error": "Error Reason"
}
Response examples (401)
{
  "error": "Error Reason"
}
Response examples (422)
{
  "error": "Error Reason"
}
Response examples (422)
{
  "error": "Error Reason"
}