General Documentation
Agents
Agent Executions
Test Suites
Projects
WhatsApp Conversations
Customers
WhatsApp Configs
Agent Test Chats
Conversation Assignments
WhatsApp Templates
WhatsApp Contacts
WhatsApp Contact Notes
Agent Snapshots
Setup Links
Create a new setup link
Creates a new setup link for the customer. This will revoke any existing active links for the customer.
POST
/
customers
/
{customer_id}
/
setup_links
Copy
curl --request POST \
--url https://app.kapso.ai/api/v1/customers/{customer_id}/setup_links \
--header 'X-API-Key: <api-key>'
Copy
{
"data": {
"id": "link-123abc",
"status": "active",
"expires_at": "2023-11-07T05:31:56Z",
"url": "https://app.kapso.ai/whatsapp/setup/aBcD123...",
"created_at": "2023-11-07T05:31:56Z"
}
}
Authorizations
API key required for all endpoints
Path Parameters
Response
201
application/json
Setup link created successfully
The response is of type object
.
Copy
curl --request POST \
--url https://app.kapso.ai/api/v1/customers/{customer_id}/setup_links \
--header 'X-API-Key: <api-key>'
Copy
{
"data": {
"id": "link-123abc",
"status": "active",
"expires_at": "2023-11-07T05:31:56Z",
"url": "https://app.kapso.ai/whatsapp/setup/aBcD123...",
"created_at": "2023-11-07T05:31:56Z"
}
}
Assistant
Responses are generated using AI and may contain mistakes.