talque
  • External integrations for talque
  • JSON API (readonly)
    • General
      • Locales and Text
    • Organization
      • Read
    • Lecture
      • List
      • Read
      • Files
      • Authorization
    • Speaker
      • List
      • Read
      • Authorization
    • Participants
    • Vendors
      • List
      • Read
      • Authorization
    • Room
      • List
      • Read
    • Enumerations
      • Locale
  • Deep links
    • General
    • Organization
    • Profile links
    • Lecture links
    • Partner links
    • Post links
    • Map links
    • Video rooms
  • Webhooks
    • General
    • Authentication
    • File upload
    • Users
    • Invites
    • Tickets
    • Vendors
      • Create
      • Update
      • Delete
    • COMING SOON: Announcements
    • COMING SOON: Lectures
    • Map Data
      • Map layer
      • Map features
      • Update references
  • COMING SOON: Chat Bots
  • Wordpress Plugin
    • Installation
    • Pages
    • Shortcodes
      • Filters
      • Optional settings
    • Routing
    • Configuration
  • Javascript plugin
    • Introduction
    • Installation
      • Initial page
      • Filters
      • Optional settings
    • Routing
    • Configuration
  • Single Sign-On
    • OAuth2 Login
    • Website data
    • OAuth2 Flow
      • Request an Authorization Code
      • Exchange for Access Token
      • Authorized Requests
  • SELF-SERVICE LINKS
    • Event Ticket Token
  • Old Wordpress Plugin
    • Download
    • Pages
    • Shortcodes
    • Filter Options
    • Style Options
  • Old Javascript Plugin
    • Introduction
    • Routing
    • Installation
  • Troubleshooting
    • Firewall Configuration
  • Talque Plugin
    • Download
    • Installation
    • Configuration
Powered by GitBook
On this page

Was this helpful?

  1. Single Sign-On
  2. OAuth2 Flow

Exchange for Access Token

Once you have obtained the authorization code, you need to convert it to a long-lived (30 days) access token.

Exchange Authorization Code for Access Token

POST https://www.talque.com/oauth2/access-token

Convert the short-lived authentication code into a long-lived access token. Note that the payload must be application/x-www-urlencoded encoded per the OAuth2 specs.

Request Body

Name
Type
Description

grant_type

string

This field should always be: "authorization_code"

code

string

The authorization code received in the first step

client_id

string

Your API client ID

client_secret

string

Your API client secret

{
    "access_token": "R7pLF7F4oqlWUNrDE9KZWU63eyrg9kSCi10rS0il00bw5ITPAeAJ3FLlDynlFQv0sNzjQjZh",
    "expires": 1542055758351,
}

PreviousRequest an Authorization CodeNextAuthorized Requests

Last updated 6 years ago

Was this helpful?