Skip to main content

Step 1

  1. Go to portal.azure.com and sign in with your tenant administrator account.
  2. Under Azure Services, click Azure Active Directory
  3. On the left menu, click App registrations
  4. On the horizontal menu, click New registration New registration in App registrations
  5. Set the Application name to Api Authentication
  6. Set the Redirect URI to https://oauth.pstmn.io/v1/browser-callback
  7. Click Register Register the application
  8. On the left menu, click API Permissions
  9. In the horizontal menu, click Add a permission, select Microsoft Graph, and then select Application permissions
  10. Type Sites., expand the Sites options, and check Sites.Read.All
  11. Click Add permissions
  12. In the horizontal menu, click Grant admin consent for, and click Yes
  13. In the left menu, click Overview. From here, you can get the Application (client) ID and Directory (tenant) ID. You will need these in step 2
  14. In the left menu, click Certificates & secrets
  15. Click New client secret, enter a description, and click Add. Hover over the new client secret Value and copy it. You will need this in step 2
Configured API permissions for Sites.Read.All The Azure AD application now has permissions to make requests as an application for Sites.Read.All.

Step 2

  1. To get Access token call to https://api.flowforma.com/swagger/index.html endpoint providing Application (client) ID, Directory (tenant) ID and Client secret as query string parameters. Access token request in Swagger
  2. Use Access token returned with this request to call FlowForma API services by adding it to Authorization header using the Bearer scheme.
Example header: Authorization Value: Bearer 123YourToken.

API

Refer to https://api.flowforma.com/swagger/index.html for available operations and data schemas. ListDetails schema property NewLocationPick accepts following string values.
  • ‘SC’ - Sitecollection Rootweb
  • ‘AWP’ - Appweb Parent Site (Parent Page To Flowforma App)
  • ‘AW’ - Appweb Site (Flowforma Page)
  • ‘RT’ - Retain Current List Location Defined In Flow