API Reference
Authorisation Request
GET /oauth2/authorize
Begin an OAuth 2.0 Authorization Code Grant flow against the AgriWebb API.
Query Parameters
client_idstring
Length
length <= 64
response_typestring
Value in
"code"
organization?string
Length
length <= 64
state?string
Length
length <= 2048
scope?string
Length
length <= 2048
redirect_uri?string
Format
uri
Length
length <= 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"
}