Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Public API Reference
Public API details and usage examples for the Members Portal
Subscribes the current user or email address to the location newsletter.
cURL
curl --request POST \ --url https://spaces.nexudus.com/api/public/newsletter/subscribe \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "Email": "<string>" } '
import requests url = "https://spaces.nexudus.com/api/public/newsletter/subscribe" payload = { "Email": "<string>" } headers = { "Authorization": "Basic <encoded-value>", "Content-Type": "application/json" } response = requests.post(url, json=payload, headers=headers) print(response.text)
const options = { method: 'POST', headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'}, body: JSON.stringify({Email: '<string>'}) }; fetch('https://spaces.nexudus.com/api/public/newsletter/subscribe', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "WasSuccessful": true }
true
POST /api/public/newsletter/subscribe Content-Type: application/json { "Email": "[email protected]" }
import endpoints from '@/api/endpoints' const result = await httpClient.post(endpoints.newsletter.subscribe().url, { Email: '[email protected]', })
Was this page helpful?