> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.propexo.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.propexo.com/_mcp/server.

# Create Applicant Event: Entrata

POST https://api.propexo.com/v1/events/applicants/entrata/
Content-Type: application/json

Create an event for an applicant in Entrata. Entrata expects all times to be in Mountain Time (UTC-7:00 or UTC-6:00 depending on daylight savings). Times will be automatically converted based on the local time of the property when an end user views the event time in the browser.| Method            |
| ----------------- |
| leads/updateLeads |Due to PMS limitations, the ID of the created record cannot be retrieved. This will be found on the next data sync.

Reference: https://docs.propexo.com/api-reference/entrata/events/create-applicant-event-entrata

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Servers

- `https://api.propexo.com` (Production, default)
- `https://api.sandbox.propexo.com` (Sandbox)

## Request

### Body (application/json)

This endpoint expects a _v1_events_applicants_entrata__post_input.

- `integration_id` (string, required) — The Propexo unique identifier for the integration
- `applicant_id` (string, required) — The Propexo unique identifier for the applicant
- `application_id` (string, required) — The Propexo unique identifier for the application
- `event_type_id` (string, required) — The Propexo unique identifier for the event type. Not all event types are currently supported. Contact Propexo support if there's an event type you'd like supported.
- `event_datetime` (string, required) — The date when the event will occur
- `event_result_id` (string, optional) — The Propexo unique identifier for the event result
- `event_sub_type_id` (string, optional) — The Propexo unique identifier for the event sub type
- `employee_id` (string, optional) — The Propexo unique identifier for the employee
- `unit_id` (string, optional) — The Propexo unique identifier for the unit
- `reasons_for_event` (string, optional) — The reasons for the event
- `notes` (string, optional) — Notes associated with the event
- `appointment_datetime` (string, optional) — The date when the appointment will occur
- `time_from` (string, optional)
- `time_to` (string, optional)
- `title` (string, optional) — The title associated with the event
- `call_phone_number_from` (string, optional) — The phone number that the call was made from. Required for call event types.
- `call_phone_number_to` (string, optional) — The phone number that the call was received on. Required for call event types.
- `call_status` (enum, optional) — The status of the call. Required for call event types.
  - Allowed values: `BUSY`, `ABANDONED`, `DISCONNECTED`, `FAILURE_TO_CONNECT`, `NO_ANSWER`, `ANSWER`, `VOICEMAIL`
- `call_duration` (integer, optional) — The duration of the call in seconds. Required for call event types.
- `call_audio_link` (string, optional) — The URL of the audio file for the call. This can be any valid URL and doesn't necessarily need to link to a audio file. Required for call event types.
- `email_body` (string, optional) — The body of the email.
- `email_subject` (string, optional) — The subject of the email.
- `email_from` (string, optional) — The email address that the email was sent from. Required for email outgoing event types.
- `email_to` (string, optional) — The email address that the email was sent to. If specified, this must be the same email address as the lead's primary email address
- `email_cc` (string, optional) — The carbon copy email address that the email was sent to.
- `email_bcc` (string, optional) — The blind carbon copy email address that the email was sent to.
- `email_send` (boolean, optional) — Whether the email should be sent.

## Response

### 200

Successful response

- `meta` (V1EventsApplicantsEntrataPostOutputMeta, required)
- `result` (V1EventsApplicantsEntrataPostOutputResult, required)

## Errors

### 400 Bad Request Error

Bad Request

- `error` (ErrorResponseError, required)

## Types

### V1EventsApplicantsEntrataPostOutputMeta

- `job_id` (string, required)

### V1EventsApplicantsEntrataPostOutputResult

- `integration_id` (string, required) — The Propexo unique identifier for the integration
- `applicant_id` (string, required) — The Propexo unique identifier for the applicant
- `application_id` (string, required) — The Propexo unique identifier for the application
- `event_type_id` (string, required) — The Propexo unique identifier for the event type. Not all event types are currently supported. Contact Propexo support if there's an event type you'd like supported.
- `event_result_id` (string, required, nullable) — The Propexo unique identifier for the event result
- `event_sub_type_id` (string, required, nullable) — The Propexo unique identifier for the event sub type
- `employee_id` (string, required, nullable) — The Propexo unique identifier for the employee
- `unit_id` (string, required, nullable) — The Propexo unique identifier for the unit
- `event_datetime` (string, required) — The date when the event will occur
- `reasons_for_event` (string, required, nullable) — The reasons for the event
- `notes` (string, required, nullable) — Notes associated with the event
- `appointment_datetime` (string, required, nullable) — The date when the appointment will occur
- `time_from` (string, required, nullable) — The time that the appointment will start. HH:MM:SS format. Required if using appointment type.
- `time_to` (string, required, nullable) — The time that the appointment will end. HH:MM:SS format. Required if using appointment type.
- `title` (string, required, nullable) — The title associated with the event
- `call_phone_number_from` (string, required, nullable) — The phone number that the call was made from. Required for call event types.
- `call_phone_number_to` (string, required, nullable) — The phone number that the call was received on. Required for call event types.
- `call_status` (enum, required) — The status of the call. Required for call event types.
  - Allowed values: `BUSY`, `ABANDONED`, `DISCONNECTED`, `FAILURE_TO_CONNECT`, `NO_ANSWER`, `ANSWER`, `VOICEMAIL`
