AgriWebb API
API Reference

Authorisation Request

GET /oauth2/authorize

Begin an OAuth 2.0 Authorization Code Grant flow against the AgriWebb API.

GET
/oauth2/authorize

Query Parameters

client_idstring
Lengthlength <= 64
response_typestring
Value in"code"
organization?string
Lengthlength <= 64
state?string
Lengthlength <= 2048
scope?string
Lengthlength <= 2048
redirect_uri?string
Formaturi
Lengthlength <= 2048

Response Body

curl -X GET "https://auth.agriwebb.com/oauth2/authorize?client_id=string&response_type=code&organization=string&state=string&scope=string&redirect_uri=http%3A%2F%2Fexample.com"
Empty
{
  "error": "invalid_request",
  "error_description": "string",
  "error_uri": "string"
}
{
  "error": "invalid_request",
  "error_description": "string",
  "error_uri": "string"
}