Skip to main content
PUT
Actualizar campaña

Endpoint

You can only update campaigns in SCHEDULED status. A campaign that has already started sending, or has finished, can’t be updated.

Path parameters


Request body


scheduledAt format

scheduledAt uses the ISO 8601 format: YYYY-MM-DDTHH:mm:ss followed by the time zone. If the date is invalid or already in the past, the API responds with 422 and leaves the campaign unchanged.

Request example


Responses

Authorizations

Authorization
string
header
required

Basic authentication using Base64 encoded clientId:clientSecret

Path Parameters

campaignId
string
required

ID de la campaña (24 caracteres hexadecimales).

Example:

"CAMPAIGN_ID"

Body

application/json
name
string

Nuevo nombre de la campaña.

Example:

"promo_fin_de_mes"

scheduledAt
string<date-time>

Nueva fecha y hora de envío en formato ISO 8601 con zona horaria (Z o un desfase como -05:00). Debe ser posterior a la fecha actual.

Example:

"2026-09-27T11:00:00-05:00"

Response

Campaign updated

message
string[]
Example:
statusMessage
string
Example:

"success"

status
integer
Example:

1