Update Log Reference
POST
/api/v1/log/reference/update
Sometimes, you need to update the reference you've been using for a set of logs. For example, a user starts a multi-stage checkout flow. In the first stage of this flow, you might need to use a session ID as the reference, but on the second page, where you've created a database record, you now want to change the session ID to the database record ID.
Headers
Content-Type
application/json
Authorization
Bearer <token>
Body
channel_id
string
The ID of the channel you'll like a log assigned to. This can be found in the URL of the channel.
old_reference
string
The reference that is currently stored with us.
new_reference
string
THe reference you want to change the logs to use.
Response
We'll return a HTTP 200 response.
Last updated