Create a custom app by using the OpenAPI Spec doc link
+ Add App
in the Custom Apps section of Cobalt, choose Create using OpenAPI Spec
.
Create
.
Authorization
in the App and choose the desired method.
The methods of Authorization are:
Key Based
Key Based
. It requires users to set up an API for generating access tokens.Select Key Auth type
Configure User Input Fields
Save
.Map Auth fields
Add Base URL
Setup Identifier and Validation
OAuth 2.0
OAuth 2.0
in the methods.Provide OAuth Credentials
Callback URL
in your developer OAuth 2.0 app.Add Authorization and Token URL
Client Authentication
type and Save
.Setup Refresh Mechanism and API Base URL
API Setup
section, provide the Base URL for the APIs and appropriate code i.e. Expired Access Token Codes which is received on token expiry for the Refresh mechanism to work.Extract Access Token & Refresh Token
Auth Tokens Data
section, you will provide the mapping using which the tokens can be extracted once received on callback on successful authorization.Usually an object is received after authorization which will be saved as access_token_response
on Cobalt’s end and you need to provide the key mapping of the required fields from the object.Setup Identifier
No Auth
New Action
button and provide a Name and Description.
Add any required or optional Fields for the API and add the API under API Call
section.