Riferimento API

Sublaunch

Il tuo Sublaunch è la tua pagina su Sublaunch, con la sua Community, i suoi Corsi e ciò per cui pagano i membri. Una chiave API appartiene a un solo Sublaunch, quindi ogni endpoint lavora sul Sublaunch della chiave, senza bisogno di indicare un ID.

Le modifiche alla pagina, alle impostazioni, ai livelli, ai prezzi, ai coupon, agli accessi, ai corsi, al programma di affiliazione, alle commissioni degli affiliati, alle pagine online e alle email programmate restano nella bozza del Sublaunch, come nell'app, finché non pubblichi la bozza. Post, link, un'email inviata subito e tutto il resto sono attivi da subito.

L'oggetto Sublaunch

Il tuo Sublaunch, con la sua pagina, i suoi livelli e la sua Community. Una chiave API apre un solo Sublaunch, quello in cui è stata creata.

Attributi

  • idstring
    Identificatore univoco del Sublaunch.
  • objectstring
    Sempre sublaunch.
  • usernamestring
    La parte finale del link del Sublaunch, alphadesk in sublaunch.com/alphadesk.
  • urlstring
    La pagina del Sublaunch.
  • namestring
    Il nome del Sublaunch.
  • sloganstring o null
    Le poche parole sotto il suo nome.
  • logo_urlstring o null
    L'URL del suo logo.
  • languagestring o null
    La lingua della pagina.
    enfresitderuptnl
  • currencystring o null
    La valuta dei suoi prezzi, in minuscolo, come usd.
  • privateboolean
    Se solo i membri vedono la sua Community. Dipende dai prezzi, un Sublaunch che vende un prezzo a pagamento è privato.
  • statusstring
    live una volta pubblicato il Sublaunch, draft prima.
    draftlive
  • tiersarray di objects
    I suoi livelli con i loro prezzi. Vedi l'oggetto livello.
  • members_activeinteger
    I membri con un'iscrizione attiva in questo momento.
  • members_totalinteger
    Tutti i membri che si sono mai iscritti.
  • planstring
    Il piano del proprietario del Sublaunch.
    freestarterbusinesspremium
  • created_atstring
    Quando è stato creato il Sublaunch, ISO 8601.
  • categoriesarray di objects
    Le categorie della sua Community, come le vedono i membri. Vedi l'oggetto categoria.
  • draftobject
    Cosa cambia la sua bozza, come lo restituisce Recupera la bozza.
L'oggetto Sublaunch
{
  "id": "q7RkX2LmPv",
  "object": "sublaunch",
  "username": "alphadesk",
  "url": "https://sublaunch.com/alphadesk",
  "name": "Alpha Desk",
  "slogan": "Daily setups and a private community for traders.",
  "logo_url": "https://example.com/alpha-desk-logo.png",
  "language": "en",
  "currency": "usd",
  "private": true,
  "status": "live",
  "tiers": [
    {
      "id": "tier1",
      "object": "tier",
      "name": "Inner Circle",
      "prices": [
        {
          "id": "pR8sK2xLmQ",
          "object": "price",
          "tier_id": "tier1",
          "amount": 29,
          "currency": "usd",
          "interval": "month",
          "interval_count": 1,
          "default": true,
          "hidden": false,
          "trial_days": 7,
          "status": "active",
          "discount": null,
          "members_active": 212,
          "members_total": 340,
          "created_at": "2026-03-12T10:04:22.000Z"
        },
        {
          "id": "pY3kQ9xLmR",
          "object": "price",
          "tier_id": "tier1",
          "amount": 290,
          "currency": "usd",
          "interval": "year",
          "interval_count": 1,
          "default": false,
          "hidden": false,
          "trial_days": null,
          "status": "active",
          "discount": null,
          "members_active": 41,
          "members_total": 58,
          "created_at": "2026-03-12T10:04:22.000Z"
        }
      ],
      "members_active": 253,
      "members_total": 398,
      "created_at": "2026-03-12T10:04:22.000Z"
    }
  ],
  "members_active": 253,
  "members_total": 398,
  "plan": "business",
  "created_at": "2026-03-12T10:04:22.000Z",
  "categories": [
    {
      "id": "general",
      "object": "category",
      "name": "General",
      "who_can_post": "members",
      "who_can_comment": "members",
      "who_can_view": "members",
      "tier_ids": [],
      "sort": "default"
    },
    {
      "id": "x7Lp2QaZ",
      "object": "category",
      "name": "Trade ideas",
      "who_can_post": "members",
      "who_can_comment": "members",
      "who_can_view": "tiers",
      "tier_ids": ["tier1"],
      "sort": "new"
    }
  ],
  "draft": {
    "has_draft": true,
    "changed": ["coupons", "page", "prices"],
    "courses": ["Hc4mQ9xRt2"],
    "affiliates": ["Af6tR2kQxM"],
    "pages": ["Pg4mX9kQ2T"],
    "broadcasts": ["Bc8nR4kQ1X"]
  }
}

