Access Token

How to get the Access Token after the login process and how to use it

Obtaining Investor Access

The next step is to get the token for the issuer. Use the v1/{domainID}/oauth2/authorize endpoint, like:

curl -X POST "{baseUrl}" -H "accept: application/json" -H "Authorization: {secret}" -H "Content-Type: application/json" -d "{ \"code\": \"{code}\"}"

Parameter

Description

{domainID}

Your application client id provided by Securitize

authorization

Your application secret provided by Securitize

code

The Code you received in the previous set

Investor Authorization

POST https://sec-id-api.securitize.io/v1/{clientId}/oauth2/authorize

Used to exchange provided code for accessToken

Path Parameters

Name
Type
Description

clientId

string

Your application Client Id provided by Securitize

Headers

Name
Type
Description

authorization

string

Your application secret provided by Securitize

Request Body

Name
Type
Description

code

string

Code provided from Authentication flow on users browser

JavaScript Example:

Last updated

Was this helpful?