POST
/
rooms
/
{room_id}
/
pages
/
create_many

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.

URL Encoding Requirement

Notice: Always encode URLs when using Pagecall’s APIs. Unencoded URLs may lead to errors, for which Pagecall is not liable.

Authorizations

Authorization
string
headerrequired

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

Path Parameters

room_id
string
required

room id

Body

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

Size of a page

index
integer

Response

200 - application/json
pages
object[]

Created pages