Prerequisites
Before accessing the API Portal, ensure you have:
- Access to a Pramata UAT or PROD instance
- Relevant Pramata APIs enabled for your account
- Valid login credentials for the API Portal
Accessing the API Portal
- Navigate to the appropriate environment:
- Enter your login credentials.
- Select your organization from the available options.
Setting Up API Access
Obtaining API Credentials
- Click client credentials.
- Copy and securely store your API Key & Shared Secret
Note: These credentials cannot be retrieved later, so store them safely.
Generating an Access Token
- Click Authorize in the top right corner.
- Enter your client_id & client_secret (from the previous step)
- Click the Authorize button, then Close button.
Testing the API
Submitting Documents
- Click POST from the available operations.
- Click Try it out to enable the request form.
- Click Choose File and select the file you wish to upload.
- Enter a valid username in uploader field.
- Set the is_base64_encoded parameter to false in the dropdown menu.
- Click Add item and enter the required JSON metadata in terms field.
- Click Execute to submit your request.
Reviewing API Response
- The server response will appear on the right side of the page.
- Sample code snippets are available for reference and implementation in your applications.