Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated outdated affinitylive.com links

...

 

 

Code Block
linenumberstrue
https://hq.api.affinityliveaccelo.com/oauth2/v0/authorize?
scope=read(all)&
state=page_two&
redirect_uri=https://app.com/oauth_callback&
response_type=code&
client_id=34ad67fa2f@hq.affinitylive.com

 

...

 

 

Code Block
linenumberstrue
POST /oauth2/v0/token HTTP/1.1
Host: hq.api.affinityliveaccelo.com
Content-Type: application/x-www-form-urlencoded
Authorization: Basic {client_id}:{client_secret}
 
code=frLA0s1m_D&
 
redirect_uri=https://app.com/oauth_callback&
grant_type=authorization_code

 

...

 

Code Block
GET https://hq.api.affinityliveaccelo.com/api/v0/companies/1?_bearer_token=frLA0s1m_D

 

...

 

Code Block
linenumberstrue
GET /api/v0/companies/1 HTTP/1.1
Host: hq.api.affinityliveaccelo.com
Authorization: Bearer frLA0s1m_D

 

...