Creating a New API Key
This document will go over how to generate/create a new API key.
POST
/auth/createkey
POST
/auth/createkey
Create/generate a new API key for your Mobivate account.
Headers
Content-Type
application/json
Authorization
No Auth
Body
username
string
Yes
Your username used to login.
password
string
Yes
Your password used to login.
Response
We use conventional HTTP response codes to indicate the success or failure of an API request. In general:
2xx indicate success 4xx indicate an error that failed given the information provided (e.g., a required parameter was omitted) 5xx errors indicate an error with ours servers (these are rare).
Upon a successful send request, our server will respond with a 200 (success) HTTP response code, and you will be provided with an API Key. The API Key will be used in subsequent calls to the API.
Please note: A successful call to this endpoint will revoke your existing API Key!
To see a full list of our Response codes, please click here.
Last updated