Buzz API

Buzz API Authentication Issue JSON

Barry Blackinton

I am trying to send a callout to the Buzz API and I'm getting tripped up with an authentication error. I can login successfully, and then when I try to call a command with the token, it errors out with a NoAuthentication error. Here's some sample JSON after logging in:

   "requests": {
        "user": [
                "username": "test3",
                "password": "test4",
                "firstname": "test",
                "lastname": "test2",
                "email": "",
                "domainid": "exampleId"
        "token": "example",
        "cmd": "createusers2"



With an actual domainId and token, it doesn't allow me authentication. What am I doing wrong here?

Comments (2)

Sort by
Brian Collins

I don't know that you can't do it the way you're trying but... I always send the JSON as just the user data and send the rest of the data as the query.  I treat the query string as data about the call, and the body about the data being created or modified.



1 Comment actions Permalink
Barry Blackinton

That worked, thank you!

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