Skip to main content
GET
/
v2
/
loyalty
/
programs
Get Loyalty Programs
curl --request GET \
  --url https://api.loyalty.dog/v2/loyalty/programs \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "5eb7cf5a86d9755df3a6c593",
    "name": "<string>",
    "shareUrl": "<string>"
  }
]

Authorizations

Authorization
string
header
required

JWT access token obtained from POST /v2/token.

Headers

authorization
string | null

Response

Successful Response

id
string
required
Required string length: 24
Pattern: ^[0-9a-f]{24}$
Example:

"5eb7cf5a86d9755df3a6c593"

name
string
required
shareUrl
string | null
required