Get a token
1
Open the API page
Log in to SnapWidget and open the API page.
2
Create the token
Under Create a token, enter a token name, for example the name of your website, and click Create Token.
3
Copy the token
Copy the token at once. You do not see it again.
Make a call
Send the token in theAuthorization header. Every address starts with https://snapwidget.com/api/v1.
Content-Type: application/json.
Errors
An error answer has amessage that says what went wrong:
401: the token is missing, wrong, expired or revoked.403: the token has no API access, or your plan does not allow the change. A plan error also hasupgrade_url.404: the widget, account or other item is not in your account.422: an input is not valid.errorsgives the message for each input.429: too many calls. TheRetry-Afterheader gives the seconds to wait.
Limits
You can make up to 600 calls a minute. Some calls have lower limits, for example the Google business search and the review sync.Sign-up for AI agents
An agent can make a new account with no browser: see Sign up with no browser. That token works with the MCP server. For the API, create a token on the API page.OpenAPI file
The API is also in an OpenAPI file:https://snapwidget.com/api/v1/openapi.json. Import it into your API tool, or make a client for your code from it.