List rewards
const url = 'https://api.poweredbyaura.com/v1/rewards?campaign_id=cmp_01JA9TQ4W2D8M5X4N6B1C0VEKA&customer_id=CUS-204871&status=waiting_for_customer&limit=25';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.poweredbyaura.com/v1/rewards?campaign_id=cmp_01JA9TQ4W2D8M5X4N6B1C0VEKA&customer_id=CUS-204871&status=waiting_for_customer&limit=25' \ --header 'Authorization: Bearer <token>'Returns rewards, newest first. Each reward is one delivery of data earned by an action.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Example
cmp_01JA9TQ4W2D8M5X4N6B1C0VEKAExample
CUS-204871waiting_for_customer: earned, waiting for the customer to accept the plan. flagged: waiting for review.
waiting_for_balance: your balance doesn’t cover it; it waits up to 24 hours for a top-up, then fails.
pending: its price is held and the delivery is on its way. delivered: the network confirmed it and your
balance was charged. failed: not delivered, nothing charged. reversed: the network reversed a delivery
and you were refunded. rejected: rejected in review, or lapsed because the customer didn’t accept the plan.
Items per page, from 1 to 100.
The next_cursor from the previous page.
Responses
Section titled “Responses”A page of rewards.
object
object
The action that earned it. null for the first week’s data of a plan started by offer, which accepting earns.
plan_delivery: a period’s data. first_action: a one-off reward for starting the plan. referral: a referral reward.
An amount of mobile data in gigabytes (GB), as set in the plan, to at most two decimal places.
waiting_for_customer: earned, waiting for the customer to accept the plan. flagged: waiting for review.
waiting_for_balance: your balance doesn’t cover it; it waits up to 24 hours for a top-up, then fails.
pending: its price is held and the delivery is on its way. delivered: the network confirmed it and your
balance was charged. failed: not delivered, nothing charged. reversed: the network reversed a delivery
and you were refunded. rejected: rejected in review, or lapsed because the customer didn’t accept the plan.
The number the data goes to, chosen by the customer when they accepted the plan. null until they accept.
The number’s network, found by a number lookup before delivery.
The plan period this delivery is for. null for referral and first-action rewards.
object
Set when delivery starts. The delivery is final by then, as for purchases.
object
Why a delivery failed. The first five match the Data Reselling API. New codes may be added in v1.
object
Present when the reward was rejected.
object
The reviewer’s note, if any.
Example
{ "object": "list", "data": [ { "object": "reward", "kind": "plan_delivery", "status": "waiting_for_customer", "failure": { "code": "network_rejected" }, "rejection": { "reason": "rejected_in_review" } } ]}Headers
Section titled “Headers”Example
req_7Kp2Vx9QmR4tA unique ID for this request. Quote it when you contact Aura.
The request is malformed or a field is invalid. Fix it before retrying.
object
object
A stable, machine-readable code. New codes may be added in v1, so treat an unknown code by its HTTP
status and retryable flag. The first block is shared with the Data Reselling API.
A human-readable explanation. Do not parse it; use code.
The request field the error is about, when there is one.
Whether the same request can succeed if you retry it later.
Extra facts about the error, such as the existing action.
object
Examples
{ "error": { "code": "invalid_phone_number", "message": "phone_number must be in E.164 format, such as +2348000000001.", "param": "phone_number", "retryable": false, "request_id": "req_9Qd4Hs1XvB7n" }}Headers
Section titled “Headers”Example
req_7Kp2Vx9QmR4tA unique ID for this request. Quote it when you contact Aura.
The API key is missing, wrong or revoked.
object
object
A stable, machine-readable code. New codes may be added in v1, so treat an unknown code by its HTTP
status and retryable flag. The first block is shared with the Data Reselling API.
A human-readable explanation. Do not parse it; use code.
The request field the error is about, when there is one.
Whether the same request can succeed if you retry it later.
Extra facts about the error, such as the existing action.
object
Examples
{ "error": { "code": "invalid_api_key", "message": "The API key is missing, wrong or revoked.", "retryable": false, "request_id": "req_4Lm8Tc2VqZ7k" }}Headers
Section titled “Headers”Example
req_7Kp2Vx9QmR4tA unique ID for this request. Quote it when you contact Aura.
Too many requests. Wait for Retry-After seconds, then retry.
object
object
A stable, machine-readable code. New codes may be added in v1, so treat an unknown code by its HTTP
status and retryable flag. The first block is shared with the Data Reselling API.
A human-readable explanation. Do not parse it; use code.
The request field the error is about, when there is one.
Whether the same request can succeed if you retry it later.
Extra facts about the error, such as the existing action.
object
Examples
{ "error": { "code": "rate_limited", "message": "Too many requests. Retry after 2 seconds.", "retryable": true, "request_id": "req_2Vb7Nx4KtJ9q" }}Headers
Section titled “Headers”Example
req_7Kp2Vx9QmR4tA unique ID for this request. Quote it when you contact Aura.
Requests allowed in the current window.
Requests left in the current window.
Seconds until the current window resets.
Seconds to wait before retrying.
© 2026 PressOne Africa Limited ·poweredbyaura.com ·Privacy ·Terms