Create a new block in a page. Supported block types for this endpoint: BLOCK_TITLE, BLOCK_HEADLINE, BLOCK_BIO, BLOCK_BUTTON, BLOCK_SEPARATOR, BLOCK_SPACER, BLOCK_IMAGE, BLOCK_LNKS, BLOCK_FORM, BLOCK_COUNTDOWN, BLOCK_VIDEO, BLOCK_ICONS. Some blocks require higher subscription plans. BLOCK_ICONS is created empty; use /page/block/icon to add icons to it.
Request
Authorization
OAuth 2.0
Authorization Code
Add the parameter
Authorization
to Headers,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
Authorize URL: https://lnk.bio/manage/access
Token URL: https://lnk.bio/oauth/token
or
Body Params application/x-www-form-urlencodedRequired
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://lnk.bio/oauth/v1/page/block/add' \
--data-urlencode'page_id=PAGE_ABOUT_6612a3b4c5d6e' \
--data-urlencode'type=BLOCK_TITLE' \
--data-urlencode'after=6612a3b4c5d6e7.12345678' \
--data-urlencode'data={"text": "My Section Title"}'