# mailinglist\_subscribe

Source: https://zotonic.com/docs/1395/mailinglist_subscribe

URI: https://zotonic.com/id/1395

Language: en



Show the mailinglist subscription form to subscribe to a certain mailinglist id.

Parameters:

`id`

Required; the id of the mailinglist [resource](/id/doc_glossary#term-resource) that is being subscribed to.

`template`

Which form template to render. Defaults to the template `_scomp_mailinglist_subscribe.tpl`.

All other parameters are passed in to the template which is being rendered.

The form is at least supposed to have an email input field. Besides email, it can have name\_first, name\_surname\_prefix and name\_surname fields, which will be stored in the recipient table.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1395?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1395?language=en>)
