Core API Documentation
Account
Pike13 accounts span all businesses. Although a person might be a client of one business and a staff member of another, they will have only one account associated with their email address.
GET /api/v2/account
Returns the account for the current access token.
This endpoint is only accessible without a business subdomain (that is, the host must be pike13.com) and requires an access token granted to pike13.com.
REQUEST
$ curl https://pike13.com/api/v2/account \
-H "Authorization: Bearer XXXXXXXXXXXXXXX"
RESPONSE
{
"accounts": [
{
"id": 1,
"email": "johndoe@example.com",
"first_name": "John",
"last_name": "Doe",
"email_confirmed_at": "2014-09-09T15:19:09Z"
}
]
}
Attributes
| id | integer | The accounts identifier |
|---|---|---|
| string | The account holders email address | |
| first_name | string | The account holders first name |
| last_name | string | The account holders last name |
| email_confirmed_at | timestamp | The time when the account was confirmed by email |