POST
/
rooms
/
{room_id}
/
pages
/
create_many
Authorization
Path
Body
curl --request POST \
  --url https://api.pagecall.com/v1/rooms/{room_id}/pages/create_many \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json'
{
  "pages": [
    {
      "entities": [
        {
          "src": "https://picsum.photos/id/237/536/354",
          "type": "Image"
        }
      ],
      "id": "000585f36eed9e8fb6b655b4"
    },
    {
      "entities": [
        {
          "src": "https://picsum.photos/id/237/536/354",
          "type": "Image"
        },
        {
          "src": "https://picsum.photos/id/237/536/354",
          "type": "Image"
        }
      ],
      "id": "000585f36eed9e8fb6b655b5"
    }
  ]
}

Currently, You cannot try this API on the docs.

Request Body Example

[
  {
    "entities": [
      {
        "type": "Image",
        "src": "https://picsum.photos/id/237/367/267"
      }
    ]
  },
  {
    "entities": [
      {
        "type": "Image",
        "src": "https://picsum.photos/id/582/367/267"
      }
    ]
  }
]

This will create two pages, each containing a picture of a dog and a fox respectively.

Authorizations

Authorizationheaderrequired
string

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

room_idrequired
string

room id

Body

application/json · object[]
entities
object[]
index
integer
size
object

Size of a page

Response

200 - application/json
pages
object[]

Created pages