curl --request GET \
--url https://app.kapso.ai/api/v1/customers/{customer_id}/setup_links \
--header 'X-API-Key: <api-key>'
{
"data": [
{
"id": "link-123abc",
"status": "active",
"expires_at": "2023-11-07T05:31:56Z",
"url": "https://app.kapso.ai/whatsapp/setup/aBcD123...",
"success_redirect_url": "https://your-app.com/whatsapp/success",
"failure_redirect_url": "https://your-app.com/whatsapp/failed",
"created_at": "2023-11-07T05:31:56Z"
}
],
"meta": {
"current_page": 123,
"total_pages": 123,
"total_count": 123,
"per_page": 123
}
}
Returns a list of setup links for the specified customer, ordered by creation date (newest first)
curl --request GET \
--url https://app.kapso.ai/api/v1/customers/{customer_id}/setup_links \
--header 'X-API-Key: <api-key>'
{
"data": [
{
"id": "link-123abc",
"status": "active",
"expires_at": "2023-11-07T05:31:56Z",
"url": "https://app.kapso.ai/whatsapp/setup/aBcD123...",
"success_redirect_url": "https://your-app.com/whatsapp/success",
"failure_redirect_url": "https://your-app.com/whatsapp/failed",
"created_at": "2023-11-07T05:31:56Z"
}
],
"meta": {
"current_page": 123,
"total_pages": 123,
"total_count": 123,
"per_page": 123
}
}
API key required for all endpoints
A paginated list of setup links
The response is of type object
.
Was this page helpful?