For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get a single resource by ID

Parameter order matches route binding: {id} is a URL segment (comes first), resource is a route default (appended after URL params). Swapping the order to (int $id, string $resource) ensures Laravel's positional dispatch aligns with the reflection parameter list after the FormRequest is injected.

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idintegerRequired
Query parameters
includestring · max: 255Optional
Responses
200Success
application/json
objectOptional
get/lots/{id}
GET /your-tenant/api/v1/lots/{id} HTTP/1.1
Host: plan.claret.app
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{}

Last updated

Was this helpful?