---
updatedAt: 2026-06-23T08:14:20.000Z
agentTools:
  projectIndex: https://dev-scp.splio.com/llms.txt
---

# Get a reward

Get the data of a created reward.

# Error cases

## Reward external\_id does not exist (404)

```json
{
    "status": 404,
    "errors": [
        {
            "error_key": "id",
            "error": "wrong_value",
            "error_description": "Record not found for id my_test_reward."
        }
    ]
}
```

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "x-origin": [
    {
      "url": "https://api.splio.com/doc.json",
      "format": "swagger",
      "version": "2.0",
      "converter": {
        "url": "https://github.com/mermade/oas-kit",
        "version": "7.0.8"
      }
    }
  ],
  "info": {
    "title": "Splio Customer Platform",
    "description": "API Documentation for Splio Customer Platform",
    "version": "1.0.0"
  },
  "paths": {
    "/loyalty/v1/rewards/{id}": {
      "get": {
        "summary": "Get a reward",
        "description": "Get the data of a created reward.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Reward external identifier.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Reward retrieval is successful.",
            "content": {
              "application/json": {
                "examples": {
                  "response": {
                    "value": {
                      "name": "the 4th given",
                      "external_id": "E2",
                      "monetary": false,
                      "monetary_type": "",
                      "monetary_value": 0,
                      "nqp_value": 4,
                      "description": "An incredible cake",
                      "rich_description": "",
                      "image_url": "",
                      "holding_days": 10,
                      "validity_interval_type": "months",
                      "validity_interval_count": 1,
                      "forced_validity": true,
                      "forced_validity_start": "2020-06-01 00:00:00",
                      "forced_validity_end": "2020-09-01 00:00:00",
                      "limited": true,
                      "auto_generated": true,
                      "max_attribution_count": 87,
                      "stock": 1087,
                      "custom_fields": [
                        {
                          "name": "code_1",
                          "id": 0,
                          "value": "test 2"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "The request validation failed.",
            "x-readme": "BODYBODY",
            "content": {
              "application/json": {
                "examples": {
                  "response": {
                    "value": {
                      "status": 400,
                      "errors": [
                        {
                          "error_key": "field_1",
                          "error": "wrong_value",
                          "error_description": "The request was malformed and it is unable to be processed. Please review and try again."
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authentication failed."
          },
          "403": {
            "description": "Forbidden."
          },
          "404": {
            "description": "Reward not found.",
            "content": {
              "application/json": {
                "examples": {
                  "response": {
                    "value": {
                      "status": 404,
                      "errors": [
                        {
                          "error_key": "",
                          "error": "",
                          "error_description": "E24444 not found"
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Reward"
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://api.splio.com"
    },
    {
      "url": "http://api.splio.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "Bearer": {
        "description": "For accessing the API a valid JWT token must be passed in all requests in\nthe 'Authorization' header.\n\n\nA valid JWT token is generated by the Authorization API and returned as answer of a call\nto the route /authenticate giving a valid user, password & universe.\n\n\nThe following syntax must be used in the 'Authorization' header :\n\n    Bearer xxxxxx.yyyyyyy.zzzzzz\n",
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  }
}
```