Skip to navigation

List your news

Partner key only. Your news to your restaurants, newest first, without the text, with limit (1–50, default 25) and cursor (nextCursor from the previous page). Bound to the key’s environment: a TEST key only sees news whose recipients are all sandboxes (not audienceAll); a LIVE key sees all news that is not bound to TEST. No role needed.

Authentication

AuthorizationBearer

The partner key (lbp_test_… or lbp_live_…), sent as Authorization: Bearer lbp_… and created in LettBestilt Partner under Partner key. It belongs to the whole partner, not to a restaurant, and only works against /api/v1/partner. Server to server only: a request with an Origin header is rejected with 403 FORBIDDEN, and the key must never be in a browser. A TEST key sees and creates only sandboxes; LIVE keys work once LettBestilt Partner is open. A suspended or archived partner, a revoked key and a restaurant key (lbs_…) here give 401 UNAUTHORIZED; an expired key gives 401 KEY_EXPIRED.

Query parameters

limitintegerOptional1-50Defaults to 25
cursorstringOptional

nextCursor from the previous page.

Response

One page.
datalist of objects
nextCursorstring or null

Send it as cursor for the next page. null = last page.

Errors

401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error
429
Too Many Requests Error