Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Connect to API

<?php

$this->_config = array(
    'authorize_endpoint'=> 'https://api.actionstep.com/api/oauth/authorize',
    'token_endpoint'    => 'https://api.actionstep.com/api/oauth/token',
    'client_id'         => {YOUR CLIENT_ID},
    'client_secret'     => {YOUR CLIENT_SECRET},
    'redirect_uri'      => {URI YOU WANT ACTIONSTEP TO REDIRECT THE USER TO ONCE AUTHORIZED},
    'scope'            	=> {THE SCOPE YOU ARE REQUESTING ACCESS TO (COMMA SEPARATED LIST OF RESOURCES - i.e. Actions,Participants,Timerecords)},
    'cookies'   		=> array()
);
 
ApiClient::authorize($this->_config);
  • No labels