Skip to main content
GET
Handle Coinbase OAuth redirect

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

environmentId
string
required

ID of the environment

Required string length: 36
Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Example:

"95b11417-f18f-457f-8804-68e361f9164f"

Query Parameters

code
string

Valid oauth code

Pattern: ^[a-zA-Z0-9_\.\-\/\\%*!+=$]{5,4096}$
Example:

"4/0AVHEtk436ug4uWwZN9i2PDpxGTVnLr63IqTNFzTInHce1q2JHQyOCJut9IK2SCZh4JaoSA"

scope
string
state
string

Temporary auth state generated by the SDK; native mobile apps may append _client-redirect:

Maximum string length: 1200
Pattern: ^[A-Za-z0-9_-]{1,64}(_client-redirect:[A-Za-z0-9_:/?&=%.@#!$'()*+,;~\[\]-]{0,1024})?$
Example:

"aB3cD9fG0hJkLmN0pQrStUvWxYz_12-"

authuser
string
Maximum string length: 255
Pattern: ^[a-zA-Z0-9 _.,:!?&%@\/'-]*$
prompt
string
Maximum string length: 255
Pattern: ^[a-zA-Z0-9 _.,:!?&%@\/'-]*$
error
string

Valid oauth error

Pattern: ^[a-zA-Z_\-]{5,100}$
Example:

"access_denied"

Response

Success

The response is of type string.

Last modified on July 24, 2026