Authentication (published apps)

If you plan to publish your app in our marketplace for other Nexudus customers to use, you will need a combination of an App Key and an App secret to authenticate your requests. 

To make a request to the API you will need to issue a HTTP request using the appropriate VERB and always including a Basic Authentication header.

Request Headers:
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==

To calculate this token you need to use the application Id and application secret that you can find in each of the applications you have created in your account.

Each application running on Nexudus has a key and a secret. It is very important that you never share your application secret, doing so will mean that someone could access all the accounts which installed your application on your behalf.

Never share your secret key!

Registering an Application

Before you can start developing your app, you will need to register an Application in your Nexudus account. This will let you test the installation process within your account. Once your Application is published, any Nexudus customer will be able to install it in their account.

Managing Applications can only be done using the REST API.

Before you can start developing your app, you will need to register an Application in your Nexudus account. This will let you test the installation process within your account. Once your Application is published, any Nexudus customer will be able to install it in their account.

Create Application

You can use the standard REST API to Create an Application

Get Applications Secrets

Once your Application is registered, a secret will be generated for it. You can use the following endpoint to obtain it.

GET https://spaces.nexudus.com/api/apps/applications/my

🔒 Requires role "Application-Read

 

Example request

GET https://spaces.nexudus.com/api/apps/applications/my
Content-Type: application/json
Authentication: Basic ZXhhbXBsZUBuZXh1ZHVzLmNvbTpFeGFtcGxlMTIzNA==

 

Example response


[
 {
 "Name": "ExcelMatic",
 "ApplicationKey": "f36292c02d9c438d98d8c9eb34897c90",
 "SecretKey": "b5d83da7a....7febc62d8dc"
 },
 {
 "Name": "Ezeep",
 "ApplicationKey": "27b6a3ce6d26431991847af19e63a3cb",
 "SecretKey": "6d7c2c75a641....eea21a81"
 },
 {
 "Name": "Example",
 "ApplicationKey": "d4176f7334ea4c5a835ba7ca48729203",
 "SecretKey": "3c2a5a7849c....4c8e6ad9"
 }
]

 

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Please sign in to leave a comment.