Overview
The Alta Multes API uses mutual TLS authentication with client and server certificates. Both the client and server must present valid certificates to establish a secure connection.The same certificate can be used for both pre-production (testing) and production environments.
Certificate Requirements
Obtaining a Certificate
Before accessing the API, you must:Download the adhesion form
Download the adhesion form from the ORGT repository.
Complete the form
Fill out all required fields in the adhesion form with your organization’s details.
Accessing API Endpoints
Base URLs
The API is available at two environments:| Environment | Base URL |
|---|---|
| Production | https://pda.orgt.diba.cat/RestMultesPDA/svcMultesPDA.svc/rest/ |
| Pre-production | https://pdaprv16.orgt.diba.cat/RestMultesPDA/svcMultesPDA.svc/rest/ |
Making Authenticated Requests
Every request must include your client certificate. The endpoint is appended to the base URL:Example: ObtenirRang Endpoint
Certificate Setup Examples
Accessing API Documentation
Your certificate is also required to access the API specification resources:- Swagger/OpenAPI: Available in the GitHub repository
- WSDL: https://pda.orgt.diba.cat/WcfMultesPDA/svcMultesPDA.svc?singleWsdl (certificate required, or cancel the prompt)
- XSD Schema: https://pdaprv16.orgt.diba.cat/RestMultesPDA/schema/svcMultesPDA.xsd (certificate required)
Troubleshooting
Common Authentication Issues
| Error | Cause | Solution |
|---|---|---|
| SSL handshake failed | Certificate not installed on ORGT servers | Contact ORGT to verify your public key is installed |
| Certificate verification failed | Wrong CA certificate | Ensure you’re using the correct CA certificate provided by ORGT |
| Connection refused | Certificate/key mismatch | Verify your certificate and private key match |
| 403 Forbidden | Certificate not authorized | Confirm your certificate was submitted in the adhesion process |