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

# Send Connection Request To User

This API is Used to send the connection request to specific Users from a List of People from the event.
Using this API you can make new connections with other people.
To call this API you will make sure that the user is part of the event otherwise, it will return an error.
To call this API, you need to pass <<glossary:eventurl>>, user id, and <<glossary:authorisation token>> in the request API.
For the <<glossary:authorisation token>>, you need to call login API.

Here is the description of response fields.

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th style={{ textAlign: "left" }}>
        Field
      </th>

      <th style={{ textAlign: "left" }}>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td style={{ textAlign: "left" }}>
        type
      </td>

      <td style={{ textAlign: "left" }}>
        It contains a type of message.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        message
      </td>

      <td style={{ textAlign: "left" }}>
        It contains a response message.
      </td>
    </tr>
  </tbody>
</Table>

Here is the description of the error codes.

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

      <th>
        Error Code
      </th>

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

  <tbody>
    <tr>
      <td>
        401
      </td>

      <td>
        4010101
      </td>

      <td>
        Not authorized to access.
      </td>
    </tr>

    <tr>
      <td>
        404
      </td>

      <td>
        4040200
      </td>

      <td>
        Event not found.
      </td>
    </tr>

    <tr>
      <td>
        406
      </td>

      <td>
        4068009
      </td>

      <td>
        Super admin can not connect without purchasing event ticket.
      </td>
    </tr>

    <tr>
      <td>
        406
      </td>

      <td>
        4068003
      </td>

      <td>
        Attendee already connected.
      </td>
    </tr>

    <tr>
      <td>
        406
      </td>

      <td>
        4068005
      </td>

      <td>
        Attendee can not connect to self.
      </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}/attendee/${id}/connect": {
      "put": {
        "summary": "Send Connection Request To User",
        "description": "This API is Used to send the connection request to specific Users from a List of People from the event.\nUsing this API you can make new connections with other people.\nTo call this API you will make sure that the user is part of the event otherwise, it will return an error.\nTo call this API, you need to pass <<glossary:eventurl>>, user id, and <<glossary:authorisation token>> in the request API.\nFor the <<glossary:authorisation token>>, you need to call login API.",
        "operationId": "send-connection-request",
        "parameters": [
          {
            "name": "eventUrl",
            "in": "path",
            "description": "Event url is unique identifier for your event. E.g https://www.accelevents.com/events/demo. Here demo is the event url.",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "id",
            "in": "path",
            "description": "This id of user, It is unique id for every users",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Your API Key is being sent in the header of the request.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"type\": \"Success\",\n  \"message\": \"Attendee Connected\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "example": "Success"
                    },
                    "message": {
                      "type": "string",
                      "example": "Attendee Connected"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"errorMessage\": \"Not authorized\",\n  \"errorCode\": \"4010101\",\n  \"developerMessage\": \"Not authorize to access\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "errorMessage": {
                      "type": "string",
                      "example": "Not authorized"
                    },
                    "errorCode": {
                      "type": "string",
                      "example": "4010101"
                    },
                    "developerMessage": {
                      "type": "string",
                      "example": "Not authorize to access"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "application/json": {
                "examples": {
                  "Event not found": {
                    "value": "{\n  \"errorMessage\": \"Event Not Found\",\n  \"errorCode\": \"4040200\",\n  \"developerMessage\": \"No Event could be found\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "errorMessage": {
                      "type": "string",
                      "example": "Event Not Found"
                    },
                    "errorCode": {
                      "type": "string",
                      "example": "4040200"
                    },
                    "developerMessage": {
                      "type": "string",
                      "example": "No Event could be found"
                    }
                  }
                }
              }
            }
          },
          "406": {
            "description": "406",
            "content": {
              "application/json": {
                "examples": {
                  "Attendee already connected": {
                    "value": "{\n  \"errorMessage\": \"Attendee already connected.\",\n  \"errorCode\": \"4068003\",\n  \"developerMessage\": \"Attendee already connected\"\n}"
                  },
                  "Attendee can not connect to self": {
                    "value": "{\n  \"errorMessage\": \"Attendee can not connect to self.\",\n  \"errorCode\": \"4068005\",\n  \"developerMessage\": \"Attendee can not connect to self.\"\n}"
                  },
                  "Result": {
                    "value": "{\n  \"errorMessage\": \"Super admin can not connect without purchasing event ticket.\",\n  \"errorCode\": \"4068009\",\n  \"developerMessage\": \"Super admin can not connect without purchasing event ticket.\"\n}"
                  }
                },
                "schema": {
                  "oneOf": [
                    {
                      "title": "Attendee already connected",
                      "type": "object",
                      "properties": {
                        "errorMessage": {
                          "type": "string",
                          "example": "Attendee already connected."
                        },
                        "errorCode": {
                          "type": "string",
                          "example": "4068003"
                        },
                        "developerMessage": {
                          "type": "string",
                          "example": "Attendee already connected"
                        }
                      }
                    },
                    {
                      "title": "Attendee can not connect to self",
                      "type": "object",
                      "properties": {
                        "errorMessage": {
                          "type": "string",
                          "example": "Attendee can not connect to self."
                        },
                        "errorCode": {
                          "type": "string",
                          "example": "4068005"
                        },
                        "developerMessage": {
                          "type": "string",
                          "example": "Attendee can not connect to self."
                        }
                      }
                    },
                    {
                      "type": "object",
                      "properties": {
                        "errorMessage": {
                          "type": "string",
                          "example": "Super admin can not connect without purchasing event ticket."
                        },
                        "errorCode": {
                          "type": "string",
                          "example": "4068009"
                        },
                        "developerMessage": {
                          "type": "string",
                          "example": "Super admin can not connect without purchasing event ticket."
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```