improved

API: Email is now the only mandatory field to register someone

An improvement has been released today regarding "Register someone for a session" endpoint. Email is now the only required field to register someone through the API.

Here's an example of a JSON payload:

{
  "data": {
    "type": "people",
    "attributes": {
      "fields": [
        {
          "id": "email",
          "value": "[email protected]"
        }
      ],
      "referrer": "acme.com",
      "utm_source": "Twitter",
      "utm_medium": "Feed",
      "utm_campaign": "Summer",
      "utm_term": "",
      "utm_content": ""
    }
  }
}

That's it for today — happy coding! 🎉