One thing that I can see that stands out is that the caller selected to use JSON for both API settings in the console instead of XML which is what the post data is formatted in. The bad request message means the API settings is not setup correctly or something is not configured correctly in the user supplied code.
If you need additional API support, I recommend having your authorized support contact submit a ticket to Agilix Support.
Comments (3)
Hi Bridget!
That is an excellent question! The link to the API document to create command tokens is found here: CreateCommandTokens
Hi Brian,
I was trying to use the following code from the Agilix Buzz API console.
https://api.agilixbuzz.com/apiconsole
I was replacing the 'userspace' with the userspace from my buzz domain.
<requests>
<commandtoken scopeentityid="//userspace" description="Create account" allowunauthenticatedredemption="true" codelength="6">
<action>
<request cmd="createusers2">
<requests>
<user username="$email$" password="$password$" firstname="$first$" lastname="$last$" email="$email$" domainid="//userspace"></user>
</requests>
</request>
</action>
</commandtoken>
</requests>
All I generate is a Unknown API command
One thing that I can see that stands out is that the caller selected to use JSON for both API settings in the console instead of XML which is what the post data is formatted in. The bad request message means the API settings is not setup correctly or something is not configured correctly in the user supplied code.
If you need additional API support, I recommend having your authorized support contact submit a ticket to Agilix Support.