Starter Kit
This page will guide you through the entire onboarding process for accessing the TDS CPC APIs via the Developer Portal. This includes:
- Creating your Developer Portal account
- Activating your account By Administrator
- Logging in for the first time
- Creating an Application
- Retrieving API Credentials (Client ID & Client Secret)
- Regenerate Client Secret
- Explore ActiveDocs (API documentation)
- Start testing TDS CPC APIs
- TDS CPC API Overview
- TSP Test Certify
Create your Developer Portal account in just a few steps and get ready to start testing TDS CPC APIs.
https://test-dev.tdscpc.gov.in/
You will see the developer portal home page with the Sign In and Register your organization/Sign Up options.
* indicates a mandatory field
1.Entity details- Legal Entity Name*
- Trade Name / Product Name*
- Entity Type* (Company / LLP / Partnership / Proprietorship / Government / PSU)
- PAN*
- GSTIN
- Registered Address*
- City*
- State*
- Country*
- Website URL
- Email *
- Password *
- Password Confirmation *
- Category (ERP / Payroll Software / Accounting Software / Bank / Deductor Intermediary / Other)
- Estimated monthly TAN volume
- Estimated monthly PAN volume
- Contact Type - Administrative/ Technical / Developer
- Contact Name
- Designation
- Mobile
After registration, your account requires administrative activation to complete the onboarding process.
- Approve and activate your account or
- Request additional information or
- Reject access (only for unauthorized requests)
- You will receive an Account Approval Email.
- The system will allow you to log in normally
- You can access your Dashboard, Applications, and API Documentation
Log in with your newly activated account to explore the Developer Portal and manage your applications.
When your Developer Portal account is newly created and activated by an administrator, your first login completes onboarding and unlocks your Dashboard, Applications, API documentation, and credentials.
- Open the Developer Portal:
https://test-dev.tdscpc.gov.in/ - Click “Sign In” in the top-right navigation.
- Enter your credentials (Email + Password) and click Sign In.
- Access your Dashboard to manage Applications, view credentials, and explore API docs.
- Applications: Create apps and obtain Client ID/Secret.
- Documents: Browse and test endpoints.
- Profile (Settings): Update details, manage password.
Create an application to manage your API and securely access TDSCPC APIs.
Retrieve the credentials required to authorize your application and connect to TDSCPC services.
- A public identifier for your application.
- Used to identify the application interacting with the API.
- A private key used for secure authentication.
- Works like a password: never share it publicly.
- During the OAuth flow, after the user successfully authenticates and grants consent, the authorization server will redirect the user’s browser to your application’s registered Redirect URL. This redirect contains authorization information. Your application must handle this callback route, extract the authorization data, and exchange it with the authorization server’s token endpoint to obtain access tokens.
- Log in to the Developer Portal.
- Go to Applications.
- Select the application for which you want to retrieve the secret.
- Navigate to Client Secrets or Credentials section.
- Copy the client id and secret and store it securely.
Retrieve the credentials required to authorize your application and connect to TDSCPC services.
- Log in to the Developer Portal.
- Go to Applications.
- Select the application for which you want to regenerate the secret.
- Navigate to Client Secrets or Credentials section.
- Click Regenerate.
- Copy the new secret and store it securely.
View the API specification for service URL,Header, Request and Reponse details.
- View available API endpoints
- Understand required and optional parameters
- Test API calls directly within the documentation
- See request/response samples
- Validate integrations before coding
- Log in to the Developer Portal
- Go to Documentation link in the navigation menu.
- Choose the API you want to explore (e.g., 24Q, 26Q, 27Q).
- The interface displays 1.API overview 2.All endpoints grouped by category 3.Parameters and schemas 4.Authorize 4.“Try It Out” / “Test Endpoint” button
Retrieve the credentials required to authorize your application and connect to TDSCPC services.
- Navigate to the API’s Swagger UI.
- You will typically see a button labeled Authorize or a lock icon
This opens a modal showing available OAuth2 security schemes, such as:
- OAuth2 Authorization URL
- Token URL
- Scopes
- Grant types
- Client ID
- Client Secret
- Scopes (select as needed)
Once click on the "Authorize" button, It redirects to the deductor login page. We should use the enablement API for creating test data in AIN Master, PAN Master and TAN Master. The enablement API should be used only in the sand box environment for create deductor test data. Go to the API document page and then select TDS-Data-Master from the drop down. Here you can see the Enablement APIs (TAN/PAN/AIN APIs). Enter the created deductor user id and password and submit it.
- Path parameters
- Query parameters
- Request body (JSON)
- Additional headers (if any)
- Request URL
- The token automatically added as
- Authorization: Bearer your_access_token
- Response body
- Response headers
- Curl sample