Save a motion style

Saves a style for the workspace, from a video's motion (designId) or from built-in styles by slide type (slides). It's the same as Your styles in the video editor. Reading is open to every key; saving, changing and deleting need an active paid plan, a cancelled one counting until it ends (402 otherwise). A video keeps its own copy of the motion it was given, so changing or deleting one never changes a video already made. Docs: https://postnitro.ai/docs/embed/api/motion-styles.md

post/motion-style

Request

  • Base URL
    https://embed-api.postnitro.ai
  • Auth
    API key in header embed-api-key

Headers

Idempotency-Keystring

Makes the request safe to retry. Send a new unique value (a UUID is ideal) for each new action. For 24 hours after a successful (2xx) request, the same key and body return the first response with the header Idempotent-Replayed: true, instead of creating, charging or scheduling again. Only successes are kept: after an error, fix the request and send it again with the same key. The same key with a different body returns 422; a retry while the first request is still running returns 409 with Retry-After. Keys are scoped to the API key. See https://postnitro.ai/docs/embed/api/idempotency

Request body

namestring required
designIdstring

A video in the workspace, whose whole motion is saved, as Save as style keeps it in the editor

Response

OK

successboolean
messagestring

Example response

{
  "message": "Motion style created"
}

Changes

No recorded changes to this operation across all 1 revision of this API.