Skip to content

GET Get One Custom Field

Base URLs

Demo URL: https://demoapi.openletterconnect.com/api/v1

Production URL: https://api.openletterconnect.com/api/v1

{{base_url}}/custom-fields/{{id}}

Description

This endpoint is used to retrieve detailed information about a specific custom field by its ID. By providing the custom field ID, you can access attributes such as the key, value, default value, and status of the custom field. The response will include all relevant data related to the specified custom field.

AUTHORIZATION

Bearer Token

  • Token: {{jwt_token}}

Example Request

curl --location -g '{{base_url}}/custom-fields/1'

Example Response

{
  "message": "Success",
  "data": {
    "id": "1",
    "key": "{{CF.AGE}}",
    "value": "Age",
    "defaultValue": "",
    "isLiveMode": true,
    "creator": null,
    "createdAt": "2024-02-15T13:05:39.460Z"
  }
}