Through this API you can get brands of an agency.

Request

Name Method Description
/v1/getaccountkeys GET This end-point will retrieve brands list for an agency from the Online Review Manager system with their keys.

Request Parameters

Name Data Type Required/Optional Description
api_key string required This is the unique key given to you when the Agency was created.
brand_id integer optional This is the unique identification of a Brand in our system. It was automatically created when you created the Brand.
client_brand_id string optional This is unique identification of a Brand in your system.

Sample Request

GET : https://api.online-review-manager.com/v1/getaccountkeys

Response Data

This section outlines the standard response values from a account details api

Sample Response

{
    "status": "success",
    "message": {
        "brands": [
            {
                "level": "Brand Level",
                "user_type": "Owner",
                "account_name": "Example Dental (Medical Demo) ",
                "first_name": "John ",
                "last_name": "Doe",
                "email": "example@example.com",
                "apikey": "TEST5D6-2745-4CB6-B545-E55A8E7A34F9",
                "appid": "TEST5b3ca43f5188cf3359243aaa8933835e74da339def7f86e14631ea46f0b",
                "sha256_email": "TEST7eeea85a15c06dd3a87a4aeb46599c8322b0b807a99fac2aa88fe6340ac",
                "login_hash": "TEST7eeea85a15c06dd3a87a4aeb46599c8322b0b807a99fac2aa88fe6340ac-TEST5b3ca43f5188cf3359243aaa8933835e74da339def7f86e14631ea46f0b",
                "locations": {
                    "TEST04825855": "Example Dental - Belle Isle Station",
                    "TEST04825864": "Example Dental - Bridgton",
                    "TEST04825873": "Example Dental - Ithica",
                    "TEST04825883": "Example Dental - Knoxville",
                    "TEST04825892": "Example Dental - Denver",
                    "TEST8327184223303": "Example Dental - Palm Desert",
                    "TEST1713568825668": "Inactive Test - Los Angeles"
                }
            },
            {
                "level": "Brand Level",
                "user_type": "User",
                "account_name": "Example Dental (Medical Demo) ",
                "first_name": "John ",
                "last_name": "Doe",
                "email": "example@example.com",
                "apikey": "TEST15D6-2745-4CB6-B545-E55A8E7A34F9",
                "appid": "TEST15b3ca43f5188cf3359243aaa8933835e74da339def7f86e14631ea46f0b",
                "sha256_email": "TESTec05802288dc88095e229cef59693735ad841165c2461a366cb76bf0bad5",
                "login_hash": "TESTec05802288dc88095e229cef59693735ad841165c2461a366cb76bf0bad5-353a15b3ca43f5188cf3359243aaa8933835e74da339def7f86e14631ea46f0b",
                "locations": {
                    "TEST504825855": "Example Dental - Belle Isle Station",
                    "TEST504825864": "Example Dental - Bridgton",
                    "TEST504825873": "Example Dental - Ithica",
                    "TEST504825883": "Example Dental - Knoxville",
                    "TEST504825892": "Example Dental - Denver",
                    "TEST58327184223303": "Example Dental - Palm Desert",
                    "TEST61713568825668": "Inactive Test - Los Angeles"
                }
            },
            {
                "level": "Brand Level",
                "user_type": "Location User",
                "account_name": "Example Dental (Medical Demo) ",
                "first_name": "John ",
                "last_name": "Doe",
                "email": "example@example.com",
                "apikey": "TEST15D6-2745-4CB6-B545-E55A8E7A34F9",
                "appid": "TEST15b3ca43f5188cf3359243aaa8933835e74da339def7f86e14631ea46f0b",
                "sha256_email": "TEST27f31076dda329325f476c89cd9d23d904a4277e12cf6c865a478984d143",
                "login_hash": "TEST27f31076dda329325f476c89cd9d23d904a4277e12cf6c865a478984d143-353a15b3ca43f5188cf3359243aaa8933835e74da339def7f86e14631ea46f0b",
                "locations": {
                    "TEST58327184223303": "Example Dental - Palm Desert"
                }
            }
        ]
    }
}