customers

Retrieve customer information from outbound phone call

post/v0/outbound_phone_calls

Request

  • Base URL: https://api.clubmed.com
  • URL: https://api.clubmed.com/v0/outbound_phone_calls
  • Auth: OpenID Connect (https://auth.clubmed.com/.well-known/openid-configuration, scopes: openid, email, profile, clubmed)

Headers

x-api-keystring required

Api_key provided by ClubMed API team

authorizationstring required

Optional Access Token (bearer)

Example:Bearer aaaa.vbbbB.bbbb

Access Token (bearer)

Request body

idnumber required

outbound call id

phone_numberstring required

client called phone number

skill_namestring required

skill name of the caller agent

campaign_call_idstring

identifier linking outbound phone calls to cxo opportunities

customer_idstring

Customer id calling or concerned by the call

opportunity_idstring

Identifier referencing the associated business opportunity in Club Med CRM, linking the call or lead to a potential booking for tracking and conversion.

Example request

{
  "id": 13245451510,
  "phone_number": "+33612345678",
  "skill_name": "FR_TOULOUSE_OUTV",
  "campaign_call_id": "b1f19d4-268e-f011-b4cc-000d3aab30f4",
  "customer_id": "123456789",
  "opportunity_id": "456789123"
}

Response

ok

idstring required

contact ID of the outgoing call

phone_numberstring required

formated local customer phone number

Example response

{
  "id": "13245451510",
  "phone_number": "0699089797",
  "customer_caller": [
    {
      "cxo_account_id": "e4af0302-6393-e911-a974-000d3a3911fb",
      "cxo_contact_id": "2ec5d60a-6393-e911-a977-000d3a391928",
      "type": "CLIENT",
      "customer_id": "123456789",
      "last_name": "Doe",
      "first_name": "John",
      "gm_number": 19090291
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.