Recupera il Sublaunch

GET/v1/sublaunchScope readMCPget_sublaunch

Restituisce il Sublaunch della chiave con i suoi livelli, i prezzi, le categorie e cosa cambia la sua bozza. Chiamalo per primo per sapere quale Sublaunch apre una chiave.

Restituisce

L'oggetto Sublaunch.

GET/v1/sublaunch
curl https://api.sublaunch.com/v1/sublaunch \
  -H "Authorization: Bearer $SUBLAUNCH_API_KEY"
Risposta200
{
  "id": "q7RkX2LmPv",
  "object": "sublaunch",
  "username": "alphadesk",
  "url": "https://sublaunch.com/alphadesk",
  "name": "Alpha Desk",
  "slogan": "Daily setups and a private community for traders.",
  "logo_url": "https://example.com/alpha-desk-logo.png",
  "language": "en",
  "currency": "usd",
  "private": true,
  "status": "live",
  "tiers": [
    {
      "id": "tier1",
      "object": "tier",
      "name": "Inner Circle",
      "prices": [
        {
          "id": "pR8sK2xLmQ",
          "object": "price",
          "tier_id": "tier1",
          "amount": 29,
          "currency": "usd",
          "interval": "month",
          "interval_count": 1,
          "default": true,
          "hidden": false,
          "trial_days": 7,
          "status": "active",
          "discount": null,
          "members_active": 212,
          "members_total": 340,
          "created_at": "2026-03-12T10:04:22.000Z"
        },
        {
          "id": "pY3kQ9xLmR",
          "object": "price",
          "tier_id": "tier1",
          "amount": 290,
          "currency": "usd",
          "interval": "year",
          "interval_count": 1,
          "default": false,
          "hidden": false,
          "trial_days": null,
          "status": "active",
          "discount": null,
          "members_active": 41,
          "members_total": 58,
          "created_at": "2026-03-12T10:04:22.000Z"
        }
      ],
      "members_active": 253,
      "members_total": 398,
      "created_at": "2026-03-12T10:04:22.000Z"
    }
  ],
  "members_active": 253,
  "members_total": 398,
  "plan": "business",
  "created_at": "2026-03-12T10:04:22.000Z",
  "categories": [
    {
      "id": "general",
      "object": "category",
      "name": "General",
      "who_can_post": "members",
      "who_can_comment": "members",
      "who_can_view": "members",
      "tier_ids": [],
      "sort": "default"
    },
    {
      "id": "x7Lp2QaZ",
      "object": "category",
      "name": "Trade ideas",
      "who_can_post": "members",
      "who_can_comment": "members",
      "who_can_view": "tiers",
      "tier_ids": ["tier1"],
      "sort": "new"
    }
  ],
  "draft": {
    "has_draft": true,
    "changed": ["coupons", "page", "prices"],
    "courses": ["Hc4mQ9xRt2"],
    "affiliates": ["Af6tR2kQxM"],
    "pages": ["Pg4mX9kQ2T"],
    "broadcasts": ["Bc8nR4kQ1X"]
  }
}

Aggiorna il Sublaunch

PATCH/v1/sublaunchScope writeMCPupdate_sublaunch

Modifica il nome, la descrizione breve, il colore, il logo o la copertina del Sublaunch nella sua bozza. I membri vedono le modifiche una volta che pubblichi la bozza. Invia solo i campi da modificare.

Parametri del body

  • namestring
    Il nome del Sublaunch, da 1 a 50 caratteri.
  • summarystring
    Le poche parole sotto il suo nome, al massimo 200 caratteri.
  • colorstring
    Il suo colore principale, nel formato #RRGGBB.
  • logo_urlstring
    Il suo logo, un URL HTTPS pubblico. Una stringa vuota lo rimuove.
  • cover_urlstring
    La sua immagine di copertina, un URL HTTPS pubblico. Una stringa vuota la rimuove.

Restituisce

L'oggetto Sublaunch.

