Blink

Blink

    Register an OAuth application

    Registers a new OAuth application to your client account.

    HTTP MethodURL
    POSTbaseUrl/oauth/applications/register/

    Request headers

    Requires a valid login token.

        {
            "Authorization" : "Bearer" + token
        }     
    

    Request body

        {
            "name" : // Your OAuth application name  
            "redirectUris" : // A space separated string list of all your OAuth redirect URIs 
        }
    

    Success Response

    HTTP code: 200

    In case of success, it will return JSON containing your OAuth application configs.

    OAuth application config

        {
            "clientId" : // OAuth client id
            "clientSecret": // OAuth client secret
            "redirectUris": // A space separated string list of all your OAuth redirect URIs 
        }
    

    Error Response

        {
            "code" : // Error code  
            "message": // Error message
        }
    
    codemessage
    1903Invalid redirect uri
    1905Invalid application name
    1906Application name already exists
    1908There is already an application registered for this account
    • Request headers
    • Request body
    • Success Response
      • OAuth application config
    • Error Response
    Blink
    Docs
    Getting StartedPublic API
    Integration
    Donation
    Blink
    Copyright © 2021 Blink Ledger Systems Inc. All rights reserved