https://api.revrelations.com/v1/advertiser/account/api?key=API-KEY
Get current API key or create a new API key for account. If no API key exist one will get created
| Name | Required | Description |
|---|---|---|
| new | No | Create new API key even if one already exist |
| Error code | Http code | Description |
|---|---|---|
| 27 | 400 | Unable to create new API key |
https://api.revrelations.com/v1/advertiser/account/countries?key=API-KEY
Get list of countries
https://api.revrelations.com/v1/advertiser/account/list?key=API-KEY
Get account data
https://api.revrelations.com/v1/advertiser/account/password?key=API-KEY
Change account password
| Namn | Required | Description |
|---|---|---|
| current | No | Current password |
| new | Yes | New password |
| reset_code | No | Set a new password for account with specific reset code |
| verify | No | Verify new password |
| Error code | Http code | Description |
|---|---|---|
| 28 | 400 | Unable to change password |
| 29 | 400 | New and verify parameters does not match |
| 42 | 400 | Missing parameter: current |
| 43 | 400 | Missing parameter: new |
| 44 | 400 | Missing parameter: verify |
https://api.revrelations.com/v1/advertiser/account/reset?key=API-KEY
Reset account password
| Namn | Required | Description |
|---|---|---|
| Yes | E-mail to reset password for | |
| branding_email | No | Branding email. Defaults to [email protected] |
| branding_name | No | Branding name. Defaults to Bloggerfy |
| branding_reset_url | No | Branding url. Defaults to http://www.revrelations.com/reset/{reset_code} |
| Error code | Http code | Description |
|---|---|---|
| 45 | 400 | Missing reset parameter: email |
| 46 | 400 | Unable to find user with specified email |
| 47 | 400 | Unable to send recovery email |
| 48 | 400 | Invalid email |
https://api.revrelations.com/v1/advertiser/account/update?key=API-KEY
Update account data
| Namn | Required | Description |
|---|---|---|
| address_1 | No | Address 1 |
| address_2 | No | Address 2 |
| birth_id | No | Birthday id |
| birthday | No | Birthday date (1990-04-23) |
| city | No | City (Stockholm) |
| company | No | Company name |
| country_id | No | Country id (SE, UK, US, etc) |
| gender | No | Gender (FEMALE / MALE) |
| firstname | No | First name |
| lastname | No | Last name |
| organization_number | No | Company organization number |
| phone | No | Phone number |
| vat_number | No | Company VAT number |
| zipcode | No | Zip code |
| Error code | Http code | Description |
|---|---|---|
| 16 | 400 | Nothing to update |
| 30 | 400 | Unable to update account |
https://api.revrelations.com/v1/advertiser/auth/plain
Authenticate using password and username to create a temporary api session key
| Namn | Required | Description |
|---|---|---|
| password | Yes | Password |
| username | Yes | Username |
| Error code | Http code | Description |
|---|---|---|
| 3 | 403 | Authentication failed |
| 25 | 400 | Missing parameter: password |
| 26 | 400 | Missing parameter: username |
https://api.revrelations.com/v1/advertiser/profile/list?key=API-KEY
Get profile data
| Name | Required | Description |
|---|---|---|
| limit | No | Number of items to return. Defaults to 10 |
| profile_id | No | Get data for a specific profile |
| page | No | Specify this option to choose what page to get items for |
https://api.revrelations.com/v1/advertiser/profile/update?key=API-KEY
Update profile data
| Namn | Required | Description |
|---|---|---|
| category_id | No | Profile category id |
| description | No | Description of profile |
| image | No | Url to image |
| name | No | Name of profile |
| url | No | Profile url |
| Error code | Http code | Description |
|---|---|---|
| 6 | 400 | Missing parameter: profile_id |
| 15 | 400 | Unable to update profile |
| 16 | 400 | Nothing to update |