Skip to main content
POST
/
bindings
Create a binding
curl --request POST \
  --url https://api.pictify.io/bindings \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "templateId": "<string>",
  "dataSource": {
    "url": "<string>",
    "headers": {},
    "credentials": {
      "value": "<string>"
    }
  },
  "mapping": {},
  "name": "<string>",
  "defaults": {},
  "refreshPolicy": {
    "ttlSeconds": 123
  },
  "outputConfig": {
    "quality": 123
  }
}
'
{
  "binding": {
    "uid": "<string>",
    "name": "<string>",
    "templateId": "<string>",
    "dataSource": {
      "url": "<string>"
    },
    "mapping": {},
    "defaults": {},
    "refreshPolicy": {
      "ttlSeconds": 123
    },
    "renderUrl": "<string>",
    "webhookUrl": "<string>",
    "createdAt": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.pictify.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key obtained from the Pictify dashboard

Body

application/json
templateId
string
required
dataSource
object
required
mapping
object
required
name
string
defaults
object
refreshPolicy
object
outputConfig
object

Response

201 - application/json

Binding created

binding
object