src/Apps.php
public function add(array $data)
    {
        $data = $this->resolverFactory->createAppResolver()->resolve($data);

        return $this->api->request('POST', '/apps', [
            'Authorization' => 'Basic '.$this->api->getConfig()->getUserAuthKey(),
        ], json_encode($data));
    }
public function add(array $data)
    {
        $data = $this->resolverFactory->createAppResolver()->resolve($data);

        return $this->api->request('POST', '/apps', [
            'Authorization' => 'Basic '.$this->api->getConfig()->getUserAuthKey(),
        ], json_encode($data));
    }
public function add ( array $ data ) { $ data = $ this -> resolverFactory -> createAppResolver ( ) -> resolve ( $ data ) ; return $ this -> api -> request ( 'POST' , '/apps' , [ 'Authorization' => 'Basic ' . $ this -> api -> getConfig ( ) -> getUserAuthKey ( ) , ] , json_encode ( $ data ) ) ; }
Create a new application with provided data.

User authentication key must be set.

@param array $data Application data

@return array
Create a new application with provided data .