List shopper agent grants
Page through agent grants issued for the calling app and environment, oldest first. Pass the returned next_cursor as cursor to read the next page; credentials are never returned. Requires an API key with agents:manage.
GET
/
v1
/
agent-grants
List shopper agent grants
curl --request GET \
--url https://sandbox.ignite-checkout.ai/v1/agent-grants \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.ignite-checkout.ai/v1/agent-grants"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.ignite-checkout.ai/v1/agent-grants', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox.ignite-checkout.ai/v1/agent-grants';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox.ignite-checkout.ai/v1/agent-grants"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"items": [
{
"app_id": "app_01M8P0A3C5E7G9J1K3M5N7P9Q1",
"environment": "sandbox",
"expires_at": "2026-11-30T10:00:00+00:00",
"id": "agt_01M8P0D2F4H6K8M0N2Q4S6V8X0",
"oauth_client_id": "partner-shopping-agent",
"oauth_subject": "auth-subject-1042",
"scopes": [
"cart:write",
"catalog:read",
"checkout:write",
"orders:read"
],
"shopper_ref": "shopper-1042",
"status": "active"
}
],
"next_cursor": "agt_01M8P0D2F4H6K8M0N2Q4S6V8X0"
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
],
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}Authorizations
MachineKeyCustomerOIDC
Query Parameters
⌘I
List shopper agent grants
curl --request GET \
--url https://sandbox.ignite-checkout.ai/v1/agent-grants \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.ignite-checkout.ai/v1/agent-grants"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.ignite-checkout.ai/v1/agent-grants', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox.ignite-checkout.ai/v1/agent-grants';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox.ignite-checkout.ai/v1/agent-grants"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"items": [
{
"app_id": "app_01M8P0A3C5E7G9J1K3M5N7P9Q1",
"environment": "sandbox",
"expires_at": "2026-11-30T10:00:00+00:00",
"id": "agt_01M8P0D2F4H6K8M0N2Q4S6V8X0",
"oauth_client_id": "partner-shopping-agent",
"oauth_subject": "auth-subject-1042",
"scopes": [
"cart:write",
"catalog:read",
"checkout:write",
"orders:read"
],
"shopper_ref": "shopper-1042",
"status": "active"
}
],
"next_cursor": "agt_01M8P0D2F4H6K8M0N2Q4S6V8X0"
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
],
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}