RemotePC

    Menu

    • My Account
    • Sign Up
    • Login
    • RemotePC
    • Features
    • Pricing
    • Download
    • Remote Access Products
      • Remote Access for Consumers
      • Remote Access for Teams
      • Remote Access for Enterprises
      • Remote Access for HelpDesk

      RemotePC™ Reseller APIs

      • Reseller APIs
        • Add user
        • Invite users
        • User sign in
        • User list

      RemotePC API accepts requests and returns responses in the 'JSON' format. The API Key Authentication mechanism is used along with IP whitelisting to authenticate the APIs. For all the APIs, API Key must be added in the authorization header.

      Resellers can send the API requests using the API Key generated for their account in the web console.

      To get the API key,

      1. Log in to your RemotePC Reseller account.
      2. Go to My Account tab and click API Keys.
      3. Click View, enter the account password, and click View.
      4. The API Key will be displayed. Click Copy Key to copy to the clipboard.

      To change the API Key, click Change. Enter the account password and click View to view the new API key.

      1. Add user

      URL: https://web1.remotepc.com/rpc-api/reseller/private/user/add

       
                              Method-Type: POST
      Request headers:
      • Authorization: Bearer <api key>
      • Content-type: application/json

      Request

                              string firstName;
      string lastName;
      string invitedUserEmailId;
      string password;
      integer allotedComputers; //optional parameter, default is 0
      boolean sendEmailToUser; //email notification to user is an optional parameter

      HTTP response codes

                              200 (Success)
      500 (Server Error)
      400 (Invalid Parameters)
      401 (Unauthorized)
      403 (Invalid request)

      Request sample

                              {
        "firstName": "firstname",
        "lastName": "lastname",
        "invitedUserEmailId": "shane@idrive.com",
        "password": "password",
        "allotedComputers": 1,
        "sendEmailToUser": true
      }

      Response

      Response success sample

                              {
         "status": "OK",
        "code": 200,
        "message": "SUCCESS"
      }

      Response error sample

                              {
        "status": "BAD_REQUEST",
        "code": 400,
        "errorsCount": 1,
        "errors": [
          {
            "description": "EMAIL_EXISTS"
          }
        ]
      }
                              {
        "status": "UNAUTHORIZED",
        "code": 401,
        "errorsCount": 1,
        "errors": [
          {
            "description": "NOT_AUTHORIZED"
          }
        ]
      }
                              {
         "status": "INTERNAL_SERVER_ERROR",
        "code": 500,
        "errorsCount": 1,
        "errors": [
          {
            "description": "INTERNAL_SERVER_ERROR"
          }
         ]
      }
                              {
        "status": "Forbidden",
        "code": 403,
        "errorsCount": 1,
        "errors": [
          {
            "description": "Forbidden "
          }
        ]
      }

      Description may include:

      1. FIRSTNAME_REQUIRED,
      2. LASTNAME_REQUIRED,
      3. EMAILID_REQUIRED,
      4. ENTER_VALID_EMAIL,
      5. PASSWORD_REQUIRED,
      6. INVALID_PASSWORD

      2. Invite users

      URL: https://web1.remotepc.com/rpc-api/reseller/private/user/invite

       
                              Method-Type: POST
      Request headers:
      • Authorization: Bearer <api key>
      • Content-type: application/json

      Request

                              string invitedUserEmailId;
      integer allotedComputers; //optional parameter, default is 0

      HTTP response codes

                              200 (Success)
      500 (Server Error)
      400 (Invalid Parameters)
      401 (Unauthorized)
      403 (Invalid request)

      Request sample

                              [
        {
          "invitedUserEmailId": "shane@idrive.com",
           "allotedComputers": 10
        }
      ]

      Response success sample

                              {
        "status": "OK",
        "code": 200,
        "message": [
           {
            "username": "shane@idrive.com",
            "status": "ALREADY_INVITED"
          },
          {
            "username": "shane@idrive.com",
            "status": "EXISTS"
          },
          {
             "username": "shane@idrive.com",
            "status": "INVITED"
          }
        ]
      }

      Response error sample

                              {
        "status": "UNAUTHORIZED",
        "code": 401,
        "errorsCount": 1,
        "errors": [
           {
            "description": "NOT_AUTHORIZED"
          }
        ]
      }
                              {
        "status": "INTERNAL_SERVER_ERROR",
        "code": 500,
        "errorsCount": 1,
        "errors": [
          {
            "description": "INTERNAL_SERVER_ERROR"
          }
        ]
      }
                              {
        "status": "Forbidden",
        "code": 403,
        "errorsCount": 1,
        "errors": [
           {
            "description": "Forbidden "
          }
        ]
      }

      3. User sign in

      URL: https://web1.remotepc.com/rpc-api/reseller/private/user/signin

       
                              Method-Type: POST
      Request headers:
      • Authorization: Bearer <api key>
      • Content-type: application/json

      Request

                              string username;
      string password;

      HTTP response codes

                              200 (Success)
      500 (Server Error)
      400 (Invalid Parameters)
      401 (Unauthorized)
      403 (Invalid request)

      Request sample

                  
                                   {
          "username": "username",
           "password": "password"
       }

      Response

      Response success sample

                              {
        "status": "OK",
        "code": 200,
        "message": {
              "rpc_redirect_link":"https://login.remotepc.com/rpcnew/process/autologin/eyJhbGciOiJIUzUxMiJ9"
              }
      }

      Note: Use rpc_redirect_link to auto login to the account.

      Response error sample

                            {
        "status": "BAD_REQUEST",
        "code": 400,
        "errorsCount": 1,
        "errors": [
          {
            "description": "USERNAME_DOES_NOT_EXIST"
          }
        ]
      }
                            {
        "status": "BAD_REQUEST",
        "code": 400,
        "errorsCount": 1,
        "errors": [
          {
            "description": "ACTION_PARENT_ACCOUNT_SUSPENDED"
          }
        ]
      }
                            {
        "status": "BAD_REQUEST",
        "code": 400,
        "errorsCount": 1,
        "errors": [
          {
            "description": "IP_ADDRESS_BLOCKED"
          }
        ]
      }
                            {
        "status": "BAD_REQUEST",
        "code": 400,
        "errorsCount": 1,
        "errors": [
          {
            "description": "CANCELLED_ACCOUNT"
          }
        ]
      }

      Description may include

      EMAILID_REQUIRED,
      INVALID_EMAIL,
      PASSWORD_REQUIRED,
      USERNAME_REQUIRED

                            {
        "status": "UNAUTHORIZED",
        "code": 401,
        "errorsCount": 1,
        "errors": [
          {
            "description": "NOT_AUTHORIZED"
          }
        ]
      }
                            {
        "status": "INTERNAL_SERVER_ERROR",
        "code": 500,
        "errorsCount": 1,
        "errors": [
          {
            "description": "INTERNAL_SERVER_ERROR"
          }
        ]
      }

      4. User list

      URL:https://web1.remotepc.com/rpc-api/reseller/private/user/list

       
                              Method-Type: POST
      Request headers:
      • Authorization: Bearer <api key>
      • Content-type: application/json

      HTTP response codes

                             200 (Success)
      500 (Server Error)
      401 (Unauthorized)

      Response

      Response success sample

                            {
        "status": "OK",
        "code": 200,
        "message":{
        "resellerUsersList": [
            {
              "alloted_computers": 1,
              "created_date": "01-13-2023",
              "isActive": true,
              "utilized_computers": 0,
              "username": "shane@idrive.com"
            },
            {
              "alloted_computers": 1,
              "created_date": "01-13-2023",
              "isActive": true,
              "utilized_computers": 0,
              "username": "shane@idrive.com"
            },
            {
              "alloted_computers": 0,
              "created_date": "01-15-2023",
              "isActive": true,
              "utilized_computers": 0,
              "username": "shane@idrive.com"
            },
            {
              "alloted_computers": 0,
              "created_date": "01-15-2023",
              "isActive": true,
              "utilized_computers": 0,
              "username": "shane@idrive.com"
            },
            {
              "alloted_computers": 0,
              "created_date": "01-15-2023",
              "isActive": true,
              "utilized_computers": 0,
              "username": "shane@idrive.com"
            },
            {
              "alloted_computers": 425,
              "created_date": "01-25-2023",
              "isActive": true,
              "utilized_computers": 0,
              "username": "shane@idrive.com"
            }
          ]
        }
      }

      Response error sample

                            {
        "status": "UNAUTHORIZED",
        "code": 401,
        "errorsCount": 1,
        "errors": [
          {
            "description": "UNAUTHORIZED_ACCESS"
          }
        ]
      }
                            {
        "status": "INTERNAL_SERVER_ERROR",
        "code": 500,
        "errorsCount": 1,
        "errors": [
          {
            "description": "INTERNAL_SERVER_ERROR"
          }
        ]
      }
      • RemotePC™
      • Features
      • Pricing
      • Team
      • Enterprise
      • Access via Web
      • Access via Mobile
      • RemotePC for Linux
      • Corporate
      • Get Started
      • Download
      • Sign Up
      • FAQs
      • Video Tutorials
      • Services
      • Partners
      • Compliance
      • Legal
      • Terms of Service
      • Privacy Policy
      • Acceptable Use Policy

      Support


      © IDrive Inc.