Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Overview

In this page you will learn how to obtain a valid auth_token.

Fuse field names are case-sensitive. If a field does not update or you are getting a bad response, check that the field name being sent within the request matches the field name on fuse exactly.

Auth Token

Auth Tokens can be obtained via the admin panel on the Client instance or from API client.

Let’s see how to obtain a valid using two different API/client-side URL tools:

Postman

Follow these steps:

  1. Select your workspace.

  2. Create a request

  3. Set the HTTP method to POST.

  4. Enter the Fuse instance URL:

    • https://<instance_name>.fuseuniversal.com/api/v4.3/token

  5. Select Body tab.

  6. Select form-data sub-tab.

  7. Set a couple of key-value pairs:

    • First KEY: login_name; VALUE: <your_login_name>

    • Second KEY: password; VALUE: <your_password>

  8. Hit enter or click on the Send Button.

  9. Expected Status Code: 201 Created

  10. Make a note of the auth_token value from the response body to use for requests in later Manage Users Endpoint Examples.

Example of auth_token with valid URL:

  • https://<instance_name>.fuseuniversal.com/?auth_token=Rn26mdxAs1_jjzVt__ySga

Use the following screenshot as a reference of the previous steps:


cURL

Using the following command:

curl --location --request POST 'https://<instance_name>.fuseuniversal.com/api/v4.3/token' --form 'login_name=<api_user>' --form 'password=<api_user_password>’'

  • No labels