---
updatedAt: 2026-10-31T08:03:05.000Z
agentTools:
  projectIndex: https://developer.accelevents.com/llms.txt
---

# Update Lead Details

This API used to Update Lead Details of the specified event.
To call this API, user have to pass path param with API URL like eventUrl, id, leadId and request body params like leadDetail and authentication key to authenticate user.

## Response

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

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th>
        Attributes
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        type
      </td>

      <td>
        This field returns Type of api response. i.e Success or Fail.
      </td>
    </tr>

    <tr>
      <td>
        message
      </td>

      <td>
        This field returns message for response that can be use for display to end user.
      </td>
    </tr>
  </tbody>
</Table>

## Error Code

Here are the possible error messages that return if any condition fails or required data is missing for processing.

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th>
        Error Code
      </th>

      <th>
        Error Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        200
      </td>

      <td>
        Lead updated for event
      </td>
    </tr>

    <tr>
      <td>
        201
      </td>

      <td>
        Created
      </td>
    </tr>

    <tr>
      <td>
        401
      </td>

      <td>
        You are not authorized to view the resource.
      </td>
    </tr>

    <tr>
      <td>
        403
      </td>

      <td>
        Accessing the resource you were trying to reach is forbidden.
      </td>
    </tr>

    <tr>
      <td>
        404
      </td>

      <td>
        The resource you were trying to reach is not found.
      </td>
    </tr>

    <tr>
      <td>
        40600013
      </td>

      <td>
        Cant create url
      </td>
    </tr>

    <tr>
      <td>
        4040200
      </td>

      <td>
        Event Not Found
      </td>
    </tr>

    <tr>
      <td>
        4030201
      </td>

      <td>
        Not Event Host
      </td>
    </tr>

    <tr>
      <td>
        4060911
      </td>

      <td>
        Lead Not exists
      </td>
    </tr>

    <tr>
      <td>
        4069101
      </td>

      <td>
        Only 50 Characters are allowed in firstName
      </td>
    </tr>

    <tr>
      <td>
        4069102
      </td>

      <td>
        Only 50 Characters are allowed in lastName
      </td>
    </tr>

    <tr>
      <td>
        4069103
      </td>

      <td>
        Only 75 Characters are allowed in email
      </td>
    </tr>
  </tbody>
