# Luxury Presence

> Manage agents, offices and teams and browse MLS boards and media.

App · 20 actions. Web page: https://docs.lodol.com/docs/integrations/luxury-presence

## Actions

### Create a team

Create a team.

**Inputs**

- Do not allow duplicates (`do_not_allow_duplicates`, true/false): If true, teams can not have the same email address
- Email (`email`, text, required): The team email
- Name (`name`, text, required): The team name
- External source (`external_source`, text): The team external source
- External ID (`external_id`, text): The team external id
- Phone number (`phone_number`, text): The team phone number
- Secondary number (`secondary_number`, text): The team secondary phone number
- Seo title (`seo_title`, text): The team SEO title
- Seo desc (`seo_desc`, text): The team SEO description
- Bio short description (`bio_short_description`, text): The team short bio
- Bio long description (`bio_long_description`, text): The team long bio
- Avatar url (`avatar_url`, text): An image URL containing the team avatar
- Avatar ID (`avatar_id`, text): Internal Luxury Presence media reference ID. This field is for reference/tracking purposes only and is not a direct link to the media.
- Website url (`website_url`, text): The team website URL
- Tags (`tags`, list): Tag or array of tags for later filtering on website
- Slug (`slug`, text): The team slug. Will be used as path for the details page

**Outputs**

- `data` (object): The response from Luxury Presence.

**Example output**

```json
{
  "data": {
    "address": null,
    "avatarId": "example",
    "avatarUrl": "example",
    "bioLongDescription": "example",
    "bioShortDescription": "example",
    "email": "example",
    "externalId": "example",
    "externalSource": "example",
    "mediaId": "example",
    "name": "example",
    "phoneNumber": "example",
    "secondaryNumber": "example",
    "seoDesc": "example",
    "seoTitle": "example",
    "slug": "example",
    "tags": [],
    "teamId": "example",
    "websiteUrl": "example"
  }
}
```

### Create an agent

Create an agent.

**Inputs**

- Do not allow duplicates (`do_not_allow_duplicates`, true/false): If true, agents can not have the same license number or email address
- Email (`email`, text, required): The agent email
- First name (`first_name`, text, required): The agent first name
- Last name (`last_name`, text, required): The agent last name
- Phone number (`phone_number`, text): The agent phone number
- Secondary number (`secondary_number`, text): The agent secondary phone number
- Avatar url (`avatar_url`, text): An image URL containing the agent avatar
- Avatar ID (`avatar_id`, text): Internal Luxury Presence media reference ID. This field is for reference/tracking purposes only and is not a direct link to the media.
- Secondary avatar url (`secondary_avatar_url`, text): An image URL containing the agent secondary avatar
- Secondary avatar ID (`secondary_avatar_id`, text): Internal Luxury Presence media reference ID. This field is for reference/tracking purposes only and is not a direct link to the media.
- Video ID (`video_id`, text): Internal Luxury Presence media reference ID. This field is for reference/tracking purposes only and is not a direct link to the media.
- Video url (`video_url`, text): A URL containing the agent video
- Position (`position`, text): The agent position
- Is lead agent (`is_lead_agent`, true/false): Whether or not to mark agent as lead agent
- Bio long description (`bio_long_description`, text): The agent long bio
- Bio short description (`bio_short_description`, text): The agent short bio
- Website url (`website_url`, text): The agent's personal website URL
- Seo title (`seo_title`, text): The agent SEO title
- Seo description (`seo_description`, text): The agent SEO description
- License (`license`, text): The agent license
- Mls IDs (`mls_ids`, list): Deprecated: use mlsAuthorizations. Array of the agent's MLS IDs. These are stored on the agent but do not create MLS connections. Each mlsId sent in mlsAuthorizations is added here automatically.
- Slug (`slug`, text): The agent slug. Will be used as path for the details page
- Tags (`tags`, list): Tag or array of tags for later filtering on website
- Offices (`offices`, list): agent office or array of agent offices
- External source (`external_source`, text): The agent external source
- External ID (`external_id`, text): The agent external id
- Mls authorizations (`mls_authorizations`, list): MLS authorizations to create for this agent (max 25). If any entry fails, the request fails and no agent is returned; check mlsAuthorizationResults for the outcome of each entry.

