put
https://partner.gupshup.io/partner/app//bizai/agent_config/skills/
Send only the fields being changed.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Request parameters
| Parameter | Type | Required | In | Description |
|---|---|---|---|---|
Authorization | string | Yes | Header | Partner app token, sent raw. Bearer <token> is also accepted. |
Content-Type | string | Yes | Header | application/json |
appId | string (uuid) | Yes | Path | Partner Portal app id. Stands in for Meta's entity_id. |
skillId | string | Yes | Path | Skill id (pfbid). Meta pfbid… id. |
title | string | No | Body | Pattern ^[a-z0-9]+(-[a-z0-9]+)*$. Max 64 chars. |
description | string | No | Body | Max 1024 chars. |
skill | string | No | Body | Max 20000 chars. |
Example request
curl --location --request PUT 'https://partner.gupshup.io/partner/app/<appId>/bizai/agent_config/skills/<skillId>' \
--header 'Authorization: <PARTNER_APP_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"description": "Apply when customer initiates conversation"
}'Response parameters — 200
200| Parameter | Type | Description |
|---|---|---|
title | string | Pattern ^[a-z0-9]+(-[a-z0-9]+)*$. Max 64 chars. |
description | string | Max 1024 chars. |
skill | string | Max 20000 chars. |
id | string | Resource id. Meta pfbid… id. |
channel | string | Channel the record belongs to, e.g. whatsapp. |
created_at | integer | Creation time, Unix seconds. |
metadata | object | Free-form key/value data attached to the record. |
status | string | A skill read straight after a write is normally pending_review. One of: active, pending_review, blocked. |
Example response — 200 OK
200 OK{
"id": "pfbid0SkillExampleId",
"title": "greeting-skill",
"description": "Apply when customer initiates conversation",
"skill": "Respond warmly and professionally. Ask how you can help.",
"channel": "whatsapp",
"created_at": 1789630852,
"status": "pending_review"
}Error responses
400 Bad Request — The app is not live, or WASS does not consider it live.
{
"message": "App is not live.",
"status": "error"
}400 Bad Request — The app has no phone number attached. Checked before the live check.
{
"message": "Phone id not found for the given App",
"status": "error"
}401 Unauthorized — Authorization is missing or invalid, belongs to another app, or appId is unknown or not a UUID.
{
"status": "error",
"message": "Unauthorised access to the resource. Please review request parameters and headers and retry"
}405 Method Not Allowed — Any method other than GET, POST, PUT or DELETE, e.g. PATCH.
{
"status": "error",
"message": "Request method 'PATCH' is not supported"
}429 Too Many Requests — More than 30 /bizai/** requests in 60 seconds for this app. The 31st is rejected.
{
"status": "error",
"message": "Too Many Requests"
} 429Per-app rate limit exceeded. Retry after the 60-second window.
