SDKs¶
Official Pulse client libraries for Python, JavaScript/Web, and Mobile are in development. Until they're available, you integrate with Pulse through the REST API directly — which is straightforward, since it's plain HTTP with a Bearer API key.
Coming soon
Official SDKs are on the way. They'll wrap authentication, retries, and the common endpoints so you can skip the boilerplate. In the meantime, the examples below show how little code it takes to call the API today.
Every request uses the hosted base URL https://api.azothedge.com and your API key. See Authentication for how keys work.
Python¶
Using httpx (or the similar requests), send an event:
import httpx
API_BASE = "https://api.azothedge.com"
API_KEY = "<your-api-key>"
response = httpx.post(
f"{API_BASE}/v1/collect",
headers={"Authorization": f"Bearer {API_KEY}"},
json={
"schema_id": "<your-schema-id>",
"timestamp": "2026-06-16T10:30:00Z",
"payload": {
"personalEmail": {"address": "ada@example.com"},
"person": {"name": {"firstName": "Ada", "lastName": "Lovelace"}},
},
},
)
response.raise_for_status()
print(response.json()) # {'event_id': '...', 'status': 'accepted'}
JavaScript¶
Using the built-in fetch API in Node.js or the browser:
const API_BASE = "https://api.azothedge.com";
const API_KEY = "<your-api-key>";
const response = await fetch(`${API_BASE}/v1/collect`, {
method: "POST",
headers: {
Authorization: `Bearer ${API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
schema_id: "<your-schema-id>",
timestamp: "2026-06-16T10:30:00Z",
payload: {
personalEmail: { address: "ada@example.com" },
person: { name: { firstName: "Ada", lastName: "Lovelace" } },
},
}),
});
const result = await response.json();
console.log(result); // { event_id: '...', status: 'accepted' }
Keep your key out of the browser
The JavaScript example works anywhere fetch does, but never embed an API key in code you ship to end users. Call the Pulse API from a server you control, or from a backend function — see Keep your keys secret.
Next steps¶
-
Sending data
The full ingestion API, inline validation, and identity linking.
-
API reference
Explore every endpoint interactively.