Testing PDF API - Kundali PDF - Prakash API Using Postman

Illuminate your journey with astrological clarity using our 'Kundali PDF - Prakash' API, generating enlightening astrological charts in PDF format that shed light on life's path within the realm of Indian Astrology.

 Last updated : 14 Jan, 2025
 Guide

1. Securing Your API Key

Step-by-Step Guide:

Log in to Your Account

Navigate to the API Credentials Section

  • After logging in, locate the menu or user icon (generally at the top right corner).
  • Click on it and select the "API Credentials" option from the dropdown menu.

Access Your API Key and Token

  • On the API Credentials page, you will see two sections:
    • Live API Credentials: For production use.
    • Test API Credentials: For testing your integration.
  • Both sections include the API Key and Bearer Token.

Copy the Credentials

  • Use the provided "Copy" button next to the API key and token to copy them securely.

Secure Your API Key and Token

  • Never share your API credentials publicly.
  • Store them securely in environment variables or encrypted files to prevent unauthorized access.

 

2. Importing the Postman Collection

Import our Postman collection to facilitate your API testing:

  • After logging into your Postman account:
  • Open This link: https://documenter.getpostman.com/view/27195761/2sA3Qs8rfV 
  • Click “Run in Postman” and then select “Run in Web”.
  • Select your workspace and then select ‘import’.

 

3. Configuring Your API Request

Once the collection is imported:

  • Locate the "Kundali PDF - Prakash" API request.
  • Ensure the method is set to POST.
  • Use this request URL: https://pdf.divineapi.com/indian-api/v1/kundali-prakash 

 

4. Setting Request Parameters

This API call necessitates only your API key. To find your API key.

  • Go to your DivineAPI dashboard > API Key page.
  • Click on “Copy” next to the API key

 Notice the difference between the key, and the Access Token.