Save a motion sequence

Saves a sequence for the workspace, from a video's slide (designId and slide) or from steps by element name. It's the same as Your sequences 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-sequences.md

post/motion-sequence

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; with slide

slideinteger

The slide whose animations are saved, counted from 1

Response

OK

successboolean
messagestring

Example response

{
  "message": "Motion sequence created"
}

Changes

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