curl --request POST \
--url https://api.notifique.dev/oauth/register \
--header 'Content-Type: application/json' \
--data '
{
"client_name": "Meu App",
"redirect_uris": [
"https://meuapp.com/oauth/callback"
],
"grant_types": [
"authorization_code",
"refresh_token"
],
"response_types": [
"code"
],
"token_endpoint_auth_method": "client_secret_basic",
"scope": "email:send"
}
'{
"client_id": "ntf_oauth_cl_abc123",
"client_secret": "ntf_oauth_cs_xyz789",
"client_name": "Meu App",
"redirect_uris": [
"https://meuapp.com/oauth/callback"
],
"grant_types": [
"authorization_code",
"refresh_token"
],
"response_types": [
"code"
],
"token_endpoint_auth_method": "client_secret_basic",
"scope": "email:send",
"client_id_issued_at": 1735689600
}OAuth
Registrar cliente (DCR)
Dynamic Client Registration (RFC 7591). Cria um cliente OAuth — pelo código ou antes do fluxo MCP. O client_secret só é retornado uma vez para clientes confidenciais.
POST
/
oauth
/
register
curl --request POST \
--url https://api.notifique.dev/oauth/register \
--header 'Content-Type: application/json' \
--data '
{
"client_name": "Meu App",
"redirect_uris": [
"https://meuapp.com/oauth/callback"
],
"grant_types": [
"authorization_code",
"refresh_token"
],
"response_types": [
"code"
],
"token_endpoint_auth_method": "client_secret_basic",
"scope": "email:send"
}
'{
"client_id": "ntf_oauth_cl_abc123",
"client_secret": "ntf_oauth_cs_xyz789",
"client_name": "Meu App",
"redirect_uris": [
"https://meuapp.com/oauth/callback"
],
"grant_types": [
"authorization_code",
"refresh_token"
],
"response_types": [
"code"
],
"token_endpoint_auth_method": "client_secret_basic",
"scope": "email:send",
"client_id_issued_at": 1735689600
}Corpo
application/json
Nome exibido na tela de consentimento.
URIs de callback permitidas.
Opções disponíveis:
client_secret_basic, none Escopos padrão do cliente, separados por espaço.
Esta página foi útil?

