Picture

Authorization

Picture

Request Header

Name
Type
Required
Description
Ocp-Apim-Subscription-Key
String
Required

Content-Type
String
Required
Content type of request payload
Value:
- application/x-www-form-urlencoded

Request Body

Name
Type
Required
Description
client_id
String
Required
API client_id respective to each partner obtained from partner onboarding process
client_secret
String
Required
API client_secret obtained from partner onboarding process
grant_type
String
Required
client_credentials

Example Request

curl --location --request POST 'https://api.veniocrm.com/dev/authorization/Connect/Token' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Ocp-Apim-Subscription-Key: <Your Subscription-Key>' \
--data-urlencode 'client_id=' <Your client_id>\
--data-urlencode 'client_secret=' <Your client_id>\
--data-urlencode 'grant_type=client_credentials'
Download postman Collection

Response

Name
Type
Description
access_token
String

expires_in
Integer

token_type
Stirng

scope
String

Example Response

{
    "access_token": "<access_token>",
    "expires_in": 3600,
    "token_type": "Bearer"
}
© Copyright 2021 Gofive Co., Ltd. All right reserved.