POST api/GetAPIKey
POST implementation of GetAPIKey
Request Information
URI Parameters
None.
Body Parameters
GetAPIKeyRequestName | Description | Type | Additional information |
---|---|---|---|
CustomerKey |
The private Customer Key you were provided for the APT.MobileAPI service. This key MUST be kept safe! |
string |
None. |
RevokeExistingKey |
This option allows you to immediately revoke your existing APIKey. If set to false then the Existing APIKey will continue to work for a 7 day grace period |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "CustomerKey": "sample string 1", "RevokeExistingKey": true }
Response Information
Resource Description
GetAPIKeyResponseName | Description | Type | Additional information |
---|---|---|---|
APIKey |
A new active API Key for the APT.MobileAPI service |
string |
None. |
Expiry |
The expiry time for the new API Key. Currently only applicable for Test/Demo Keys |
date |
None. |
Response Formats
application/json, text/json
Sample:
{ "APIKey": "sample string 1", "Expiry": "2025-08-31T06:21:05.3159941+00:00" }