POST/pages/backlinks-count

Count incoming and outgoing page links

Counts the incoming and outgoing links for a page that the authenticated user can access. Supply pageId to identify the page whose links you want counted.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

1 body field

The identifier of the page whose incoming and outgoing links you want counted.

pageIdstringrequired
Page identifier (UUID or slug ID).

3 status codes
200Returns the incoming and outgoing link counts visible to the authenticated user.
dataobjectoptional
statusintegeroptional
successbooleanoptional
403Returned when the authenticated user is forbidden from accessing the page's link counts.
errorstringoptional
Reason phrase, for example `Bad Request`.
messagestringoptional
statusCodeintegeroptional
404Returned when the specified page does not exist.
errorstringoptional
Reason phrase, for example `Bad Request`.
messagestringoptional
statusCodeintegeroptional

Error handling

A 403 is returned when the authenticated user is not permitted to access the page's link counts. A 404 is returned when the page identified by pageId does not exist. pageId is required.