Skip to content
Last updated

This section contains everything you need to integrate the Registration Authority API: full OpenAPI specification (with operation details in the llamadas folder), webhook configuration, authentication, responses, and the Postman collection.

Contents

Endpoint URLs

Base URL format: https://{host}/api/{version}/{resource}/

  • Hostapi.uanataca.com (production), api.sandbox.uanataca.com (sandbox). For External VideoID upload: lima.uanataca.com / lima.sandbox.uanataca.com.
  • Versionv1.
  • Resource — e.g. requests, registrationauthorities, rao, users, scratchcards. Always end the URL with a forward slash (/).

Authentication

The API is authenticated with the certificate and key of an enabled API User (client certificate). Example with cURL:

curl --key key.pem --cert cert.pem -H "Content-Type: application/json" -d @params.json -X POST https://api.uanataca.com/api/v1/requests/

Example with Python (requests):

import requests
requests.get(
    'https://api.uanataca.com/api/v1/scratchcards/',
    cert=('/path/to/cert.pem', '/path/to/key.pem')
)

Responses

  • Successful responses return JSON; structure depends on the endpoint (see OpenAPI).
  • Error responses include error (string), code (HTTP-related), and id (Uanataca error id).
  • Paginated list responses include count, next, previous, and results (max 10 objects per page). See OpenAPI specification for details and HTTP status codes.