🔑Authentication

Get Auth Token

Request to get authorize to use Arkangel AI API

POST https://arkprod.us.auth0.com/oauth/token

Below in the "Responses" section you will find most common responses our API generates.

Headers

Name
Type
Description

content-type

String

application/json

{
    // Response
}

Example request

import requests
import json

url = "https://arkprod.us.auth0.com/oauth/token"

payload = json.dumps({
  "client_id": "{{CLIENT_ID}}",
  "client_secret": "{{CLIENT_SECRET}}",
  "audience": "{{AUDIENCE}}",
  "grant_type": "client_credentials"
})
headers = {

}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

Last updated