Create lead using source

this API is used to create leads using sources like visit, auto-generated, document download.
when a user performs certain action according to it used to create a lead.
when user visit boot,download document,visit link that time this API is used

Error Code

Here are the possible error messages, which return if any condition gets failed or required data is missing for processing.

Error CodeError Description
4060908Lead retriever allowed is not enabled for this exhibitor
4069101Only 50 Characters are allowed in firstName
4069102Only 50 Characters are allowed in lastName
4069103Only 75 Characters are allowed in email
4060909You have already used your ticket
4060923Exhibitor already exists
400The request could not be understood by the server due to malformed syntax.
401You are not authorized to view the resource.
403Accessing the resource you were trying to reach is forbidden.
404The resource you were trying to reach is not found.
Click Try It! to start a request and see the response here!