Buzz: Questions & Answers

Allow students to create own account

Follow
Answered
Bridget Alford
Where do I find Buzz API command? I read the following article on how to create a command token to allow students to create their own account and enroll into a course. I'm not clear on how to create the token. I have Admin access. https://support.agilix.com/hc/en-us/articles/205974425-how-do-i-enable-a-user-to-create-their-own-account

Comments (3)

Sort by
Brian Williams
  • Agilix team member

Hi Bridget!

That is an excellent question! The link to the API document to create command tokens is found here: CreateCommandTokens

0 Comment actions Permalink
Bridget Alford

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

0 Comment actions Permalink
Brian Williams
  • Agilix team member

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.  

0 Comment actions Permalink
Please sign in to leave a comment.