Errori

PATCH/v1/sublaunch
curl -X PATCH https://api.sublaunch.com/v1/sublaunch \
  -H "Authorization: Bearer $SUBLAUNCH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Alpha Desk Pro",
    "color": "#FF9F1C"
  }'
Risposta200
{
  "id": "q7RkX2LmPv",
  "object": "sublaunch",
  "username": "alphadesk",
  "url": "https://sublaunch.com/alphadesk",
  "name": "Alpha Desk",
  "slogan": "Daily setups and a private community for traders.",
  "logo_url": "https://example.com/alpha-desk-logo.png",
  "language": "en",
  "currency": "usd",
  "private": true,
  "status": "live",
  "tiers": [
    {
      "id": "tier1",
      "object": "tier",
      "name": "Inner Circle",
      "prices": [
        {
          "id": "pR8sK2xLmQ",
          "object": "price",
          "tier_id": "tier1",
          "amount": 29,
          "currency": "usd",
          "interval": "month",
          "interval_count": 1,
          "default": true,
          "hidden": false,
          "trial_days": 7,
          "status": "active",
          "discount": null,
          "members_active": 212,
          "members_total": 340,
          "created_at": "2026-03-12T10:04:22.000Z"
        },
        {
          "id": "pY3kQ9xLmR",
          "object": "price",
          "tier_id": "tier1",
          "amount": 290,
          "currency": "usd",
          "interval": "year",
          "interval_count": 1,
          "default": false,
          "hidden": false,
          "trial_days": null,
          "status": "active",
          "discount": null,
          "members_active": 41,
          "members_total": 58,
          "created_at": "2026-03-12T10:04:22.000Z"
        }
      ],
      "members_active": 253,
      "members_total": 398,
      "created_at": "2026-03-12T10:04:22.000Z"
    }
  ],
  "members_active": 253,
  "members_total": 398,
  "plan": "business",
  "created_at": "2026-03-12T10:04:22.000Z",
  "categories": [
    {
      "id": "general",
      "object": "category",
      "name": "General",
      "who_can_post": "members",
      "who_can_comment": "members",
      "who_can_view": "members",
      "tier_ids": [],
      "sort": "default"
    },
    {
      "id": "x7Lp2QaZ",
      "object": "category",
      "name": "Trade ideas",
      "who_can_post": "members",
      "who_can_comment": "members",
      "who_can_view": "tiers",
      "tier_ids": ["tier1"],
      "sort": "new"
    }
  ],
  "draft": {
    "has_draft": true,
    "changed": ["coupons", "page", "prices"],
    "courses": ["Hc4mQ9xRt2"],
    "affiliates": ["Af6tR2kQxM"],
    "pages": ["Pg4mX9kQ2T"],
    "broadcasts": ["Bc8nR4kQ1X"]
  }
}
POST/v1/sublaunch/linkScope writeMCPset_sublaunch_link

Cambia subito il link sublaunch.com/<username> del Sublaunch, fuori dalla bozza. Il vecchio link smette di funzionare.

Parametri del body

  • usernamestringObbligatorio
    La nuova parte finale del link, da 3 a 40 tra lettere, cifre, - e _. Le maiuscole diventano minuscole.

Restituisce

L'oggetto Sublaunch con i nuovi username e url.

Errori

POST/v1/sublaunch/link
curl -X POST https://api.sublaunch.com/v1/sublaunch/link \
  -H "Authorization: Bearer $SUBLAUNCH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "username": "alphadesk-pro"
  }'
