curl --request POST \
--url https://api.example.com/api/v1/oauth-apps \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"redirect_uris": [
"<string>"
],
"scopes": [
"<string>"
]
}
'{
"app": {
"client_id": "<string>",
"client_secret_hint": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"id": "<string>",
"is_active": true,
"name": "<string>",
"organization_id": "<string>",
"redirect_uris": [
"<string>"
],
"scopes": [
"<string>"
],
"updated_at": "2023-11-07T05:31:56Z"
},
"client_secret": "<string>"
}Register a new OAuth application. Returns the app with its client secret (only shown once).
curl --request POST \
--url https://api.example.com/api/v1/oauth-apps \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"redirect_uris": [
"<string>"
],
"scopes": [
"<string>"
]
}
'{
"app": {
"client_id": "<string>",
"client_secret_hint": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"id": "<string>",
"is_active": true,
"name": "<string>",
"organization_id": "<string>",
"redirect_uris": [
"<string>"
],
"scopes": [
"<string>"
],
"updated_at": "2023-11-07T05:31:56Z"
},
"client_secret": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.