Ask Flux
Help Center
How can we help?

How can I test APIs ?

Platform API:

  1. Go to developer.greenflux.com
  1. On top of the page go to tab 'API Reference'
  1. Choose the endpoint you want to test, e.g. GET CDRs (bear in mind the module needs to be activated, for the subscription you want to test
  1. Fill in the required information:
    1. In the center, fill in (at least) the required parameters
    2. On the right side:
      1. Fill in the Authentication Header, which should be filled in with 'Token <key>', where <key> is the API token key that you have received from GreenFlux, e.g. QgU8Tqf4FHRxVTb6MxhC0TSZ7BHjNQvNlsjK0KJp4do
      2. Choose the environment where you want to perform the test: Base URL with '-a' is the acceptance environment, whereas the other is the production environment.
Β 
  1. Press the 'Try It' blue button
Β 

CA API:

  1. Choose the environment you want to make the tests, go to the respective contoso page, and login:
    1. Acceptance
    2. Production Environment
  1. On the left pane, choose the end-point you want to test and click on it, e.g. PUT apptoken
  1. Click on the green button that says 'Try it'
  1. A slider opens from the right. Fill in the required headers and body parameters, as required, and hit orange 'Send' button at the bottom of the page.
Did this answer your question?
😞
😐
🀩