Risposta200
{
  "id": "q7RkX2LmPv",
  "object": "sublaunch",
  "username": "alphadesk-pro",
  "url": "https://sublaunch.com/alphadesk-pro",
  "name": "Alpha Desk",
  "slogan": "Daily setups and a private community for traders.",
  "logo_url": "https://example.com/alpha-desk-logo.png",
  "language": "en",
  "currency": "usd",
  "private": true,
  "status": "live",
  "tiers": [
    {
      "id": "tier1",
      "object": "tier",
      "name": "Inner Circle",
      "prices": [
        {
          "id": "pR8sK2xLmQ",
          "object": "price",
          "tier_id": "tier1",
          "amount": 29,
          "currency": "usd",
          "interval": "month",
          "interval_count": 1,
          "default": true,
          "hidden": false,
          "trial_days": 7,
          "status": "active",
          "discount": null,
          "members_active": 212,
          "members_total": 340,
          "created_at": "2026-03-12T10:04:22.000Z"
        },
        {
          "id": "pY3kQ9xLmR",
          "object": "price",
          "tier_id": "tier1",
          "amount": 290,
          "currency": "usd",
          "interval": "year",
          "interval_count": 1,
          "default": false,
          "hidden": false,
          "trial_days": null,
          "status": "active",
          "discount": null,
          "members_active": 41,
          "members_total": 58,
          "created_at": "2026-03-12T10:04:22.000Z"
        }
      ],
      "members_active": 253,
      "members_total": 398,
      "created_at": "2026-03-12T10:04:22.000Z"
    }
  ],
  "members_active": 253,
  "members_total": 398,
  "plan": "business",
  "created_at": "2026-03-12T10:04:22.000Z",
  "categories": [
    {
      "id": "general",
      "object": "category",
      "name": "General",
      "who_can_post": "members",
      "who_can_comment": "members",
      "who_can_view": "members",
      "tier_ids": [],
      "sort": "default"
    },
    {
      "id": "x7Lp2QaZ",
      "object": "category",
      "name": "Trade ideas",
      "who_can_post": "members",
      "who_can_comment": "members",
      "who_can_view": "tiers",
      "tier_ids": ["tier1"],
      "sort": "new"
    }
  ],
  "draft": {
    "has_draft": true,
    "changed": ["coupons", "page", "prices"],
    "courses": ["Hc4mQ9xRt2"],
    "affiliates": ["Af6tR2kQxM"],
    "pages": ["Pg4mX9kQ2T"],
    "broadcasts": ["Bc8nR4kQ1X"]
  }
}

L'oggetto bozza del Sublaunch

Le modifiche in attesa nella bozza del Sublaunch, come nell'app. I membri non ne vedono nessuna finché non pubblichi la bozza.

Attributi

  • objectstring
    Sempre sublaunch_draft.
  • has_draftboolean
    Se il Sublaunch ha modifiche che i membri non vedono ancora.
  • changedarray di strings
    Cosa cambia la bozza, come page, settings, tiers, prices, coupons, accesses o affiliate_program.
  • coursesarray di strings
    I corsi che la bozza modifica, per ID.
  • affiliatesarray di strings
    Gli affiliati di cui la bozza cambia la commissione, per ID.
  • pagesarray di strings
    Le pagine che la bozza mette online, mette offline o modifica, per ID.
  • broadcastsarray di strings
    Le email che la bozza programma o riattiva, per ID.
L'oggetto bozza del Sublaunch
{
  "object": "sublaunch_draft",
  "has_draft": true,
  "changed": ["coupons", "page", "prices"],
  "courses": ["Hc4mQ9xRt2"],
  "affiliates": ["Af6tR2kQxM"],
  "pages": ["Pg4mX9kQ2T"],
  "broadcasts": ["Bc8nR4kQ1X"]
}

Recupera la bozza

GET/v1/sublaunch/draftScope readMCPget_sublaunch_draft

Restituisce le modifiche della bozza del Sublaunch, che i membri non vedono ancora.

Restituisce

L'oggetto bozza del Sublaunch.

GET/v1/sublaunch/draft
curl https://api.sublaunch.com/v1/sublaunch/draft \
  -H "Authorization: Bearer $SUBLAUNCH_API_KEY"
Risposta200
{
  "object": "sublaunch_draft",
  "has_draft": true,
  "changed": ["coupons", "page", "prices"],
  "courses": ["Hc4mQ9xRt2"],
  "affiliates": ["Af6tR2kQxM"],
  "pages": ["Pg4mX9kQ2T"],
  "broadcasts": ["Bc8nR4kQ1X"]
}

Pubblica la bozza

POST/v1/sublaunch/publishScope writeMCPpublish_sublaunch

Pubblica la bozza del Sublaunch, come il pulsante Pubblica dell'app. I membri vedono subito ogni modifica, i nuovi prezzi vanno in vendita, le pagine vanno online o offline e le email programmate si attivano. Senza bozza, non cambia nulla e published è false.

Restituisce

Un oggetto con published, cosa ha cambiato la bozza in changed, i courses, affiliates, pages e broadcasts che ha pubblicato, e il Sublaunch come lo vedono ora i membri.

Errori

  • Un prezzo della bozza non ha ancora un importo.
  • Non è stato possibile pubblicare un corso, la commissione di un affiliato, una pagina o un'email della bozza. Ciò che viene dopo non è stato pubblicato, riprova.