**Outputs**

- `data` (object): The response from Luxury Presence.

**Example output**

```json
{
  "data": {
    "address": null,
    "agentId": "example",
    "avatarId": "example",
    "avatarUrl": "example",
    "bioLongDescription": "example",
    "bioShortDescription": "example",
    "email": "example",
    "externalId": "example",
    "externalSource": "example",
    "firstName": "example",
    "isLeadAgent": false,
    "lastName": "example",
    "license": "example",
    "mediaId": "example",
    "mlsAgentId": "example",
    "mlsIds": [],
    "offices": [],
    "phoneNumber": "example",
    "position": "example",
    "secondaryAvatarId": "example",
    "secondaryAvatarUrl": "example",
    "secondaryMediaId": "example",
    "secondaryNumber": "example",
    "seoDescription": "example",
    "seoTitle": "example",
    "slug": "example",
    "tags": [],
    "videoId": "example",
    "videoUrl": "example",
    "websiteUrl": "example"
  }
}
```

### Create an office

Create an office.

**Inputs**

- Name (`name`, text, required): The office name
- Media ID (`media_id`, text): Internal Luxury Presence media reference ID. This field is for reference/tracking purposes only and is not a direct link to the media.
- Media url (`media_url`, text): An image URL containing the office media
- Tags (`tags`, object): Tag or array of tags for later filtering on website
- Slug (`slug`, text): The office slug. Will be used as path for the details page
- Office mls ID (`office_mls_id`, list): The office MLS ID or an array of office MLS IDs
- Short description (`short_description`, text): The office short description
- Full description (`full_description`, text): The office long description
- Phone number (`phone_number`, text): The office phone number
- Email (`email`, text): The office email address
- Seo title (`seo_title`, text): The office SEO title
- Seo description (`seo_description`, text): The office SEO description
- External source (`external_source`, text): The office external source
- External ID (`external_id`, text): The office external ID

**Outputs**

- `data` (object): The response from Luxury Presence.

**Example output**

```json
{
  "data": {
    "address": null,
    "email": "example",
    "externalId": "example",
    "externalSource": "example",
    "fullDescription": "example",
    "mediaId": [],
    "mediaIds": [],
    "name": "example",
    "officeId": "example",
    "officeMlsId": [],
    "phoneNumber": "example",
    "seoDescription": "example",
    "seoTitle": "example",
    "shortDescription": "example",
    "slug": "example",
    "tags": []
  }
}
```

### Delete a team

Delete a team.

**Inputs**

- Team (`presence_team_id`, text, required): The ID of the team to delete

**Outputs**

- `data` (object): The response from Luxury Presence.

**Example output**

```json
{
  "data": {}
}
```

### Delete an agent

Delete an agent.

**Inputs**

- Action (`operation`, text): Defaults to 'unassign' (listings stay live but are unassigned from the agent). 'archive' archives the associated listings. Any other value, including an empty string, is rejected before any lookup happens. One of: `archive`, `unassign`.
- Agent (`agent_id`, text, required): The ID of the agent to delete

**Outputs**

- `data` (object): The response from Luxury Presence.

**Example output**

```json
{
  "data": {}
}
```

### Delete an office

Delete an office.

**Inputs**

- Office (`office_id`, text, required): The ID of the office to delete

**Outputs**

- `data` (object): The response from Luxury Presence.

**Example output**

```json
{
  "data": {}
}
```

### Get a team

Get a team.

**Inputs**

- Team (`presence_team_id`, text, required): The ID of the team to fetch

**Outputs**

- `data` (object): The response from Luxury Presence.

**Example output**

