client_id and client_secret are obtained from Hatif's website as follows. Settings → API Connect → API Credentials.500 error since the client_secret would be exposed.curl --location 'https://api.voxa.sa/connect/token' \
--data-urlencode 'client_id=your-client-id' \
--data-urlencode 'client_secret=your-client-secret' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'scope=VoxaAPI'{
"access_token": "eyJh...",
"token_type": "Bearer",
"expires_in": 1295999
}