EditEase
DocumentationPricing
EditEasev1.0.0
Introduction to EditEaseCreating a pageUsing EditEaseNPM packageAPI requestsStatic sites

API request

You can make an API request to fetch the text values.

Request

API endpoint:

https://editease.net//api/getPageTxt

method:

POST

headers:

&aposContent-Type&apos: &aposapplication/json&apos
&aposEE_API_KEY&apos : YOUR_PAGE_API_KEY

body:

{ 'txtName' : <TEXT_NAME> }

Response

The response body consists of two fields:

  • err - is 0 if the request is successfull otherwwise it will be 1.

  • message - the text value or the error message depending if the call was successful or not

Response codes and messages

200 - Success

The response message will be equal to the value of the text.

400 - Bad parameters

The body was not passed correctly, so the txtName field was not found.

401 - Unauthorized call

The EE_API_KEY header was not found

403 - Wrong EditEase API key

The API key was found but it is not correct.

404 - EditEase text for <TEXT_NAME> not found

The text with name <TEXT_NAME> was not found.

500 - EditEase DB error

System database error

500 - Bad API call. Err message: <message>

System error

Example

Lets say we have a page with API key my-api-key and a text with name my-text and value Lorem ipsum dolor sit amet.EditEase example

A curl request will look like this

curl --location 'https://editease.net//api/getPageTxt' \
--header 'Content-Type: application/json' \
--header 'EE_API_KEY: my-api-key' \
--data '{
  "txtName": "my-text"
}'

We will get a 200 response with body:

{
    "err": 0,
    "message": "Lorem ipsum dolor sit amet"
}

Privacy Policy

Copyright © 2025 EditEase

Support
Terms of Service