```json
{
  "data": {
    "address": null,
    "avatarId": "example",
    "avatarUrl": "example",
    "bioLongDescription": "example",
    "bioShortDescription": "example",
    "email": "example",
    "externalId": "example",
    "externalSource": "example",
    "mediaId": "example",
    "name": "example",
    "phoneNumber": "example",
    "secondaryNumber": "example",
    "seoDesc": "example",
    "seoTitle": "example",
    "slug": "example",
    "tags": [],
    "teamId": "example",
    "websiteUrl": "example"
  }
}
```

### Get an agent

Get an agent.

**Inputs**

- Agent (`agent_id`, text, required): The ID of the agent to fetch

**Outputs**

- `data` (object): The response from Luxury Presence.

**Example output**

```json
{
  "data": {
    "address": null,
    "agentId": "example",
    "avatarId": "example",
    "avatarUrl": "example",
    "bioLongDescription": "example",
    "bioShortDescription": "example",
    "email": "example",
    "externalId": "example",
    "externalSource": "example",
    "firstName": "example",
    "isLeadAgent": false,
    "lastName": "example",
    "license": "example",
    "mediaId": "example",
    "mlsAgentId": "example",
    "mlsAuthorizations": [],
    "mlsIds": [],
    "offices": [],
    "phoneNumber": "example",
    "position": "example",
    "secondaryAvatarId": "example",
    "secondaryAvatarUrl": "example",
    "secondaryMediaId": "example",
    "secondaryNumber": "example",
    "seoDescription": "example",
    "seoTitle": "example",
    "slug": "example",
    "tags": [],
    "videoId": "example",
    "videoUrl": "example",
    "websiteUrl": "example"
  }
}
```

### Get an office

Get an office.

**Inputs**

- Office (`office_id`, text, required): The ID of the office to fetch

**Outputs**

- `data` (object): The response from Luxury Presence.

**Example output**

```json
{
  "data": {
    "address": null,
    "email": "example",
    "externalId": "example",
    "externalSource": "example",
    "fullDescription": "example",
    "mediaId": [],
    "mediaIds": [],
    "name": "example",
    "officeId": "example",
    "officeMlsId": [],
    "phoneNumber": "example",
    "seoDescription": "example",
    "seoTitle": "example",
    "shortDescription": "example",
    "slug": "example",
    "tags": []
  }
}
```

### Get media

Get media.

**Inputs**

- Media ID (`media_id`, text, required): The UUID of the media record to fetch

**Outputs**

- `data` (object): The response from Luxury Presence.

**Example output**

```json
{
  "data": {
    "alt": "example",
    "description": "example",
    "format": "example",
    "height": 1.0,
    "largeUrl": "example",
    "mediaId": "example",
    "mediumUrl": "example",
    "originalUrl": "example",
    "resourceType": "example",
    "smallUrl": "example",
    "thumbnailUrl": "example",
    "url": "example",
    "width": 1.0,
    "xLargeUrl": "example",
    "xxLargeUrl": "example"
  }
}
```

### List agents

List agents.

**Inputs**

- Offset (`offset`, number): The number of items to skip
- Limit (`limit`, number): The number of items to fetch
- Tags (`tags`, list): Filter agents by tags
- Tags mode (`tags_mode`, text): Mode to use for tags filters (default is ANY). One of: `ANY`, `ALL`, `NOT`, `NOT_ALL` (Not all).
- External source (`external_source`, text): Filter agents by external source
- External IDs (`external_ids`, list): Filter agents by external IDs
- Search (`search`, text): Search agents by name or email
- Emails (`emails`, list): Filter agents by email addresses (exact match)

**Outputs**

- `data` (object): The response from Luxury Presence.

**Example output**

```json
{
  "data": {
    "count": 1.0,
    "items": []
  }
}
```

### List MLS boards

List MLS boards.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Luxury Presence.

**Example output**

```json
{
  "data": {}
}
```

### List office members

List office members.

**Inputs**

- Offset (`offset`, number): The number of items to skip
- Limit (`limit`, number): The number of items to fetch
- Id (`id`, text, required): The ID of the office

**Outputs**

- `data` (object): The response from Luxury Presence.

**Example output**

```json
{
  "data": {}
}
```

### List offices

List offices.

**Inputs**

