Sometimes you need to add data to a call in Ringba after the call is complete. For example, maybe you get conversion data from your buyer after a call or want to push buyer disposition data into Ringba in a daily batch.
Ringba offers two tools you can use to post data back into Ringba: webhooks and the Ringba API.
Webhooks
You can use the webhook solution regardless of whether you or someone outside your account is sending the data. Webhooks are designed for you to set up a custom path to accept data from an outside system. You provide the webhook URL to your partner to use to send data.
When you set up the webhook, you specify which URL variables the webhook can expect to contain the caller ID and revenue amount. You also indicate what needs to be present for Ringba to consider the call converted.
You can find step-by-step instructions for setting up a webhook in the Webhooks article.
Ringba API
The API solution requires an authentication token, so this option is better to use if you are the one posting the data. You pass the call ID and the tag values you want to add using the annotations endpoint. You can learn more about the annotations endpoint in the Add Annotations to a Call section of the API documentation.
Endpoint URL:
https://api.ringba.com/v2/RAda1c20ad3e7e426fx99x99x99x99x99x/calls/annotate
Example body:
{
"inboundCallId": "813a08d2-7676-11e9-b73c-x999xxx9999x",
"tags": [
{
"tagName": "Annotation",
"tagType": "Annotations",
"tagValue": "test"
}
]
}What should I do if I still need help?
If you have any questions or need additional help, please reach out to our support team via chat or email at support@ringba.com.