πAuthorization
This page describes how to authenticate your requests to Groups API
curl --location --request POST 'https://<DOMAIN>/connect/token' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'username=<EMAIL>' \
--data-urlencode 'password=<PASSWORD>' \
--data-urlencode 'client_id=api' \
--data-urlencode 'grant_type=password' \
--data-urlencode 'account_id=<ACCOUNT_ID>'{
"access_token": "<ACCESS_TOKEN>",
"expires_in": 36000,
"token_type": "Bearer",
"scope": "api"
}pip install perculus-sdkfrom perculus_sdk.client import APIClient# API client
client = APIClient()
# Set your domain
client.set_domain("<DOMAIN>")
# Set your credentials
client.set_credentials(
access_key="<EMAIL>",
secret_key="<PASSWORD>",
account_id="<ACCOUNT_ID>"
)Last updated