Use Cases
Log In

Edit URL

GET /v2/campaigns/{id}/edit

Returns a URL where the user can edit the campaign.

Path Parameters

id
string
Required
Campaign ID.

Query Parameters

preferred_step
string
Optional

The editor step the URL should open on: template, content, agent, sender, targets, payment.

The step is only used when the campaign has reached it. Otherwise, and when the parameter is omitted, the URL opens on the first step that still needs input.

curl -X GET 'https://www.realmailers.com/v2/campaigns/1/edit?preferred_step=content' \
  -H 'Authorization: Bearer YOUR_API_KEY USER_EMAIL'
{
  id: Number
  url: URL
}