# Implementation of API on custom PHP framework

**URL:** https://forum.mautic.org/t/implementation-of-api-on-custom-php-framework/4310
**Category:** Product Support
**Created:** [June 6, 2016, 1:51pm UTC](https://forum.mautic.org/t/implementation-of-api-on-custom-php-framework/4310 "2016-06-06T13:51:43Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![shemale01](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@shemale01](https://forum.mautic.org/u/shemale01)
#### Post date: [June 6, 2016, 1:51pm UTC](https://forum.mautic.org/t/implementation-of-api-on-custom-php-framework/4310/1 "2016-06-06T13:51:43Z")

</div>

Hi,  
  
I try implement REST API and Mautic API on my app. I never saw the worst API, documentation for API is crazy - incomplete and deprecated calls etc.  
  
  
  
Example for Mautic API doesn’t work - for oAuth and oAuth2 too. I copied customer public and secret key from Mautic administration, fill in local Mautic URL, callback with API test script. Clicked on authorize button and nothing to happened.  
  
  
  
H.

---

<div class="post-metadata">

### Author: ![shemale01](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@shemale01](https://forum.mautic.org/u/shemale01)
#### Post date: [June 6, 2016, 1:51pm UTC](https://forum.mautic.org/t/implementation-of-api-on-custom-php-framework/4310/2 "2016-06-06T13:51:43Z")

</div>

Hi,  
I try implement REST API and Mautic API on my app. I never saw the worst API, documentation for API is crazy - incomplete and deprecated calls etc.

Example for Mautic API doesn’t work - for oAuth and oAuth2 too. I copied customer public and secret key from Mautic administration, fill in local Mautic URL, callback with API test script. Clicked on authorize button and nothing to happened.

H.
