When adding a new user through HTTP post, the api call returns 405 or 400

Hey team, here are the screen grabs when we try to add new users to the accessGroupId. The 400 example came from using the old product version of the HTTP post.

1 Like

Hi @brandbuildersgroup, thanks for reaching out! Generally, 405 errors pop up when someone who is not an owner or collaborator (i.e. does not have the necessary permissions) tries to perform this action. Can you double check that the person in question is an owner or collaborator? If the issue persists, it would be great to get some more information on the Workspace where this is happening!

The base URL seems incorrect, it should be the following:
https://api.pickaxe.co/v1

1 Like

When I click here I get: Pickaxe | Shopify for Agent-Powered Businesses. That’s in the settings → API documentation header of the web portal.

This response doesn’t make sense. The HTTP post is from system to system, in our case Keap to Pickaxe. Thank you for your reponse.

You’d need to POST to:
https://api.pickaxe.co/v1/studio/user/create
instead of
https://api.pickaxe.co/studio/user/create

1 Like

Hey team, still seeing errors. Is this an us thing where we can improve the implementation or a bug thing in the code with the new member access group Name/Value pair?

Note: we’ve had an HTTP post working since last October using the ProductId name value pair and it broke when we switched to accessGroupId.

Now please make sure you’re sending the POST request with an authorization header with the following value:

image

1 Like

TY. I can see what I wasn’t seeing :slight_smile: Appreciate the help each step along the way :slight_smile:

1 Like