Create PDF

    POSThttps://picnie.com/api/v1/create-pdf
    Create a PDF for a specific template.

    Headers

    NameTypeDescription
    Authorization*
    string

    Pass api key in the authorization field

    Example:YOUR_API_KEY

    Body Parameters

    NameTypeDescription
    project_id*
    string

    The ID of the project.

    Example:1

    template_id*
    integer

    The ID of the template.

    Example:2020

    template_name*
    string

    Name of the template.

    Example:Daily Motivation

    type*
    string

    Must be 'pdf'.

    Example:pdf

    details*
    array

    JSON array of objects specifying image and text elements.

    Example:[{"name": "background_image", "image_url": "https://picnie.com/data/api_raw_assets/image_bg_0_20240108213254.png"}, {"name": "Title_0", "text": "@reallygreatsite"}, {"name": "Title_1", "text": "One step at a time, Youll get there"}]

    Notes

    ⚠️ Authentication required