cURL
curl --request GET \ --url https://senderr.dev/api/v1/templates/{id}/schema \ --header 'Authorization: Bearer <token>'
{ "success": true, "schema": { "required": [ "name", "email" ], "optional": [ "company" ], "properties": { "name": { "type": "string", "description": "User's full name" }, "email": { "type": "string", "description": "User's email address" }, "company": { "type": "string", "description": "User's company name", "default": "there" } } } }
Retrieve the variable schema for a template, including required and optional fields with their types.
Use your API key from the dashboard. Format: Bearer your-api-key-here
Bearer your-api-key-here
Template ID
Template schema retrieved successfully
true
Show child attributes