Update Signature Configuration
Update an existing signature configuration, supporting modification of the signature name. After updating, the signature status will revert to "Pending Review".
Request URL
PUT https://smsapi.engagelab.com/v1/sign-configs/:signId
Call Authentication
Please refer to Call Authentication to learn how to authenticate API requests.
Request Example
Request Header
PUT /v1/sign-configs/987654321 HTTP/1.1
Content-Type: application/json
Authorization: Basic amlndWFuZ2RldjpkZXZfc2VjcmV0
PUT /v1/sign-configs/987654321 HTTP/1.1
Content-Type: application/json
Authorization: Basic amlndWFuZ2RldjpkZXZfc2VjcmV0
This code block in the floating window
Request Body
{
"sign_name": "Company Name"
}
{
"sign_name": "Company Name"
}
This code block in the floating window
Request Parameters
Path Parameters
| Parameter | Type | Option | Description |
|---|---|---|---|
| signId | String | Required | Signature ID |
Request Body Parameters
| Parameter | Type | Option | Description |
|---|---|---|---|
| sign_name | String | Required | Signature name, length 2-60 characters, cannot contain: 【, 】, [, ] |
Response Parameters
Success Response
The HTTP status code is 200, and the response body contains the following fields:
| Field | Type | Description |
|---|---|---|
| code | Integer | Status code, 0 indicates success |
| message | String | Status description |
Success Example
{
"code": 0,
"message": "success"
}
{
"code": 0,
"message": "success"
}
This code block in the floating window
Error Response
The HTTP status code is 4xx/5xx, and the response body contains the following fields:
| Field | Type | Description |
|---|---|---|
| code | Integer | Error code |
| message | String | Error details |
Error Example
{
"code": 400,
"message": "can not update pending status sign"
}
{
"code": 400,
"message": "can not update pending status sign"
}
This code block in the floating window
Error Codes
| Error Code | HTTP Code | Description |
|---|---|---|
| 400 | 400 | Parameter error or business logic error |
| 500 | 500 | Internal server error |
Common error messages:
invalid signId: Signature ID format errorsign config not exist: Signature configuration does not existsign_name already exist: Signature name already existscan not update pending status sign: Signature in pending review status cannot be updatedthere are pending or running plans using current sign, can not update: There are pending or running plans using this signature, cannot be updated
Notes
- Signatures in "Pending Review" status cannot be updated.
- If there are pending or running message plans using this signature, it cannot be updated.
- After updating, the signature status will revert to "Pending Review" (status=1).
- Signature names cannot contain forbidden characters:
【,】,[,] - The signature ID is a string-type number.
Appendix
Signature Configuration Status (status)
| Value | Description |
|---|---|
| 1 | Pending Review |
| 2 | Approved |
| 3 | Rejected |