POST/v1/sublaunch/publish
curl -X POST https://api.sublaunch.com/v1/sublaunch/publish \
  -H "Authorization: Bearer $SUBLAUNCH_API_KEY"
Risposta200
{
  "object": "sublaunch_publish",
  "published": true,
  "changed": ["coupons", "page", "prices"],
  "courses": ["Hc4mQ9xRt2"],
  "affiliates": ["Af6tR2kQxM"],
  "pages": ["Pg4mX9kQ2T"],
  "broadcasts": ["Bc8nR4kQ1X"],
  "sublaunch": {
    "id": "q7RkX2LmPv",
    "object": "sublaunch",
    "username": "alphadesk",
    "url": "https://sublaunch.com/alphadesk",
    "name": "Alpha Desk",
    "slogan": "Daily setups and a private community for traders.",
    "logo_url": "https://example.com/alpha-desk-logo.png",
    "language": "en",
    "currency": "usd",
    "private": true,
    "status": "live",
    "tiers": [
      {
        "id": "tier1",
        "object": "tier",
        "name": "Inner Circle",
        "prices": [
          {
            "id": "pR8sK2xLmQ",
            "object": "price",
            "tier_id": "tier1",
            "amount": 29,
            "currency": "usd",
            "interval": "month",
            "interval_count": 1,
            "default": true,
            "hidden": false,
            "trial_days": 7,
            "status": "active",
            "discount": null,
            "members_active": 212,
            "members_total": 340,
            "created_at": "2026-03-12T10:04:22.000Z"
          },
          {
            "id": "pY3kQ9xLmR",
            "object": "price",
            "tier_id": "tier1",
            "amount": 290,
            "currency": "usd",
            "interval": "year",
            "interval_count": 1,
            "default": false,
            "hidden": false,
            "trial_days": null,
            "status": "active",
            "discount": null,
            "members_active": 41,
            "members_total": 58,
            "created_at": "2026-03-12T10:04:22.000Z"
          }
        ],
        "members_active": 253,
        "members_total": 398,
        "created_at": "2026-03-12T10:04:22.000Z"
      }
    ],
    "members_active": 253,
    "members_total": 398,
    "plan": "business",
    "created_at": "2026-03-12T10:04:22.000Z",
    "categories": [
      {
        "id": "general",
        "object": "category",
        "name": "General",
        "who_can_post": "members",
        "who_can_comment": "members",
        "who_can_view": "members",
        "tier_ids": [],
        "sort": "default"
      },
      {
        "id": "x7Lp2QaZ",
        "object": "category",
        "name": "Trade ideas",
        "who_can_post": "members",
        "who_can_comment": "members",
        "who_can_view": "tiers",
        "tier_ids": ["tier1"],
        "sort": "new"
      }
    ],
    "draft": {
      "has_draft": false,
      "changed": [],
      "courses": []
    }
  }
}

Scarta la bozza

DELETE/v1/sublaunch/draftScope writeMCPdiscard_sublaunch_draft

Scarta tutte le modifiche della bozza, come Annulla aggiornamento nell'app. L'operazione è irreversibile.

Restituisce

Un oggetto con discarded, false quando non c'era nessuna bozza.

DELETE/v1/sublaunch/draft
curl -X DELETE https://api.sublaunch.com/v1/sublaunch/draft \
  -H "Authorization: Bearer $SUBLAUNCH_API_KEY"
Risposta200
{
  "object": "sublaunch_draft",
  "discarded": true
}

L'oggetto impostazioni del Sublaunch

Le impostazioni del Sublaunch, con i valori della bozza quando la bozza le modifica.

Attributi

  • objectstring
    Sempre sublaunch_settings.
  • languagestring
    La lingua della pagina.
    enfresitderuptnl
  • contact_emailstring o null
    L'email a cui scrivono i membri.
  • allow_indexingboolean
    Se i motori di ricerca possono indicizzare la pagina.
  • collect_addressboolean
    Se il checkout chiede un indirizzo.
  • collect_phone_numberboolean
    Se il checkout chiede un numero di telefono.
  • must_accept_termsboolean
    Se il checkout chiede di accettare i termini.
  • limited_spotsobject
    Un tetto al numero di persone che possono iscriversi.
  • draftedboolean
    true quando la bozza modifica un'impostazione.
