Datasembly
Datasembly API specification.
Auth ¶
This section describes the current Datasembly authentication approach using Auth0. If your organization is still using legacy authentication see the exports section.
Resource ¶
POST/oauth/token
Example URI
POST https://auth.datasembly.com/oauth/token
Request
Headers
Content-Type: application/jsonBody
{
"client_id": "ID",
"client_secret": "SECRET",
"audience": "https://app.datasembly.com/",
"grant_type": "client_credentials"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"client_id": {
"description": "The organization client ID provided to you by Datasembly",
"type": "string"
},
"client_secret": {
"description": "The organization client secret provided to you by Datasembly",
"type": "string"
},
"audience": {
"description": "Only one allowed value, as shown in the example.",
"type": "string",
"enum": [
"https://app.datasembly.com/"
]
},
"grant_type": {
"description": "Only one allowed value, as shown in the example.",
"type": "string",
"enum": [
"client_credentials"
]
}
},
"required": [
"client_id",
"client_secret",
"audience",
"grant_type"
]
}Response
200Headers
content-type: application/jsonBody
{
"access_token": "TOKEN",
"scope": "read:exports",
"expires_in": 86400,
"token_type": "Bearer"
}