Sign in

Update Contact

documented

Update a contact.

PATCH /contacts/{id}Contactsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://contacts.messagebird.com/v2/contacts/{{$id}}" \
  -X PATCH \
  -H "Authorization: AccessKey {{MESSAGEBIRD_API_KEY}}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json; charset=utf-8" \
  -d '{"displayName": "{{$displayName}}", "firstName": "{{$firstName}}", "lastName": "{{$lastName}}", "languages": ["{{$language1}}", "{{$language2}}"], "attributes": {"membership": "{{$membership}}", "status": "{{$status}}", "customerNumber": "{{$customerNumber}}"}}'