- `call_duration` (integer, required, nullable) — The duration of the call in seconds. Required for call event types.
- `call_audio_link` (string, required, nullable) — The URL of the audio file for the call. This can be any valid URL and doesn't necessarily need to link to a audio file. Required for call event types.
- `email_body` (string, required, nullable) — The body of the email.
- `email_subject` (string, required, nullable) — The subject of the email.
- `email_from` (string, required, nullable) — The email address that the email was sent from. Required for email outgoing event types.
- `email_to` (string, required, nullable) — The email address that the email was sent to. If specified, this must be the same email address as the lead's primary email address
- `email_cc` (string, required, nullable) — The carbon copy email address that the email was sent to.
- `email_bcc` (string, required, nullable) — The blind carbon copy email address that the email was sent to.
- `email_send` (boolean, required, nullable) — Whether the email should be sent.

### ErrorResponseError

- `code` (string, required)
- `message` (string, required)
- `details` (map from string to any, optional)

## Examples

**Request**

```json
{
  "integration_id": "int-987654321",
  "applicant_id": "app-123456789",
  "application_id": "appl-456789123",
  "event_type_id": "evt-202401",
  "event_datetime": "2024-01-15T09:30:00-07:00"
}
```

**Response**

```json
{
  "meta": {
    "job_id": "job-20240115-001"
  },
  "result": {
    "integration_id": "int-987654321",
    "applicant_id": "app-123456789",
    "application_id": "appl-456789123",
    "event_type_id": "evt-202401",
    "event_result_id": "res-789456123",
    "event_sub_type_id": "subevt-321654987",
    "employee_id": "emp-654321987",
    "unit_id": "unit-1122334455",
    "event_datetime": "2024-01-15T09:30:00-07:00",
    "reasons_for_event": "Applicant scheduled a property tour",
    "notes": "Tour scheduled with leasing agent John Doe",
    "appointment_datetime": "2024-01-15T10:00:00-07:00",
    "time_from": "10:00:00",
    "time_to": "10:30:00",
    "title": "Property Tour Appointment",
    "call_phone_number_from": "+14035551234",
    "call_phone_number_to": "+14035559876",
    "call_status": "BUSY",
    "call_duration": 180,
    "call_audio_link": "https://recordings.example.com/call12345.mp3",
    "email_body": "Dear Applicant, your tour is confirmed for January 15th at 10 AM.",
    "email_subject": "Tour Confirmation - 123 Main St",
    "email_from": "leasing@apartments.com",
    "email_to": "applicant@example.com",
    "email_cc": "manager@apartments.com",
    "email_bcc": "audit@apartments.com",
    "email_send": true
  }
}
```

**SDK Code**

```python
import requests

url = "https://api.propexo.com/v1/events/applicants/entrata/"

payload = {
    "integration_id": "int-987654321",
    "applicant_id": "app-123456789",
    "application_id": "appl-456789123",
    "event_type_id": "evt-202401",
    "event_datetime": "2024-01-15T09:30:00-07:00"
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.propexo.com/v1/events/applicants/entrata/';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"integration_id":"int-987654321","applicant_id":"app-123456789","application_id":"appl-456789123","event_type_id":"evt-202401","event_datetime":"2024-01-15T09:30:00-07:00"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.propexo.com/v1/events/applicants/entrata/"

	payload := strings.NewReader("{\n  \"integration_id\": \"int-987654321\",\n  \"applicant_id\": \"app-123456789\",\n  \"application_id\": \"appl-456789123\",\n  \"event_type_id\": \"evt-202401\",\n  \"event_datetime\": \"2024-01-15T09:30:00-07:00\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.propexo.com/v1/events/applicants/entrata/")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"integration_id\": \"int-987654321\",\n  \"applicant_id\": \"app-123456789\",\n  \"application_id\": \"appl-456789123\",\n  \"event_type_id\": \"evt-202401\",\n  \"event_datetime\": \"2024-01-15T09:30:00-07:00\"\n}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.propexo.com/v1/events/applicants/entrata/")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"integration_id\": \"int-987654321\",\n  \"applicant_id\": \"app-123456789\",\n  \"application_id\": \"appl-456789123\",\n  \"event_type_id\": \"evt-202401\",\n  \"event_datetime\": \"2024-01-15T09:30:00-07:00\"\n}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.propexo.com/v1/events/applicants/entrata/', [
  'body' => '{
  "integration_id": "int-987654321",
  "applicant_id": "app-123456789",
  "application_id": "appl-456789123",
  "event_type_id": "evt-202401",
  "event_datetime": "2024-01-15T09:30:00-07:00"
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.propexo.com/v1/events/applicants/entrata/");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"integration_id\": \"int-987654321\",\n  \"applicant_id\": \"app-123456789\",\n  \"application_id\": \"appl-456789123\",\n  \"event_type_id\": \"evt-202401\",\n  \"event_datetime\": \"2024-01-15T09:30:00-07:00\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "integration_id": "int-987654321",
  "applicant_id": "app-123456789",
  "application_id": "appl-456789123",
  "event_type_id": "evt-202401",
  "event_datetime": "2024-01-15T09:30:00-07:00"
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.propexo.com/v1/events/applicants/entrata/")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```