OAuth Apps
Create OAuth App
OAuth Apps
Create OAuth App
Create an OAuth App
curl --request POST \
--url https://app.vessel.dev/api/auth/oauth-apps/create \
--header 'x-vessel-api-token: <x-vessel-api-token>' \
--data '{
"clientId": "<clientid>",
"clientSecret": "<clientsecret>",
"integrationId": "<integrationid>"
}'
curl --request POST \
--url https://app.vessel.dev/api/auth/oauth-apps/create \
--header 'Content-Type: application/json' \
--header 'x-vessel-api-token: ' \
--data '{
"integrationId": "apollo",
"clientId": "123123123",
"clientSecret": "123123123",
"scopes": [
"read",
"write"
]
}'
Authorizations
x-vessel-api-token[header]required
string
Body
clientIdrequired
string
clientSecretrequired
string
integrationIdrequired
string
scopes
string[]
Response
oauthApp
object
OAuthApp
curl --request POST \
--url https://app.vessel.dev/api/auth/oauth-apps/create \
--header 'Content-Type: application/json' \
--header 'x-vessel-api-token: ' \
--data '{
"integrationId": "apollo",
"clientId": "123123123",
"clientSecret": "123123123",
"scopes": [
"read",
"write"
]
}'