Oauth Register
import requests
url = "https://app.ubik-agent.com/api/v1/oauth/register"
payload = {
"client_name": "<string>",
"redirect_uris": ["<string>"],
"token_endpoint_auth_method": "none",
"grant_types": ["<string>"],
"response_types": ["<string>"]
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
client_name: '<string>',
redirect_uris: ['<string>'],
token_endpoint_auth_method: 'none',
grant_types: ['<string>'],
response_types: ['<string>']
})
};
fetch('https://app.ubik-agent.com/api/v1/oauth/register', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://app.ubik-agent.com/api/v1/oauth/register \
--header 'Content-Type: application/json' \
--data '
{
"client_name": "<string>",
"redirect_uris": [
"<string>"
],
"token_endpoint_auth_method": "none",
"grant_types": [
"<string>"
],
"response_types": [
"<string>"
]
}
'{
"client_id": "<string>",
"client_id_issued_at": 123,
"redirect_uris": [
"<string>"
],
"client_secret": null,
"client_name": "<string>",
"token_endpoint_auth_method": "none",
"grant_types": [
"<string>"
],
"response_types": [
"<string>"
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Oauth Register
POST
/
oauth
/
register
Oauth Register
import requests
url = "https://app.ubik-agent.com/api/v1/oauth/register"
payload = {
"client_name": "<string>",
"redirect_uris": ["<string>"],
"token_endpoint_auth_method": "none",
"grant_types": ["<string>"],
"response_types": ["<string>"]
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
client_name: '<string>',
redirect_uris: ['<string>'],
token_endpoint_auth_method: 'none',
grant_types: ['<string>'],
response_types: ['<string>']
})
};
fetch('https://app.ubik-agent.com/api/v1/oauth/register', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://app.ubik-agent.com/api/v1/oauth/register \
--header 'Content-Type: application/json' \
--data '
{
"client_name": "<string>",
"redirect_uris": [
"<string>"
],
"token_endpoint_auth_method": "none",
"grant_types": [
"<string>"
],
"response_types": [
"<string>"
]
}
'{
"client_id": "<string>",
"client_id_issued_at": 123,
"redirect_uris": [
"<string>"
],
"client_secret": null,
"client_name": "<string>",
"token_endpoint_auth_method": "none",
"grant_types": [
"<string>"
],
"response_types": [
"<string>"
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Body
application/json
Was this page helpful?
⌘I

