# Error in API

**URL:** <https://community.quickfile.co.uk/t/error-in-api/21829>\
**Category:** Support\
**Created:** [6 July 2018 10:36 UTC](https://community.quickfile.co.uk/t/error-in-api/21829 "2018-07-06T10:36:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![QFMathew](https://qfcommunity.b-cdn.net/user_avatar/community.quickfile.co.uk/qfmathew/32/12493_2.png) [@QFMathew](https://community.quickfile.co.uk/u/QFMathew)\
**Post date:** [6 July 2018 10:42 UTC](https://community.quickfile.co.uk/t/error-in-api/21829/2 "2018-07-06T10:42:13Z")

</div>

Hello @ansar

What’s the exact error you are receiving?

There was a general PHP example posted some time ago using the XML endpoint that may help:

> [@New endpoint for the API - No more SOAP!](https://community.quickfile.co.uk/t/new-endpoint-for-the-api-no-more-soap/524/2):
>
> PHP Example An example using cURL. This will simply show the first client from your account. $url = 'https://api.quickfile.co.uk/xml'; $accountNo = '1234567890'; $appID = 'abc-12345-def'; $subNo = '12345678abcd'; $apiKey = 'ABC-DEF-GHI'; $data = '\<Client\_Search xmlns="http://www.QuickFile.co.uk" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.QuickFile.co.uk http://www.quickfile.co.uk/WebServices/API/Schemas/invoices/Client\_Sear…

---

_[View the full topic](https://community.quickfile.co.uk/t/error-in-api/21829)._
