6 User API

If you build a plugin for a third party software you may need to authenticate users to secure the API key information for each installed plugin. This API creates a User for each publisher for your plugin. A User will now receive a unique production API keys for both Submission API and Distribution API

Create User

Request

GET http://testapi.adility.com/user/beta/

Response

{
    "status": "OK",
    "user": {
        "id": "..."
        "
email": "andrii@example.com",
        "password_hash": "28734yf9827yqrefusy0y293qywfy08yw0rey982tq89ftw9ef81tfw82e",
        "company_name": "Andrii & Co.",
        "website_url": "http://www.example.com",
        "contact_phone": "(404) 506-3391",
        "contact_name": "Andrii Dovgaliuk",
        "contact_address": {
            "address_line_1": "3570 Piedmont Rd. NE",
            "city": "Atlanta",
            "state_code": "GA",
            "postal_code": "30305",
            "country_code": "US"
        },
        "sandbox_submission_api_key": "...",
        "sandbox_distribution_api_key": "...",
        "production_submission_api_key": "...",
        "production_distribution_api_key": "...",
        "status": "active",
        "maximum_reservation_quantity": "100",
        "reservation_allowed": "true",
        "promotion_required": "false" 
    }
}



Comments