# Template API

Version: v2

## Servers

Sandbox URL
```
https://api-ext-sboxmeta.partners.spotnana.com
```

## Security

### Bearer

Type: http
Scheme: bearer

## Download OpenAPI description

 - [Template API](https://developer.spotnana.com/_bundle/openapi/TemplateApi.yaml)

## Event Templates

 - [POST /v2/event-templates](https://developer.spotnana.com/openapi/templateapi/event-templates/createeventtemplate.md): This endpoint creates an event template.
 - [POST /v2/event-templates/hidden](https://developer.spotnana.com/openapi/templateapi/event-templates/togglehiddentemplate.md): Enable or disable hidden template for an organization. When enabled, creates or unarchives a hidden template. When disabled, archives it.
 - [GET /v2/event-templates/hidden](https://developer.spotnana.com/openapi/templateapi/event-templates/gethiddentemplatestatus.md): Check if hidden template is enabled for an organization.
 - [GET /v2/event-templates/{templateId}](https://developer.spotnana.com/openapi/templateapi/event-templates/geteventtemplate.md): This endpoint gets event template details for a given template ID.
 - [DELETE /v2/event-templates/{templateId}](https://developer.spotnana.com/openapi/templateapi/event-templates/deleteeventtemplate.md): This endpoint archives an event template.
 - [POST /v2/event-templates/{templateId}/edit-basic-info](https://developer.spotnana.com/openapi/templateapi/event-templates/updatetemplatebasicinfo.md): This endpoint allows updating basic template information.
 - [POST /v2/event-templates/{templateId}/edit-booking-guidelines](https://developer.spotnana.com/openapi/templateapi/event-templates/updatetemplatebookingguidelines.md): This endpoint updates the booking guidelines for a template.
 - [PUT /v2/event-templates/{templateId}/custom-field-responses](https://developer.spotnana.com/openapi/templateapi/event-templates/updatetemplatecustomfieldresponses.md): This endpoint updates the template's custom field responses.
 - [POST /v2/event-templates/list](https://developer.spotnana.com/openapi/templateapi/event-templates/listeventtemplates.md): This endpoint lists event templates.
 - [GET /v2/event-templates/read-by-external-id](https://developer.spotnana.com/openapi/templateapi/event-templates/geteventtemplatebyexternalid.md): Get template details using the template's `externalId`. External IDs are unique identifiers which can be set based on the company's preference.
