AgriWebb API
Marketplace PartnersPartner API Reference

Callback Endpoint

Partner endpoint implementation required

AgriWebb redirects the user to your Redirect URL once they approve or deny the Authorisation Request. An invalid Authorisation Request never reaches it.

  • If the user approved the request, the Redirect URL is called with code, and state if you sent one.
  • If the user denied the request, the Redirect URL is called with error set to access_denied, and state if you sent one.

Query Parameters

code?string

The Authorisation Code

error?string

access_denied when the user denied the request, as defined in section 4.1.2.1 of the OAuth 2.0 specification

error_description?string

An optional error description

error_uri?string

An optional uri to find out more about the error

state?string

An optional state parameter provided by the partner in the initial Authorisation Request

Response Body

Redirect the user back to the redirectURL returned by the Marketplace Callback.