Skip to main content

Create New Phone Number Campaign

PUT 

/phoneNumberCampaign/:phoneNumber

This endpoint allows you to assign a different campaign to a supplied phoneNumber.

Request

Path Parameters

    phoneNumber Phonenumberrequired

Body

required

    phoneNumber Phonenumberrequired

    The phone number you want to link to a specified campaign.

    campaignId Campaignidrequired

    The ID of the campaign you want to link to the specified phone number.

Responses

200: Successful Response

Schema

    phoneNumber Phonenumberrequired
    campaignId Campaignidrequired
    createdAt date-timerequired
    updatedAt date-timerequired

default: Unexpected error

Schema

    errors

    object[]

  • Array [

  • code integerrequired
    title stringrequired
    detail string

    source

    object

    pointer json-pointer

    JSON pointer (RFC6901) to the offending entity.

    parameter string

    Indicates which query parameter caused the error.

  • ]

Loading...