Update Workspace Compliance Requirements
PUT
/workspaces/{workspaceId}/endpoints/{endpointId}/compliance-requirements/{requirementName}
Update a specific compliance requirement for an endpoint. An example of requirement name is use-case-sms, kyc-form, brand (general brand identification) and brand:nl (specific, country-level brand identification requirement).
Treść żądania
formId
string
formEntryId
string
type
string
wymagane
Possible values: kyc-form
useCaseId
string
type
string
wymagane
Possible values: use-case
brandId
string
campaignId
string
type
string
wymagane
Possible values: ten-dlc
Treść odpowiedzi
status
string
wymagane
Possible values: satisfied, pending, unsatisfied
mutable
boolean
wymagane
immutableReason
string
Possible values: managed, dependency, none
message
string
evaluatedAt
string
issues
array of string
userId
string
name
string
wymagane
type
string
wymagane
Possible values: kyc-form
capabilities
array of string
wymagane
destinations
array of string
managedBy
string
appliesTo
string
Specifies whether this requirement applies to endpoint-level or destination-level evaluation. Empty means both.
Possible values: endpoint, destination
forms
array of object
Pokaż atrybuty podrzędne
forms.conditions
object
forms.countryCode
string
forms.createdAt
string
wymagane
forms.defaultLocale
string
wymagane
forms.gracePeriodDays
integer
forms.id
string
wymagane
forms.name
string
wymagane
forms.questions
array of object
wymagane
Pokaż atrybuty podrzędne
forms.questions.locale
string
wymagane
forms.questions.questions
array of object
wymagane
Pokaż atrybuty podrzędne
forms.questions.questions.conditions
array of object
Pokaż atrybuty podrzędne
forms.questions.questions.conditions.key
string
forms.questions.questions.conditions.value
string
forms.questions.questions.description
string
forms.questions.questions.displayName
string
wymagane
forms.questions.questions.format
string
wymagane
Possible values: none
forms.questions.questions.key
string
wymagane
forms.questions.questions.mapping
string
Map the answer to a contact attribute. If not set, the answer will not be mapped.
forms.questions.questions.options
array of object
Pokaż atrybuty podrzędne
forms.questions.questions.options.key
string
forms.questions.questions.options.value
string
forms.questions.questions.placeholder
string
forms.questions.questions.required
boolean
forms.questions.questions.timezone
string
forms.questions.questions.type
string
wymagane
Possible values: bool, boolArray, intArray, float, floatArray
forms.questions.questions.formQuestionConfig
object
Pokaż atrybuty podrzędne
forms.questions.questions.formQuestionConfig.stringDatetimeConfig
object
Pokaż atrybuty podrzędne
forms.questions.questions.formQuestionConfig.stringDatetimeConfig.allowTimezoneSelectionByUser
boolean
forms.questions.questions.formQuestionConfig.stringDatetimeConfig.datetimeRange
object
wymagane
Pokaż atrybuty podrzędne
forms.questions.questions.formQuestionConfig.stringDatetimeConfig.datetimeRange.type
string
Possible values: any, future, past
forms.questions.questions.formQuestionConfig.stringDatetimeConfig.defaultTimezone
string
forms.questions.questions.formQuestionConfig.stringDatetimeConfig.includeTime
boolean
forms.questions.questions.formQuestionConfig.stringDatetimeConfig.localeOverride
string
forms.questions.questions.formQuestionConfig.stringDatetimeConfig.timeFormat
string
Possible values: am-pm, 24h
forms.questions.questions.formQuestionConfig.stringDatetimeConfig.timePlaceholder
string
forms.questions.questions.formQuestionConfig.type
string
Possible values: stringDatetime
forms.questions.questions.formQuestionConfig.stringMsisdnConfig
object
Pokaż atrybuty podrzędne
forms.questions.questions.formQuestionConfig.stringMsisdnConfig.defaultCountryCode
string
wymagane
forms.questions.questions.formQuestionConfig.type
string
Possible values: stringMsisdn
forms.questions.questions.formQuestionConfig.stringEmojiConfig
object
Pokaż atrybuty podrzędne
forms.questions.questions.formQuestionConfig.stringEmojiConfig.options
array of object
wymagane
Pokaż atrybuty podrzędne
forms.questions.questions.formQuestionConfig.stringEmojiConfig.options.emoji
string
wymagane
forms.questions.questions.formQuestionConfig.stringEmojiConfig.options.text
string
wymagane
forms.questions.questions.formQuestionConfig.type
string
Possible values: stringEmoji
forms.questions.questions.formQuestionConfig.stringEnumConfig
object
Pokaż atrybuty podrzędne
forms.questions.questions.formQuestionConfig.stringEnumConfig.allowedValues
array of object
wymagane
Pokaż atrybuty podrzędne
forms.questions.questions.formQuestionConfig.stringEnumConfig.allowedValues.displayName
string
wymagane
forms.questions.questions.formQuestionConfig.stringEnumConfig.allowedValues.imageUrl
string
forms.questions.questions.formQuestionConfig.stringEnumConfig.allowedValues.value
string
wymagane
forms.questions.questions.formQuestionConfig.stringEnumConfig.columns
integer
forms.questions.questions.formQuestionConfig.stringEnumConfig.cornerRadius
string
Possible values: none, normal, full
forms.questions.questions.formQuestionConfig.stringEnumConfig.optionSize
string
Possible values: small, medium, large
forms.questions.questions.formQuestionConfig.stringEnumConfig.showLabels
boolean
forms.questions.questions.formQuestionConfig.stringEnumConfig.singleSelect
boolean
forms.questions.questions.formQuestionConfig.stringEnumConfig.withImages
boolean
forms.questions.questions.formQuestionConfig.type
string
Possible values: stringEnum
forms.questions.questions.formQuestionConfig.stringS3ObjectConfig
object
Pokaż atrybuty podrzędne
forms.questions.questions.formQuestionConfig.stringS3ObjectConfig.allowedMimeType
string
wymagane
Allowed type to upload. Supports wildcards.
forms.questions.questions.formQuestionConfig.stringS3ObjectConfig.maxFileSize
integer
wymagane
forms.questions.questions.formQuestionConfig.stringS3ObjectConfig.templateFileUrl
string
URL to a template file that can be downloaded by the user and uploaded back.
forms.questions.questions.formQuestionConfig.type
string
Possible values: stringS3Object
forms.questions.questions.formQuestionConfig.stringCustomConfig
object
Pokaż atrybuty podrzędne
forms.questions.questions.formQuestionConfig.stringCustomConfig.message
string
Validation message to show when validation fails.
forms.questions.questions.formQuestionConfig.stringCustomConfig.regexp
string
wymagane
Regular expression to validate the input against.
forms.questions.questions.formQuestionConfig.stringCustomConfig.title
string
wymagane
Validation title.
forms.questions.questions.formQuestionConfig.type
string
Possible values: stringCustom
forms.questions.questions.ui:type
string
hint the UI what form to show if type isn't sufficient
Possible values: shortText, longText, dropdown, radio, checkboxSelect
forms.scope
string
wymagane
Possible values: number, organization, channel
forms.status
string
wymagane
Possible values: draft, active, deactivated
forms.updatedAt
string
wymagane
formOptions
object
formId
string
formEntryId
string
formEntry
object
Pokaż atrybuty podrzędne
formEntry.answers
array of object
wymagane
Pokaż atrybuty podrzędne
formEntry.answers.isDefault
boolean
formEntry.answers.key
string
wymagane
formEntry.answers.valueString
string
wymagane
formEntry.answers.isDefault
boolean
formEntry.answers.key
string
wymagane
formEntry.answers.valueStringArray
array of string
wymagane
formEntry.answers.isDefault
boolean
formEntry.answers.key
string
wymagane
formEntry.answers.valueBoolean
boolean
wymagane
formEntry.answers.isDefault
boolean
formEntry.answers.key
string
wymagane
formEntry.answers.valueBooleanArray
array of boolean
wymagane
formEntry.answers.isDefault
boolean
formEntry.answers.key
string
wymagane
formEntry.answers.valueInteger
number
wymagane
formEntry.answers.isDefault
boolean
formEntry.answers.key
string
wymagane
formEntry.answers.valueIntegerArray
array of number
wymagane
formEntry.answers.floatValue
number
formEntry.answers.isDefault
boolean
formEntry.answers.key
string
wymagane
formEntry.answers.floatValueArray
array of number
formEntry.answers.isDefault
boolean
formEntry.answers.key
string
wymagane
formEntry.businessProfileId
string
The ID of an existing Business Profile.
formEntry.businessProfileVersion
integer
The version of the Business Profile.
formEntry.createdAt
string
wymagane
formEntry.displayName
string
formEntry.formId
string
wymagane
formEntry.id
string
wymagane
formEntry.locale
string
wymagane
formEntry.organizationId
string
wymagane
formEntry.reviewComment
string
formEntry.status
string
wymagane
The status of the form entry.
Possible values: draft, submitted, approved, rejected, expired
formEntry.tags
array of object
Pokaż atrybuty podrzędne
formEntry.tags.key
string
wymagane
formEntry.tags.value
string
wymagane
formEntry.updatedAt
string
wymagane
status
string
wymagane
Possible values: satisfied, pending, unsatisfied
mutable
boolean
wymagane
immutableReason
string
Possible values: managed, dependency, none
message
string
evaluatedAt
string
issues
array of string
userId
string
name
string
wymagane
type
string
wymagane
Possible values: use-case
capabilities
array of string
wymagane
destinations
array of string
managedBy
string
appliesTo
string
Specifies whether this requirement applies to endpoint-level or destination-level evaluation. Empty means both.
Possible values: endpoint, destination
definition
object
wymagane
Pokaż atrybuty podrzędne
definition.fallback
boolean
wymagane
definition.id
string
wymagane
definition.name
string
wymagane
definition.schema
object
wymagane
definition.selectors
object
wymagane
Pokaż atrybuty podrzędne
definition.selectors.countryCodes
array of string
definition.selectors.numberTypes
array of string
definition.selectors.platforms
array of string
definition.uiSchema
object
wymagane
definition.version
string
wymagane
useCaseId
string
useCase
object
Pokaż atrybuty podrzędne
useCase.additionalFields
object
wymagane
useCase.caseType
string
wymagane
Possible values: default, tendlc, tfn-verification
useCase.createdAt
string
wymagane
useCase.definitionDescription
string
wymagane
useCase.definitionVersion
string
wymagane
useCase.description
string
wymagane
useCase.id
string
wymagane
useCase.integrationState
object
wymagane
Pokaż atrybuty podrzędne
useCase.integrationState.additionalFields
object
wymagane
useCase.integrationState.externalId
string
wymagane
useCase.integrationState.status
string
wymagane
useCase.integrationState.updatedAt
string
wymagane
useCase.name
string
wymagane
useCase.status
string
wymagane
Possible values: created, cancelled, error, deleted, declined, approved
useCase.tags
array of object
Pokaż atrybuty podrzędne
useCase.tags.key
string
wymagane
useCase.tags.value
string
wymagane
useCase.updatedAt
string
wymagane
useCase.use
string
wymagane
useCase.version
integer
wymagane
status
string
wymagane
Possible values: satisfied, pending, unsatisfied
mutable
boolean
wymagane
immutableReason
string
Possible values: managed, dependency, none
message
string
evaluatedAt
string
issues
array of string
userId
string
name
string
wymagane
type
string
wymagane
Possible values: tfn-verification
capabilities
array of string
wymagane
destinations
array of string
managedBy
string
appliesTo
string
Specifies whether this requirement applies to endpoint-level or destination-level evaluation. Empty means both.
Possible values: endpoint, destination
tfnVerification
object
Pokaż atrybuty podrzędne
tfnVerification.id
string
tfnVerification.organizationId
string
tfnVerification.workspaceId
string
tfnVerification.verificationRequestId
string
tfnVerification.longCodeNumberIds
array of string
tfnVerification.verificationRequestData
object
Pokaż atrybuty podrzędne
tfnVerification.verificationRequestData.phoneNumbers
array of string
tfnVerification.verificationRequestData.businessName
string
wymagane
tfnVerification.verificationRequestData.businessRegistrationNumber
string
Optional business registration number (TaxID). Used for toll-free verification.
tfnVerification.verificationRequestData.businessRegistrationIssuingCountry
string
Country that issued the business registration (ISO 3166-1 alpha-2 code). Any valid country code is accepted.
Possible values: AD, AE, AF, AG, AI, AL, AM, AO, AQ, AR, AS, AT, AU, AW, AX, AZ, BA, BB, BD, BE, BF, BG, BH, BI, BJ, BL, BM, BN, BO, BQ, BR, BS, BT, BV, BW, BY, BZ, CA, CC, CD, CF, CG, CH, CI, CK, CL, CM, CN, CO, CR, CU, CV, CW, CX, CY, CZ, DE, DJ, DK, DM, DO, DZ, EC, EE, EG, EH, ER, ES, ET, FI, FJ, FK, FM, FO, FR, GA, GB, GD, GE, GF, GG, GH, GI, GL, GM, GN, GP, GQ, GR, GS, GT, GU, GW, GY, HK, HM, HN, HR, HT, HU, ID, IE, IL, IM, IN, IO, IQ, IR, IS, IT, JE, JM, JO, JP, KE, KG, KH, KI, KM, KN, KP, KR, KW, KY, KZ, LA, LB, LC, LI, LK, LR, LS, LT, LU, LV, LY, MA, MC, MD, ME, MF, MG, MH, MK, ML, MM, MN, MO, MP, MQ, MR, MS, MT, MU, MV, MW, MX, MY, MZ, NA, NC, NE, NF, NG, NI, NL, NO, NP, NR, NU, NZ, OM, PA, PE, PF, PG, PH, PK, PL, PM, PN, PR, PS, PT, PW, PY, QA, RE, RO, RS, RU, RW, SA, SB, SC, SD, SE, SG, SH, SI, SJ, SK, SL, SM, SN, SO, SR, SS, ST, SV, SX, SY, SZ, TC, TD, TF, TG, TH, TJ, TK, TL, TM, TN, TO, TR, TT, TV, TW, TZ, UA, UG, UM, US, UY, UZ, VA, VC, VE, VG, VI, VN, VU, WF, WS, XK, YE, YT, ZA, ZM, ZW
tfnVerification.verificationRequestData.businessRegistrationType
string
Type of business registration:
- EIN: Employer Identification Number (US)
- CBN: Canada Business Number (CA)
- NEQ: Quebec Enterprise Number (CA)
- PROVINCIAL_NUMBER: Provincial Business Number (CA)
- CRN: Company Registration Number (GB, HK)
- VAT: Value-added Tax Identification Number (GB, IE, BR, NL)
- ACN: Australian Company Number (AU)
- ABN: Australian Business Number (AU)
- BRN: Business Registration Number (HK)
- SIREN: INSEE identification number (FR)
- SIRET: Establishment identification number (FR)
- NZBN: New Zealand Business Number (NZ)
- UST_IDNR: Umsatzsteuer-Identifikationsnummer (DE)
- CIF: Código de Identificación Fiscal (ES)
- NIF: Número de Identificación Fiscal (ES)
- CNPJ: Cadastro Nacional Da Pessoa Jurídica (BR)
- UID: Unternehmens-Identifikationsnummer (CH)
- OTHER: Other registration types (covers additional countries including SE)
Possible values: EIN, CBN, NEQ, PROVINCIAL_NUMBER, CRN, VAT, ACN, ABN, BRN, SIREN, SIRET, NZBN, UST_IDNR, CIF, NIF, CNPJ, UID, OTHER
tfnVerification.verificationRequestData.entityType
string
Type of business entity. Required if businessRegistrationNumber is provided.
Possible values: SOLE_PROPRIETOR, PRIVATE_PROFIT, PUBLIC_PROFIT, NON_PROFIT, GOVERNMENT
tfnVerification.verificationRequestData.businessAddr1
string
wymagane
tfnVerification.verificationRequestData.businessAddr2
string
tfnVerification.verificationRequestData.businessZip
string
wymagane
tfnVerification.verificationRequestData.businessCity
string
wymagane
tfnVerification.verificationRequestData.businessState
string
wymagane
tfnVerification.verificationRequestData.businessCountry
string
wymagane
tfnVerification.verificationRequestData.businessContactFirstName
string
wymagane
tfnVerification.verificationRequestData.businessContactLastName
string
wymagane
tfnVerification.verificationRequestData.businessContactEmail
string
wymagane
tfnVerification.verificationRequestData.businessContactPhone
string
wymagane
tfnVerification.verificationRequestData.corporateWebsite
string
wymagane
tfnVerification.verificationRequestData.privacyPolicyUrl
string
URL of the business's privacy policy, as presented to consumers at opt-in.
tfnVerification.verificationRequestData.termsAndConditionUrl
string
URL of the business's terms and conditions, as presented to consumers at opt-in.
tfnVerification.verificationRequestData.messageVolume
string
wymagane
Possible values: 10, 100, 1000, 10000, 100000, 250000, 500000, 750000, 1000000, 5000000, 10000000+
tfnVerification.verificationRequestData.useCase
string
wymagane
tfnVerification.verificationRequestData.useCaseSummary
string
wymagane
tfnVerification.verificationRequestData.productionMessageContent
string
wymagane
tfnVerification.verificationRequestData.optInWorkflowDescription
string
wymagane
tfnVerification.verificationRequestData.optInWorkflowImageUrLs
array of string
wymagane
tfnVerification.verificationRequestData.additionalInformation
string
tfnVerification.verificationRequestData.isvReseller
string
tfnVerification.status
string
Possible values: submitted, in-progress, verified, rejected
tfnVerification.statusMessage
object
Pokaż atrybuty podrzędne
tfnVerification.statusMessage.statusCode
string
tfnVerification.statusMessage.declineReasonDescription
string
tfnVerification.statusMessage.resubmitAllowed
boolean
tfnVerification.testMode
boolean
tfnVerification.createdAt
string
tfnVerification.updatedAt
string
status
string
wymagane
Possible values: satisfied, pending, unsatisfied
mutable
boolean
wymagane
immutableReason
string
Possible values: managed, dependency, none
message
string
evaluatedAt
string
issues
array of string
userId
string
name
string
wymagane
type
string
wymagane
Possible values: ten-dlc
capabilities
array of string
wymagane
destinations
array of string
managedBy
string
appliesTo
string
Specifies whether this requirement applies to endpoint-level or destination-level evaluation. Empty means both.
Possible values: endpoint, destination
brandId
string
campaignId
string
brand
object
Pokaż atrybuty podrzędne
brand.id
string
The ID of the number.
brand.tcrBrandId
string
The Campaign Registry brand ID.
brand.organizationId
string
brand.createdAt
string
Timestamp (UTC) when the brand was created.
brand.updatedAt
string
Timestamp (UTC) when the brand was last updated.
brand.status
string
Brand status
Possible values: FAILED, PENDING, REJECTED, APPROVED, DELETED, DRAFT
brand.authPlusStatus
string
Brand Auth+ status
Possible values: NOT_APPLICABLE, NEEDS_CHARGE, NEEDS_TRIGGER, DONE
brand.entityType
string
wymagane
Legal entity type. It can't be updated when the brand is approved.
Possible values: PRIVATE_PROFIT, PUBLIC_PROFIT, NON_PROFIT, GOVERNMENT, ``
brand.firstName
string
First or given name. Applicable to entity type.
brand.lastName
string
Last or Surname. Applicable to entity type.
brand.displayName
string
wymagane
Display or marketing name your brand.
brand.companyName
string
wymagane
Legal company name. This should match the legal company name used to register your EIN/Tax ID.
brand.ein
string
wymagane
Government assigned corporate tax ID. EIN is 9-digits in the U.S.
brand.einIssuingCountry
string
wymagane
The 2 letter ISO country of registration submitted with your EIN / Tax ID registration.
brand.phone
string
wymagane
Valid phone number in e.164 international format.
brand.street
string
wymagane
Street number and name.
brand.city
string
wymagane
City name
brand.state
string
wymagane
State. Must be a 2 letter state code for US states.
brand.postalCode
string
wymagane
Postal code. Must be a 5 digit zip code for the United States.
brand.country
string
wymagane
ISO 2 character country code.
brand.email
string
wymagane
Valid email address of brand support contact.
brand.stockSymbol
string
Stock symbol.
brand.stockExchange
string
Stock exchange. Required for entityType PUBLIC.
Possible values: NONE, NASDAQ, NYSE, AMEX, AMX, ASX, B3, BME, BSE, FRA, ICEX, JPX, JSE, KRX, LON, NSE, OMX, SEHK, SGX, SSE, STO, SWX, SZSE, TSX, TWSE, VSE, OTHER, ``
brand.website
string
wymagane
Brand website URL.
brand.vertical
string
Vertical or industry segment of the brand.
brand.altBusinessId
string
Alternate business identifier.
brand.altBusinessIdType
string
Alternate business identifier type. Required if altBusinessId is provided.
Possible values: NONE, DUNS, GIIN, LEI, ``
brand.businessContactEmail
string
Business contact email.
brand.businessContactEmailVerifiedDate
string
Timestamp (UTC) when the brand businessContactEmail was verified.
brand.rejection
object
Rejection details
Pokaż atrybuty podrzędne
brand.rejection.description
string
wymagane
Rejection description
brand.rejection.code
string
Rejection code
campaign
object
Pokaż atrybuty podrzędne
campaign.id
string
UUID of the campaign.
campaign.name
string
Campaign name
campaign.subscription
object
Describes status of Campaign Subscription
Pokaż atrybuty podrzędne
campaign.subscription.status
string
Possible values: active, inactive, canceling
campaign.subscription.subscribedAt
string
Timestamp (UTC) when the subscription became active.
campaign.subscription.updatedAt
string
Timestamp (UTC) when the subscription was last updated.
campaign.subscription.cancelledAt
string
Timestamp (UTC) when the subscription was cancelled.
campaign.status
string
Campaign status
Possible values: DRAFT, FAILED, PENDING, REJECTED, APPROVED, DECLINED, SUSPENDED, DELETED, EXPIRED
campaign.usecase
string
A use case that best matches the purpose of the campaign.
campaign.subUsecases
array of string
If use case is MIXED or LOW_VOLUME mixed an array of 2-5 use cases.
campaign.description
string
A detailed description of what the campaign is for.
campaign.embeddedLink
boolean
Whether messages will contain links. Provide at least one sample containing a link.
campaign.embeddedPhone
boolean
Whether messages will contain phone number. Provide at least one sample containing a phone number.
campaign.numberPool
boolean
Whether a campaign will be associated with more than 50 numbers e.g. customer service use case.
campaign.ageGated
boolean
Whether a campaign contains age-gated content based on carrier/ctia guidelines.
campaign.directLending
boolean
Whether a campaign includes content related to direct lending or loan arrangements.
campaign.subscriberOptin
boolean
Confirm customer opt in is collected and processed.
campaign.subscriberOptout
boolean
Confirm customer opt out is collected and processed.
campaign.subscriberHelp
boolean
Confirm an info message is returned if a customer sends "HELP".
campaign.samples
array of string
Between 1-5 sample messages, each up to 1024 characters (empty until the campaign is submitted). If directLending, embeddedPhone, embeddedLink is true provide relevant examples.
campaign.messageFlow
string
Provide details of how the customer will opt into this campaign. If you have a live web opt-in provide the URL and ensure the page has details on the T&Cs/data collection for opting in, and how to opt out.
campaign.helpMessage
string
Help message of the campaign. A help message shall state the name of the service, contact (email or call centre), OPT IN and OPT OUT keywords.
campaign.helpKeywords
string
A comma separated list of keywords. Support of the word HELP is the minimum requirement for requesting help/info.
campaign.optoutKeywords
string
A comma separated list of keywords. Support of the word STOP is the minimum requirement for OPT OUT.
campaign.optinKeywords
string
A comma separated list of keywords. Support of the word START is the minimum requirement for OPT OUT.
campaign.optinMessage
string
Provide an example of the message that will be sent after a customer has opted in.
campaign.optoutMessage
string
Provide an example of the message that will be sent after a customer has opted out.
campaign.termsAndConditions
boolean
Indicates the campaign follows CTIA messaging principles and best practices.
campaign.brandId
string
UUID of the brand associated with this campaign. The specified brand MUST be APPROVED.
campaign.resellerId
string
UUID of the reseller associated with this campaign. The specified reseller MUST be ACTIVE.
campaign.rejection
object
Rejection details
Pokaż atrybuty podrzędne
campaign.rejection.description
string
wymagane
Rejection description
campaign.rejection.code
string
Rejection code
campaign.attachments
array of object
Attachments associated with this campaign.
Pokaż atrybuty podrzędne
campaign.attachments.id
string
wymagane
The ID of the attachment.
campaign.attachments.status
string
wymagane
Attachment status
Possible values: PENDING, ACTIVE, PENDING_DELETION, DELETED, FAILED, FAILED_DELETION
campaign.attachments.createdAt
string
wymagane
Timestamp (UTC) when the attachment was created.
campaign.attachments.updatedAt
string
wymagane
Timestamp (UTC) when the attachment was last updated.
campaign.attachments.filename
string
wymagane
The original name of the file when it was uploaded.
campaign.attachments.mediaUrl
string
The URL to download the attachment.
campaign.attachments.contentType
string
wymagane
The detected MIME type of the file.
campaign.createdAt
string
Timestamp (UTC) when the campaign was created.
campaign.updatedAt
string
Timestamp (UTC) when the campaign was last updated.
linkingStatus
string
Possible values: DEFAULT, INACTIVE, PENDING_ACTIVE, ACTIVE, PENDING_INACTIVE, LINK_FAILED, UNLINK_FAILED, ACTIVE_P2P
reseller
object
Pokaż atrybuty podrzędne
reseller.id
string
UUID of the reseller.
reseller.organizationId
string
reseller.status
string
Reseller status
Possible values: FAILED, PENDING, ACTIVE, DELETED
reseller.companyName
string
wymagane
Legal company name. This should match the legal company name used to register your EIN/Tax ID.
reseller.phone
string
wymagane
Valid phone number in e.164 international format.
reseller.email
string
wymagane
Valid email address of support contact.
reseller.createdAt
string
Timestamp (UTC) when the reseller was created.
reseller.updatedAt
string
Timestamp (UTC) when the reseller was last updated.
status
string
wymagane
Possible values: satisfied, pending, unsatisfied
mutable
boolean
wymagane
immutableReason
string
Possible values: managed, dependency, none
message
string
evaluatedAt
string
issues
array of string
userId
string
name
string
wymagane
type
string
wymagane
Possible values: sms-originator
capabilities
array of string
wymagane
destinations
array of string
managedBy
string
appliesTo
string
Specifies whether this requirement applies to endpoint-level or destination-level evaluation. Empty means both.
Possible values: endpoint, destination
brandStatus
string
Possible values: satisfied, pending, unsatisfied
destinationBrandStatus
string
Possible values: satisfied, pending, unsatisfied
useCaseStatus
string
Possible values: satisfied, pending, unsatisfied
smsOriginatorRequest
object
Pokaż atrybuty podrzędne
smsOriginatorRequest.id
string
wymagane
smsOriginatorRequest.senderId
string
wymagane
smsOriginatorRequest.destinationCountry
string
wymagane
smsOriginatorRequest.destinationType
string
wymagane
Possible values: international, local
smsOriginatorRequest.originatorRequestType
string
wymagane
Possible values: short-code, alphanumeric, toll-free, mobile, local, national
smsOriginatorRequest.status
string
wymagane
Possible values: pending, approved, rejected, canceled
smsOriginatorRequest.statusMessage
string
smsOriginatorRequest.contactEmail
string
smsOriginatorRequest.endpointReferenceKey
string
smsOriginatorRequest.createdAt
string
wymagane
smsOriginatorRequest.updatedAt
string
wymagane
smsOriginatorRequest.organizationId
string
wymagane
smsOriginatorRequest.workspaceId
string
wymagane
smsOriginatorRequest.endpointId
string
wymagane
smsOriginatorRequest.smsOriginatorID
string
Przykład kodu
curl -X PUT 'https://api.bird.com/workspaces/{workspaceId}/endpoints/{endpointId}/compliance-requirements/{requirementName}' \
-H 'Authorization: AccessKey YOUR_ACCESS_KEY'