Skip to main content
GET
/
api
/
storefront
/
customer
/
me
/
agent-consent
/
{user_code}
Get Consent Preview
curl --request GET \
  --url https://api.example.com/api/storefront/customer/me/agent-consent/{user_code} \
  --header 'X-Site-ID: <x-site-id>'
{
  "code_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "agent_name": "<string>",
  "requested_scopes": [
    "<string>"
  ],
  "requested_budget_cents": 123,
  "requested_allowed_categories": [
    "<string>"
  ],
  "requested_token_ttl_seconds": 123,
  "expires_at": "2023-11-07T05:31:56Z",
  "status": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.stella-commerce.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

authorization
string | null
X-Site-ID
string
required
X-Stella-Token
string | null

Path Parameters

user_code
string
required

Response

Successful Response

The shape the customer's consent-page UI renders before they decide. Contains everything an agent asked for; nothing secret.

code_id
string<uuid>
required
agent_name
string
required
requested_scopes
string[]
required
requested_budget_cents
integer
required
requested_allowed_categories
string[]
required
requested_token_ttl_seconds
integer
required
expires_at
string<date-time>
required
status
string
required