OAuth2 callback — verifies state, exchanges the code, seals the tokens
GET
/api/v1/connections/oauth/callback
const url = 'https://example.com/api/v1/connections/oauth/callback?state=example&code=example&error=example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/v1/connections/oauth/callback?state=example&code=example&error=example'Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”state
required
string
code
required
string
error
required
string