curl --request POST \
--url https://api.projectdiscovery.io/v1/template/share \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"template_id": "<string>",
"share_type": "unlisted",
"ttl": "<string>",
"organizations": [
"<string>"
],
"emails": [
"<string>"
]
}
'