</Table>

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "accelevents",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.accelevents.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Key"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/rest/event/{eventUrl}/exhibitor/{id}/lead/{leadId}": {
      "put": {
        "summary": "Update Lead Details",
        "description": "This API used to Update Lead Details of the specified event.\nTo call this API, user have to pass path param with API URL like eventUrl, id, leadId and request body params like leadDetail and authentication key to authenticate user.",
        "operationId": "update-lead-details",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "This field contains exhibitor id",
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "required": true
          },
          {
            "name": "leadId",
            "in": "path",
            "description": "This field contains lead id to update lead details",
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "required": true
          },
          {
            "name": "eventUrl",
            "in": "path",
            "description": "Event url is unique identifier for your event. E.g https://www.accelevents.com/events/demo.",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "API Authentication Token",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "leadDetail": {
                    "type": "object",
                    "description": "This field contains lead details to update",
                    "properties": {
                      "leadId": {
                        "type": "integer",
                        "description": "This field contains lead id",
                        "format": "int64"
                      },
                      "retrieverUserId": {
                        "type": "integer",
                        "description": "This field contains retriever user id",
                        "format": "int64"
                      },
                      "createdOn": {
                        "type": "string",
                        "description": "This field contains date on which lead created",
                        "format": "date"
                      },
                      "scan": {
                        "type": "boolean",
                        "description": "This field returns boolean value for the scan."
                      },
                      "rating": {
                        "type": "string",
                        "description": "This field returns rating of lead."
                      },
                      "note": {
                        "type": "string",
                        "description": "This field returns note."
                      },
                      "owner": {
                        "type": "string",
                        "description": "This field returns lead owner."
                      },
                      "ownerStaffId": {
                        "type": "string",
                        "description": "This field returns lead owner staff id."
                      },
                      "leadData": {
                        "type": "object",
                        "description": "This field contains ticket holder details",
                        "properties": {
                          "eventTicketId": {
                            "type": "integer",
                            "description": "This field contains event ticket id",
                            "format": "int64"
                          },
                          "holderFirstName": {
                            "type": "string",
                            "description": "This field contains firstname of ticket holder"
                          },
                          "holderLastName": {
                            "type": "string",
                            "description": "This field contains lastname of ticket holder"
                          },
                          "holderEmail": {
                            "type": "string",
                            "description": "This field contains email of ticket holder"
                          },
                          "holderCountryCode": {
                            "type": "string",
                            "description": "This field contains country code of ticket holder"
                          },
                          "holderPhoneNumber": {
                            "type": "integer",
                            "description": "This field contains phone number of ticket holder",
                            "format": "int64"
                          },
                          "title": {
                            "type": "string",
                            "description": "This field contains title of ticket holder"
                          },
                          "company": {
                            "type": "string",
                            "description": "This field contains company name of ticket holder"
                          }
                        }
                      },
                      "source": {
                        "type": "string",
                        "description": "This field contains source of leads"
                      },
                      "userActivity": {
                        "type": "array",
                        "description": "It returns Exhibitors activity details.",
                        "items": {
                          "properties": {
                            "firstName": {
                              "type": "string",
                              "description": "This field returns the exhibitors activity first name."
                            },
                            "lastName": {
                              "type": "string",
                              "description": "This field returns the exhibitor activity last name."
                            },
                            "createdAt": {
                              "type": "string",
                              "description": "This field returns when leas was created.",
                              "format": "date"
                            },
                            "visited": {
                              "type": "string",
                              "description": "This field returns lead visit."
                            },
                            "documentName": {
                              "type": "string",
                              "description": "This field returns document names which lead has downloaded."
                            },
                            "documentLink": {
                              "type": "string",
                              "description": "This field returns document links which lead has visited."
                            }
                          },
                          "type": "object"
                        }
                      },
                      "attendeeId": {
                        "type": "string",
                        "description": "This field contains attendee id"
                      },
                      "location": {
                        "type": "string",
                        "description": "This field contains location of attendee"
                      },
                      "trackingData": {
                        "type": "array",
                        "description": "This field returns list of Tracking data.",
                        "items": {
                          "properties": {
                            "eventId": {
                              "type": "integer",
                              "description": "This field contains event id",
                              "format": "int64"
                            },
                            "userId": {
                              "type": "integer",
                              "description": "This field contains user id",
                              "format": "int64"
                            },
                            "expoId": {
                              "type": "integer",
                              "description": "This field contains exhibitor id",
                              "format": "int64"
                            },
                            "sessionId": {
                              "type": "integer",
                              "description": "This field contains session id",
                              "format": "int64"
                            },
                            "area": {
                              "type": "string",
                              "description": "This field returns area in gemification"
                            },
                            "gameType": {
                              "type": "string",
                              "description": "This field returns game type in gamification."
                            },
                            "timeInBooth": {
                              "type": "integer",
                              "description": "This field returns the time lead has spent in booth.",
                              "format": "int64"
                            },
                            "documentDownloads": {
                              "type": "array",
                              "description": "This field returns document names which lead has downloaded.",
                              "default": [],
                              "items": {
                                "type": "string"
                              }
                            },
                            "linkClicked": {
                              "type": "array",
                              "description": "This field returns document links which lead has visited.",
                              "default": [],
                              "items": {
                                "type": "string"
                              }
                            },
                            "videoPlayed": {
                              "type": "boolean",
                              "description": "This field returns boolean value for whether lead has played video in company profile page."
                            },
                            "chat": {
                              "type": "boolean",
                              "description": "This field returns boolean value for whether lead has chat in booth."
                            },
                            "date": {
                              "type": "string",
                              "description": "This field returns the date when lead visited booth.",
                              "format": "date"
                            },
                            "totalPoints": {
                              "type": "integer",
                              "description": "This field returns total points of lead in gamification.",
                              "format": "int64"
                            },
                            "totalVisit": {
                              "type": "integer",
                              "description": "This field returns total visits of lead to booth.",
                              "format": "int64"
                            },
                            "challengeId": {
                              "type": "integer",
                              "description": "This field returns challenge id which lead has visited.",
                              "format": "int64"
                            },
                            "joinMeeting": {
                              "type": "array",
                              "description": "This field returns list of meetings lead has joined.",
                              "default": [],
                              "items": {
                                "type": "string"
                              }
                            },
                            "productView": {
                              "type": "array",
                              "description": "This field returns list of products lead has viewed.",
                              "default": [],
                              "items": {
                                "type": "string"
                              }
                            },
                            "videoDuration": {
                              "type": "integer",
                              "description": "This field returns the time duration in which video is played by lead.",
                              "format": "int64"
                            },
                            "ticketTypeIds": {
                              "type": "array",
                              "description": "This field returns ticket type ids of lead .",
                              "default": [],
                              "items": {
                                "type": "integer",
                                "format": "int64"
                              }
                            },
                            "matchUsers": {
                              "type": "array",
                              "description": "This field returns the list of matched users of lead.",
                              "default": [],
                              "items": {
                                "type": "integer",
                                "format": "int64"
                              }
                            },
                            "connectedUsers": {
                              "type": "array",
                              "description": "This field returns the list of connected users of lead.",
                              "default": [],
                              "items": {
                                "type": "integer",
                                "format": "int64"
                              }
                            },
                            "visitToTheBooth": {
                              "type": "boolean",
                              "description": "This field returns boolean value for whether lead has visited the booth."
                            },
                            "requestMeeting": {
                              "type": "boolean",
                              "description": "This field returns boolean value for whether lead has requested a demo meeting."
                            },
                            "videoPointsSet": {
                              "type": "boolean",
                              "description": "This field returns boolean value for whether video point is set."
                            },
                            "recordingVideoPointsSet": {
                              "type": "boolean",
                              "description": "This field returns boolean value for whether recording video point is set."
                            },
                            "timeInBoothPointsSet": {
                              "type": "boolean",
                              "description": "This field returns boolean value for whether time in booth is set."
                            },
                            "ticketPurchase": {
                              "type": "boolean",
                              "description": "This field returns boolean value for whether lead has purchased ticket."
                            },
                            "eventCheckIn": {
                              "type": "boolean",
                              "description": "This field returns boolean value for whether lead has checked in event."
                            },
                            "matchPoints": {
                              "type": "integer",
                              "description": "This field returns the match points of lead in gamification.",
                              "format": "int64"
                            },
                            "connectionPoints": {
                              "type": "integer",
                              "description": "This field returns the connection points of lead.",
                              "format": "int64"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "additionalInteractions": {
                        "type": "array",
                        "description": "This field returns additional interactions with leads",
                        "items": {
                          "type": "string"
                        }
                      },
                      "acceptDirectMessages": {
                        "type": "boolean",
                        "description": "This field contains boolean value for whether to accept direct messages from lead"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"message\": \"string\",\n  \"type\": \"string\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "example": "string"
                    },
                    "type": {
                      "type": "string",
                      "example": "string"
                    }
                  }
                }
              }
            }
          },
          "201": {
            "description": "201",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "Created"
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "You are not authorized to view the resource."
                  }
                }
              }
            }
          },
          "403": {
            "description": "403",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "Accessing the resource you were trying to reach is forbidden."
                  }
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "The resource you were trying to reach is not found."
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```