- Offset (`offset`, number): The number of items to skip
- Limit (`limit`, number): The number of items to fetch
- External source (`external_source`, text): The external source of the office
- External IDs (`external_ids`, list): The external IDs of the offices
- Search (`search`, text): The search query

**Outputs**

- `data` (object): The response from Luxury Presence.

**Example output**

```json
{
  "data": {
    "count": 1.0,
    "items": []
  }
}
```

### List team members

List team members.

**Inputs**

- Offset (`offset`, number): The number of items to skip
- Limit (`limit`, number): The number of items to fetch
- Id (`id`, text, required): The ID of the team

**Outputs**

- `data` (object): The response from Luxury Presence.

**Example output**

```json
{
  "data": {}
}
```

### List teams

List teams.

**Inputs**

- Offset (`offset`, number): The number of items to skip
- Limit (`limit`, number): The number of items to fetch
- External IDs (`external_ids`, list): The external IDs of the teams
- External source (`external_source`, text): The external source of the teams
- Search (`search`, text): Allows filtering teams by name or email.

**Outputs**

- `data` (object): The response from Luxury Presence.

**Example output**

```json
{
  "data": {
    "count": 1.0,
    "items": []
  }
}
```

### List webhook subscriptions

List webhook subscriptions.

**Inputs**: None.

**Outputs**

- `data` (list): The response from Luxury Presence.

**Example output**

```json
{
  "data": []
}
```

### Update a team

Update a team.

**Inputs**

- Team (`presence_team_id`, text, required): The ID of the team to update
- Do not allow duplicates (`do_not_allow_duplicates`, true/false): If true, teams can not have the same email address
- Email (`email`, text): The team email
- Name (`name`, text): The team name
- Phone number (`phone_number`, text): The team phone number
- Secondary number (`secondary_number`, text): The team secondary phone number
- Seo title (`seo_title`, text): The team SEO title
- Seo desc (`seo_desc`, text): The team SEO description
- Bio short description (`bio_short_description`, text): The team short bio
- Bio long description (`bio_long_description`, text): The team long bio
- Avatar url (`avatar_url`, text): An image URL containing the team avatar
- Avatar ID (`avatar_id`, text): Internal Luxury Presence media reference ID. This field is for reference/tracking purposes only and is not a direct link to the media.
- Website url (`website_url`, text): The team website URL
- Tags (`tags`, list): Tag or array of tags for later filtering on website
- Slug (`slug`, text): The team slug. Will be used as path for the details page
- External source (`external_source`, text): The team external source
- External ID (`external_id`, text): The team external id

**Outputs**

- `data` (object): The response from Luxury Presence.

**Example output**

```json
{
  "data": {
    "address": null,
    "avatarId": "example",
    "avatarUrl": "example",
    "bioLongDescription": "example",
    "bioShortDescription": "example",
    "email": "example",
    "externalId": "example",
    "externalSource": "example",
    "mediaId": "example",
    "name": "example",
    "phoneNumber": "example",
    "secondaryNumber": "example",
    "seoDesc": "example",
    "seoTitle": "example",
    "slug": "example",
    "tags": [],
    "teamId": "example",
    "websiteUrl": "example"
  }
}
```

### Update an agent

Update an agent.

**Inputs**

