Create a tracking request custom field
Tracking Requests
Create tracking request custom field
Create or update a custom field value on a tracking request in the Terminal49 API. Attach internal metadata like references, intake tags, or workflow flags.
POST
Create a tracking request custom field
Creates or updates a custom field on a tracking request. If a custom field with the specified
api_slug already exists, it will be updated.
Path parameters
| Parameter | Required | Description |
|---|---|---|
tracking_request_id | Yes | The ID of the tracking request |
Request body
| Parameter | Required | Description |
|---|---|---|
api_slug | Yes | The slug of the custom field definition |
value | Yes | The value to set (type depends on the definition’s data type) |
Authorization
Requiresupdate permission on the tracking request.
Response
Returns201 Created with the custom field resource on success.
Behavior
- Uses
find_or_initialize_byinternally, so it creates if missing or updates if it exists - Values are validated against the definition’s data type
- For enum fields, values are validated against the definition’s options
Authorizations
Token YOUR_API_TOKEN
The APIs require authentication to be done using header-based API Key and Secret Authentication.
API key and secret are sent va the Authorization request header.
You send your API key and secret in the following way:
Authorization: Token YOUR_API_KEY
Path Parameters
Tracking request ID
Body
application/json