Skip to main content
POST
Upload pool values

Authorizations

Authorization
string
header
required

API key from the Rigaly dashboard: Authorization: Bearer rgly_sk_...

Path Parameters

id
string<uuid>
required

Body

application/json

One-time values to add to the reward's pool.

codes
string[]
required

1–5000 values per request, each 1–500 characters. Duplicates (within the request or already stored) are reported, never stored twice.

Required array length: 1 - 5000 elements
Required string length: 1 - 500
Example:

Response

Upload result and the resulting pool counts

success
boolean
Example:

true

message
string
data
object

The post-upload pool counts plus a breakdown of what happened to the submitted values.