Skip to main content
GET
/
customers
/
{customer_id}
/
setup_links
List setup links
curl --request GET \
  --url https://api.kapso.ai/platform/v1/customers/{customer_id}/setup_links \
  --header 'X-API-Key: <api-key>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "status": "active",
      "created_at": "2023-11-07T05:31:56Z",
      "expires_at": "2023-11-07T05:31:56Z",
      "url": "<string>",
      "success_redirect_url": "<string>",
      "failure_redirect_url": "<string>",
      "allowed_connection_types": [
        "coexistence",
        "dedicated"
      ],
      "theme_config": {
        "primary_color": "<string>",
        "primary_foreground_color": "<string>",
        "background_color": "<string>",
        "text_color": "<string>",
        "muted_text_color": "<string>",
        "card_color": "<string>",
        "muted_color": "<string>",
        "border_color": "<string>",
        "secondary_color": "<string>",
        "secondary_foreground_color": "<string>",
        "destructive_color": "<string>",
        "destructive_foreground_color": "<string>"
      },
      "provision_phone_number": true,
      "phone_number_area_code": "<string>",
      "phone_number_country_isos": [
        "<string>"
      ],
      "whatsapp_setup_status": "pending",
      "whatsapp_setup_error": "<string>",
      "provisioned_phone_number": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "phone_number": "<string>",
        "status": "<string>",
        "area_code": "<string>",
        "country_iso": "<string>",
        "country_dial_code": "<string>",
        "display_number": "<string>"
      }
    }
  ],
  "meta": {
    "page": 2,
    "per_page": 2,
    "total_pages": 1,
    "total_count": 1
  }
}

Authorizations

X-API-Key
string
header
required

Path Parameters

customer_id
string<uuid>
required

Query Parameters

status
enum<string>
Available options:
active,
used,
expired,
revoked
created_after
string<date-time>
created_before
string<date-time>
per_page
integer
default:20
Required range: x >= 1
page
integer
default:1
Required range: x >= 1

Response

Success

data
object[]
required
meta
object
required