Skip to main content

List wrap-up codes

GET 

/:organization_id/wrap_up_codes

Returns a list of wrap-up codes for an organization

Request

Path Parameters

    organization_id integerrequired

    Organization ID

Responses

Successful response

Schema
    wrap_up_codes object[]
  • Array [
  • idintegerrequired

    Unique identifier for the wrap-up code

    organization_idintegerrequired

    ID of the organization this wrap-up code belongs to

    namestringrequired

    Name of the wrap-up code

    descriptionstringnullable

    Description of the wrap-up code

    providerstringnullable

    Provider name for synced wrap-up codes

    provider_reference_idstringnullable

    External identifier from the provider

    dialer_resultstring

    The dialer result category this wrap-up code represents

    Possible values: [unknown, live_voice, answering_machine, busy, invalid_number, fax, no_answer, do_not_call, wrong_number, callback_later, scheduled_callback, personal_callback, abandoned, abandoned_to_ivr]

    created_atdate-time

    Creation timestamp

    updated_atdate-time

    Last update timestamp

  • ]

Authorization: http

name: basicAuthtype: httpscheme: basicdescription: Basic authentication using API key ID and API key
import http.client

conn = http.client.HTTPSConnection("cloud-staging.cloverhound.com")
payload = ''
headers = {
'Accept': 'application/json',
'Authorization': 'Basic PHVzZXJuYW1lPjo8cGFzc3dvcmQ+'
}
conn.request("GET", "/:organization_id/wrap_up_codes", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
Request Collapse all
Auth
Parameters
— pathrequired