OAuth

Home / Solutions / OAuth

OAuth

ZiMovi uses OAuth to provide authorized access to its APIs.

  • Secure – Users are not required to share their passwords with 3rd party applications, increasing account security.
  • Standard – A wealth of client libraries and example code are compatible with ZiMovi’s OAuth implementation.

Grant Type: Authorization Code

Step 1: Authorization Code Link

https://zimovi.com/oauth/authorize?response_type=code&client_id={client_id}&state={state}&scope=public_profile%20read_actions%20publish_actions%20insights

Step 2: User Authorizes Application

Step 3: Application Receives Authorization Code

{callback_url}?code={authentication_code}&state={state}

Step 4: Application Requests Access Token

https://zimovi.com/oauth/token?client_id={client_id}&client_secret={client_secret}&grant_type=authorization_code&code={authorization_code}

Step 5: Application Receives Access Token

{"access_token":"4cb64367280360b46946ada01a1c16b455bd06f2","expires_in":3600,"token_type":"Bearer","scope":"public_profile read_actions","refresh_token":"0e82867h493a125172594cff1aff7cc0a777eb0c"}

Step 6: Refresh Token Flow

https://zimovi.com/oauth/token?client_id={client_id}&client_secret={client_secret}&grant_type=refresh_token&refresh_token={refresh_token}

Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.

Not readable? Change text. captcha txt