Create lead by logged-in user

This API used to Create lead by logged-in user with the specified event.
To call this API, user have to pass path param with API URL like exhibitorId, eventUrl, query params like isRequestedDemo, staffId and authentication key to authenticate user.

Response

Here is the description of response attributes, which returns to the form of JSON Array.

AttributesDescription
stringThis field returns a success message.

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
200Lead generated
201Created
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
4040200Event Not Found
4040508This user has not bought any tickets yet.
4040027Exhibitor not found
4060916Not allow to auto generate lead by event host
4060908Lead retriver allowed is not enabled for this exhibitor
4060909You have already used your ticket
Language
Authentication
Header
Click Try It! to start a request and see the response here!