Pike13 For Developers
Get Started
Authentication
Core API
Reporting API
Webhooks API
Announcements

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.

Show curl example

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

idintegerThe accounts identifier
emailstringThe account holders email address
first_namestringThe account holders first name
last_namestringThe account holders last name
email_confirmed_attimestampThe time when the account was confirmed by email