Account API
The Account API provides read-only access to your account details.
Fields
Field | Description |
---|---|
created_at string read-only |
UTC date and time of the account's creation in ISO 8601format E.g. 2014-07-16T01:35:26Z |
description string read-only |
A short description of the account. E.g. PredictHQ is a new global events intelligence platform. |
id string read-only |
The unique identifier of the account. E.g. wJqIklAeuFVy |
industry Object read-only |
The industry details for the account. E.g. {"id": "pzLDW2D1GAwJ", "name": "Marketing and Advertising"} |
name string read-only |
The full name of the account. E.g. PredictHQ Ltd |
updated_at string read-only |
UTC date and time of the last update to the account in ISO 8601 format. E.g. 2015-01-08T03:14:32Z |
Retrieve Account Details
If you need your account details for whatever reason, it's really easy to get them.
Action
GET /v1/accounts/self/
Example
curl -X GET https://api.predicthq.com/v1/accounts/self/ \
-H "Accept: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN"
{
"id": "wJqIklAeuFVy",
"name": "PredictHQ Ltd",
"description": "PredictHQ is a new global events intelligence platform.",
"industry": {
"id": "pzLDW2D1GAwJ",
"name": "Marketing and Advertising"
},
"created_at": "2014-07-16T01:35:26Z",
"updated_at": "2015-01-08T03:14:32Z"
}