PTKD API

    Integrate mobile security scanning into your apps and workflows with our simple REST API.

    Get Started in 3 Steps

    1

    Get Your API Key

    Sign up and generate your API key from the dashboard.

    2

    Upload Your App

    Send a POST request with your APK, AAB, or IPA file.

    3

    Get Results

    Retrieve your comprehensive security report via API or webhook.

    Example API Call

    curl -X POST https://api.ptkd.dev/v1/scan \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -H "Content-Type: multipart/form-data" \
      -F "[email protected]" \
      -F "scan_type=full"

    Response:

    {
      "scan_id": "scan_abc123",
      "status": "processing",
      "estimated_completion": "2024-01-15T10:30:00Z",
      "webhook_url": null
    }

    API Endpoints

    Complete reference for all available endpoints

    POST/v1/scan

    Upload and start scanning an app

    Parameters:

    • file (required)
    • scan_type (optional)
    • webhook_url (optional)
    GET/v1/scan/{scan_id}

    Get scan status and results

    Parameters:

    • scan_id (required)
    GET/v1/scans

    List all scans for your account

    Parameters:

    • limit (optional)
    • offset (optional)
    DELETE/v1/scan/{scan_id}

    Delete a scan and its results

    Parameters:

    • scan_id (required)

    SDKs & Libraries

    Official SDKs for popular programming languages

    JavaScript/Node.js

    Available

    Python

    Available

    Go

    Coming Soon

    Java

    Coming Soon

    PHP

    Coming Soon

    Ruby

    Coming Soon

    API Resources

    Everything you need to integrate PTKD into your workflow