- Do not allow duplicates (`do_not_allow_duplicates`, true/false): If true, agents can not have the same license number or email address
- Agent (`agent_id`, text, required): The ID of the agent to update
- Email (`email`, text): The agent email
- First name (`first_name`, text): The agent first name
- Last name (`last_name`, text): The agent last name
- Display order (`display_order`, number): The agent display order
- Phone number (`phone_number`, text): The agent phone number
- Secondary number (`secondary_number`, text): The agent secondary phone number
- Avatar url (`avatar_url`, text): An image URL containing the agent avatar
- Avatar ID (`avatar_id`, text): Internal Luxury Presence media reference ID. This field is for reference/tracking purposes only and is not a direct link to the media.
- Secondary avatar url (`secondary_avatar_url`, text): An image URL containing the agent secondary avatar
- Secondary avatar ID (`secondary_avatar_id`, text): Internal Luxury Presence media reference ID. This field is for reference/tracking purposes only and is not a direct link to the media.
- Video ID (`video_id`, text): Internal Luxury Presence media reference ID. This field is for reference/tracking purposes only and is not a direct link to the media.
- Video url (`video_url`, text): A URL containing the agent video
- Position (`position`, text): The agent position
- Is lead agent (`is_lead_agent`, true/false): Whether or not to mark agent as lead agent
- Network agent (`network_agent`, true/false): Whether or not to mark agent as network agent
- Bio long description (`bio_long_description`, text): The agent long bio
- Bio short description (`bio_short_description`, text): The agent short bio
- Website url (`website_url`, text): The agent's personal website URL
- Seo title (`seo_title`, text): The agent SEO title
- Seo description (`seo_description`, text): The agent SEO description
- License (`license`, text): The agent license
- Mls IDs (`mls_ids`, list): Deprecated: use mlsAuthorizations. Array of the agent's MLS IDs. These are stored on the agent but do not create MLS connections. Each mlsId sent in mlsAuthorizations is added here automatically.
- Slug (`slug`, text): The agent slug. Will be used as path for the details page
- Tags (`tags`, list): Tag or array of tags for later filtering on website
- Offices (`offices`, list): office id or array of office ids
- External source (`external_source`, text): The agent external source
- External ID (`external_id`, text): The agent external id
- Mls authorizations (`mls_authorizations`, list): New MLS authorizations to add to this agent (max 25). Existing authorizations are kept, so send only new ones. Each entry is processed independently; check mlsAuthorizationResults for the outcome of each entry.

**Outputs**

- `data` (object): The response from Luxury Presence.

**Example output**

```json
{
  "data": {
    "address": null,
    "agentId": "example",
    "avatarId": "example",
    "avatarUrl": "example",
    "bioLongDescription": "example",
    "bioShortDescription": "example",
    "email": "example",
    "externalId": "example",
    "externalSource": "example",
    "firstName": "example",
    "isLeadAgent": false,
    "lastName": "example",
    "license": "example",
    "mediaId": "example",
    "mlsAgentId": "example",
    "mlsIds": [],
    "offices": [],
    "phoneNumber": "example",
    "position": "example",
    "secondaryAvatarId": "example",
    "secondaryAvatarUrl": "example",
    "secondaryMediaId": "example",
    "secondaryNumber": "example",
    "seoDescription": "example",
    "seoTitle": "example",
    "slug": "example",
    "tags": [],
    "videoId": "example",
    "videoUrl": "example",
    "websiteUrl": "example"
  }
}
```

### Update an office

Update an office.

**Inputs**

- Office (`office_id`, text, required): The ID of the office to update
- Name (`name`, text): The office name
- Media ID (`media_id`, list): Internal Luxury Presence media reference ID(s). This field is for reference/tracking purposes only and is not a direct link to the media.
- Media url (`media_url`, text): An image URL containing the office media
- Tags (`tags`, list): Tag or array of tags for later filtering on website
- Slug (`slug`, text): The office slug. Will be used as path for the details page
- Office mls ID (`office_mls_id`, list): The office MLS ID or an array of office MLS IDs
- Short description (`short_description`, text): The office short description
- Full description (`full_description`, text): The office long description
- Phone number (`phone_number`, text): The office phone number
- Email (`email`, text): The office email address
- Seo title (`seo_title`, text): The office SEO title
- Seo description (`seo_description`, text): The office SEO description

**Outputs**

- `data` (object): The response from Luxury Presence.

**Example output**

```json
{
  "data": {
    "address": null,
    "email": "example",
    "externalId": "example",
    "externalSource": "example",
    "fullDescription": "example",
    "mediaId": [],
    "mediaIds": [],
    "name": "example",
    "officeId": "example",
    "officeMlsId": [],
    "phoneNumber": "example",
    "seoDescription": "example",
    "seoTitle": "example",
    "shortDescription": "example",
    "slug": "example",
    "tags": []
  }
}
```
