Add a row

Adds a row to the lookup table.

Path parameters

lookup_table_idintegerRequired
Lookup table ID.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
datamap from strings to anyRequired

The hash containing the data for the new row in the form of column_name:value pairs. For example, { name: United States, code : USA }

Response

Success reply. Also returns an error message on failures in the following format: { error: error_message }

idinteger or null
The unique identifier of the object.
dataobject or null
The data associated with the object.
created_atstring or null
The timestamp when the object was created.
updated_atstring or null
The timestamp when the object was last updated.

Errors