Fluid Attacks News logo

News

Subscribe to Updates

Labels

  • All Posts
  • Fix
  • Announcement
  • Improvement
  • new

Jump to Month

  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • July 2019
new
5 years ago

Integrates API Access

A few days ago, we launched a new feature that allows users to make requests directly to our GraphQL API. You can do this by using one of the following methods:

Browser method

1. Log in to https://integrates.fluidattacks.com

2. Open https://integrates.fluidattacks.com/api

3. Open the Settings using the upper-right button

4. Set a new value: "request.credentials": "include" and save the settings

5. Go to a new tab and make your queries

Note: This method uses the same session as the web application, which lasts for 40 minutes. After that, you need to log in to https://integrates.fluidattacks.com again and refresh the https://integrates.fluidattacks.com/api page.
If you want your session to last more than 40 minutes, you can use an API Token as shown below.

API Token method

1. Generate the API Token from the web application using the API option in the left panel:

2. Select an expiration date up to six months after the creation date:



3. After clicking the “Proceed” button, you will see a string labeled “Access Token”. This will be your API Token:


4. Store this token safely, as it is the only time you will see it. With it, you can do the same things that you usually do on the Integrates web application.

You can also generate the API Token using the next GraphQL mutation on https://integrates.fluidattacks.com/api, where expirationTime is a Unix Timestamp

mutation {
  updateAccessToken(expirationTime:1577854799) {
    sessionJwt
  }
}

You will get the API Token under the sessionJwt value:

Add a new Header in HTTP HEADERS with the name Authorization and the value Bearer , where is the token generated in the previous steps:

Done! Now you can make queries with the same API Token for up to six months (depending on the expirationTime you set earlier):

Resources

  • Available queries and mutations are shown in the right panel of the browser:

  • GraphQL documentation: https://graphql.org/learn/
Avatar of authorJuan