iMessage Contact Rules

Create Imessage Contact Rule

post/api/v1/imessage/identities/{agent_handle}/contact-rules

Path parameters

agent_handlestring required

Request body

action'allow' | 'block' required
match_type'exact_number'
match_targetstring required

Phone number to match, in E.164 format.

Example request

{
  "match_target": "+15551234567"
}

Response

Successful Response

idstring uuid required
agent_identity_idstring uuid required
action'allow' | 'block' required
match_type'exact_number' required
match_targetstring required
status'active' | 'paused' | 'deleted' required
created_atstring date-time required
updated_atstring date-time required

Changes

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