# Sign up event

# POST /:partnerId/event/signup

# When

Send this event when a player signs up an account in your system successfully.

# Parameters

Parameter Type Description Example
ludio_id Body Ludio id of the player triggering the event b42a9f...6e7d45
timestamp Body UNIX Timestamp on the occurence of the event 1681201484
device Body The device used when the event occured. Devices available: desktop, mobile mobile
gender Body Players gender m/f m
birthyear Body Birth year of the player 1992
city Body Players city Kalmar
country Body Country associated with this player. ISO 3166-1 alpha-2 SE

# Schema

{
  "ludio_id": "string",
  "timestamp": 0,
  "payload": {
    "device": "string",
    "country": "string",
    "city": "string",
    "birthyear": 0,
    "gender": "string"
  }
}

# Examples

fetch(`${process.env.LUDIO_EVENT_API_HOST}/event/signup`, {
  method: "POST",
  body: {
    "ludio_id": "b42a9f91d6f79dc885c4b93ac86e7d45",
    "timestamp": 1681201484,
    "payload": {
      "device": "mobile",
      "country": "SE",
      "city": "Kalmar",
      "birthyear": 1992,
      "gender": "m"
    }
  }
})
curl -d '{"ludio_id": "b42a9f91d6f79dc885c4b93ac86e7d45","timestamp": 1681201484,"payload": {"country": "SE","city": "Kalmar","birthyear": 1992,"device": "mobile","gender": "m"}}' $LUDIO_EVENT_API_HOST/event/signup