Create a plan card link
const url = 'https://api.poweredbyaura.com/v1/customers/CUS-204871/plan-card-links';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"campaign_id":"cmp_01JA9TQ4W2D8M5X4N6B1C0VEKA","return_url":"yourapp://home"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.poweredbyaura.com/v1/customers/CUS-204871/plan-card-links \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "campaign_id": "cmp_01JA9TQ4W2D8M5X4N6B1C0VEKA", "return_url": "yourapp://home" }'Creates a signed link to the plan card: the page Aura hosts, in your brand, that shows the customer their plan and lets them accept it, choose which of their numbers gets the data and change it later. Open it in a web view inside your app.
Create links from your server, never from the app, so your secret key never leaves your server. Each link opens once and expires 10 minutes after it is created if nobody opens it. Create a new one each time the customer taps to see their plan.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Your own ID for the customer, as you send it in actions.
Example
CUS-204871Request Bodyrequired
Section titled “Request Bodyrequired”object
Where the card’s Done button takes the customer, such as a screen in your app.
Examples
{ "campaign_id": "cmp_01JA9TQ4W2D8M5X4N6B1C0VEKA", "return_url": "yourapp://home"}Responses
Section titled “Responses”The link was created.
object
Examples
{ "object": "plan_card_link", "url": "https://plan.poweredbyaura.com/c/pcl_01JAD2V7K9M3T6R8F1H4P5QX2N?sig=9f2c7d1e", "expires_at": "2026-10-20T09:52:00Z"}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.
Nothing with this ID exists in your account, in this mode (test or live).
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": "not_found", "message": "No customer with ID 'CUS-204871' has been reported to this campaign.", "retryable": false, "request_id": "req_5Nk3Ry8BwH1c" }}Headers
Section titled “Headers”Example
req_7Kp2Vx9QmR4tA unique ID for this request. Quote it when you contact Aura.
The request is well formed but can’t be done in the plan’s current state. Nothing changed.
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": "plan_not_offered", "message": "This customer is in the comparison group and isn't offered the plan.", "retryable": false, "request_id": "req_1Hc6Wd9PsF4m" }}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