cURL
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>" ] }'
{ "message": "<string>", "result": { "expires_at": "2023-11-07T05:31:56Z", "organizations": [ "<string>" ], "share_type": "<string>", "template_id": "<string>", "users_email": [ "<string>" ] } }
Share a private template (shared-with-link)
Retrieve the Team ID from: https://cloud.projectdiscovery.io/settings/team
Example response
The response is of type object.
object
Was this page helpful?