L'oggetto impostazioni del Sublaunch
{
  "object": "sublaunch_settings",
  "language": "en",
  "contact_email": "hello@example.com",
  "allow_indexing": true,
  "collect_address": false,
  "collect_phone_number": false,
  "must_accept_terms": true,
  "limited_spots": {
    "enabled": true,
    "spots": 500
  },
  "drafted": true
}

Recupera le impostazioni

GET/v1/sublaunch/settingsScope readMCPget_settings

Restituisce le impostazioni del Sublaunch, con i valori della bozza quando la bozza le modifica.

Restituisce

L'oggetto impostazioni del Sublaunch.

GET/v1/sublaunch/settings
curl https://api.sublaunch.com/v1/sublaunch/settings \
  -H "Authorization: Bearer $SUBLAUNCH_API_KEY"
Risposta200
{
  "object": "sublaunch_settings",
  "language": "en",
  "contact_email": "hello@example.com",
  "allow_indexing": true,
  "collect_address": false,
  "collect_phone_number": false,
  "must_accept_terms": true,
  "limited_spots": {
    "enabled": true,
    "spots": 500
  },
  "drafted": true
}

Aggiorna le impostazioni

PATCH/v1/sublaunch/settingsScope writeMCPupdate_settings

Modifica le impostazioni del Sublaunch nella sua bozza. Invia solo i campi da modificare.

Parametri del body

  • languagestring
    La lingua della pagina.
    enfresitderuptnl
  • contact_emailstring
    L'email a cui scrivono i membri. Una stringa vuota la rimuove.
  • allow_indexingboolean
    Se i motori di ricerca possono indicizzare la pagina.
  • collect_addressboolean
    Se il checkout chiede un indirizzo.
  • collect_phone_numberboolean
    Se il checkout chiede un numero di telefono.
  • must_accept_termsboolean
    Se il checkout chiede di accettare i termini.
  • limited_spotsobject
    Un tetto al numero di persone che possono iscriversi.

Restituisce

L'oggetto impostazioni del Sublaunch.

Errori

PATCH/v1/sublaunch/settings
curl -X PATCH \
  https://api.sublaunch.com/v1/sublaunch/settings \
  -H "Authorization: Bearer $SUBLAUNCH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "limited_spots": {
      "enabled": true,
      "spots": 500
    }
  }'
Risposta200
{
  "object": "sublaunch_settings",
  "language": "en",
  "contact_email": "hello@example.com",
  "allow_indexing": true,
  "collect_address": false,
  "collect_phone_number": false,
  "must_accept_terms": true,
  "limited_spots": {
    "enabled": true,
    "spots": 500
  },
  "drafted": true
}

L'oggetto about

La descrizione breve e le FAQ della pagina Informazioni, come sono nella bozza.

Attributi

  • objectstring
    Sempre about.
  • summarystring
    Le poche parole sotto il nome del Sublaunch.
  • faq_titlestring o null
    Il titolo delle FAQ.
  • faqarray di objects
    Le FAQ in ordine.
  • draftedboolean
    Sempre true, la modifica resta in attesa nella bozza.
L'oggetto about
{
  "object": "about",
  "summary": "Daily setups and a private community for traders.",
  "faq_title": "Questions",
  "faq": [
    {
      "question": "Can I cancel anytime?",
      "answer": "Yes, from your account, in one click."
    }
  ],
  "drafted": true
}

Aggiorna la pagina Informazioni

PATCH/v1/sublaunch/aboutScope writeMCPupdate_about

Modifica la descrizione breve e le FAQ della pagina Informazioni nella bozza. faq sostituisce l'intero elenco.

Parametri del body

  • summarystring
    Le poche parole sotto il nome del Sublaunch, al massimo 200 caratteri.
  • faqarray di objects
    Tutte le FAQ in ordine, al massimo 30 domande. [] le rimuove.
  • faq_titlestring
    Il titolo delle FAQ, al massimo 100 caratteri.

Restituisce

L'oggetto about.

Errori

PATCH/v1/sublaunch/about
curl -X PATCH https://api.sublaunch.com/v1/sublaunch/about \
  -H "Authorization: Bearer $SUBLAUNCH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "faq_title": "Questions",
    "faq": [
      {
        "question": "Can I cancel anytime?",
        "answer": "Yes, from your account, in one click."
      }
    ]
  }'
Risposta200
{
  "object": "about",
  "summary": "Daily setups and a private community for traders.",
  "faq_title": "Questions",
  "faq": [
    {
      "question": "Can I cancel anytime?",
      "answer": "Yes, from your account, in one click."
    }
  ],
  "drafted": true
}