AlbumExposure API

Account


Get an account

GET /api/account

Returns information about the current account.

Response
{
  "first_name": "Joe",
  "last_name": "User",
  "login": "joeuser",
  "email": "joe@example.com",
  "second_email": "",
  "third_email": "",
  "company_name": "Joe User Photography",
  "address": "123 AnyStreet",
  "city": "AnyCity",
  "state": "CA",
  "zip": "12345",
  "country": "United States"
  "bill_type": "yearly",
  "card": "XXXX-XXXX-XXXX-1111",
  "card_exp": "2012/06/01 00:59:59 +0100",
  ""card_type"": "visa",
  "color": "#FFFFFF",
  "created_at": "2007/09/10 11:02:57 +0100",
  "email_text": "The first draft of your album is ready for your review and comment. To access this album please use the link and password below:
  {masked_url}
  Password: {password}

  You can review the album multiple times. If you aren't quite ready to send your comments just save them for later. When you submit your comments my team will be notified and we'll make the changes that you've requested.

  Let me know if you have any questions. Enjoy!",
  "language": "",
  "logo_file_name": null,
  "logo_position": "left",
  "masked_url": "yourelevation.com/albums",
  "newsletter": true,
  "next_bill_date": "3000/01/01",
  "paypal_email": "joe@example.com",
  "presentation_term": "pages",
  "status": "current",
  "time_zone": "Lisbon",
  "twitter_name": null,
  "url": null
}

Create an account

POST /api/account

Create an AlbumExposure account. Required fields are:

{
  "first_name": "Joe",
  "last_name": "User",
  "company_name": "Joe User Photography",
  "email": "joe@example.com",
  "login": "joeuser",
  "password": "mypassword",
  "password_confirmation": "mypassword",
  "terms": "true",
  "newsletter": "true"
}
Response
Status: 201 Created