🌿
Laurel APIs
  • Introduction
  • Guides
    • Authentication
    • Building A Connector
    • Public Api Endpoints
  • Services
    • Identity
      • Oauth
      • Users
    • Ingestion
      • Clients
      • Codes
      • Initiatives
      • Validation Rules
    • Time
      • Clients
      • Code Types
      • Codes
      • Entries
      • Initiatives
      • Validation Rules
Powered by GitBook
On this page
  1. Services
  2. Identity

Oauth

PreviousIdentityNextUsers

Last updated 2 years ago

post
Authorizations
Body
client_idstringRequired
client_secretstringRequired

client's Auth0 secret

audiencestringRequired
grant_typestringRequired
Responses
200Success
application/json
post
POST /api/v1/oauth/token HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 81

{
  "client_id": "text",
  "client_secret": "text",
  "audience": "text",
  "grant_type": "text"
}
200Success
{
  "access_token": "text",
  "expires_in": 1,
  "token_type": "text"
}