# \_export

Export Customers Details.

### Parameters

#### pass

This is the password assigned for exporting cutomers.

### Example

```
FM_api('Customers_export', ['pass' => 'password']);
```

### Result

#### On Success

```
"id,Name,Industry,"Street Address 1","Street Address 2",County,Town,city,Postcode,Email,Contact_Number,Contact_Name,Mobile,Notes,Type,Department,Callback,"Account Manager",Appointments,"Account Number",Parent,Contracts,"Date Created",Latitude,Longitude
1,Fieldmotion,,"75 Belfast road",,Down,,Newry,"BT34 1QH",fm@gmail.com,02841753979,Gary,,,,,,,1,,,,"2018-09-19 12:04:39",54.2026,-6.32947
2,Tesco,,"18 water street",,Down,,Newry,"BT34 6DB",tesco@gmail.com,02841753979,Gary,,,,,,,1,,,,"2018-09-19 12:04:39",54.2026,-6.32947
3,The Cafe,,"50 Miltown st",,Down,,Newry,"BT34 9GW",thecafe@gmail.com,02841753979,Gary,,,,,,,1,,,,"2018-09-19 12:04:39",54.2026,-6.32947
```

#### On Failure

```
"Incorrect Password. returning in 5 seconds. <script>setTimeout(function(){document.location="/client/#pageCustomers";}, 5000);</script>"
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fieldmotion.com/fieldmotion-api-docs/customers/_export.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
