Freshdesk's API lives at https://<domain>.freshdesk.com/api/v2.
Basic auth with your API key as the username and any password (Freshdesk's docs use X) — curl's -u, PostTaco's Auth tab. The key is under Profile settings. {{FRESHDESK_DOMAIN}} is your subdomain.
Full reference: https://developers.freshdesk.com/api/
curl "https://{{FRESHDESK_DOMAIN}}.freshdesk.com/api/v2/tickets?per_page=10" \
-u {{FRESHDESK_API_KEY}}:X
priority 1–4 and status 2 (open) are numeric codes.
curl -X POST https://{{FRESHDESK_DOMAIN}}.freshdesk.com/api/v2/tickets \
-u {{FRESHDESK_API_KEY}}:X \
-H "Content-Type: application/json" \
-d '{"subject": "Created from PostTaco", "description": "Testing the API", "email": "[email protected]", "priority": 1, "status": 2}'