API Documentation
User
Integration Account
Integration Definition
OAuth
Create OAuth
POST
/
v1
/
integration_oauth
curl --request POST \
--url http://localhost:8000/api/v1/integration_oauth \
--header 'Content-Type: application/json' \
--data '{
"integrationDefinitionId": "<string>",
"clientId": "<string>",
"clientSecret": "<string>",
"scopes": "<string>",
"integrationOAuthAppName": "<string>",
"workspaceId": "0a58f56e-3f59-4f4e-a8e1-a9e47aae5c3c"
}'
{
"integrationOAuthAppId": "<string>",
"integrationOAuthAppName": "<string>",
"integrationDefinitionId": "<string>",
"clientId": "<string>",
"clientSecret": "<string>",
"scopes": "<string>",
"workspaceId": "<string>",
"deleted": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
Body
application/json
Response
201
application/json
The response is of type object
.
curl --request POST \
--url http://localhost:8000/api/v1/integration_oauth \
--header 'Content-Type: application/json' \
--data '{
"integrationDefinitionId": "<string>",
"clientId": "<string>",
"clientSecret": "<string>",
"scopes": "<string>",
"integrationOAuthAppName": "<string>",
"workspaceId": "0a58f56e-3f59-4f4e-a8e1-a9e47aae5c3c"
}'
{
"integrationOAuthAppId": "<string>",
"integrationOAuthAppName": "<string>",
"integrationDefinitionId": "<string>",
"clientId": "<string>",
"clientSecret": "<string>",
"scopes": "<string>",
"workspaceId": "<string>",
"deleted": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}