Create or find chat
Idempotently creates a chat for a (profile, participant_external_id) pair. If a chat with that participant already exists, the existing chat is returned and any provided participant fields are updated.
Request
- Base URLhttps://api.postproxy.dev
- URLhttps://api.postproxy.dev/api/profiles/{profile_id}/chats
- AuthHTTP bearer
Query parameters
Profile group context for the request. Optional when the API key is scoped to a profile group (that group is used automatically); with a full-access key, defaults to the first profile group in the account.
Headers
Optional idempotency key (up to 255 characters; a UUID is ideal). Retrying a successful write with the same key replays the original response (with an Idempotent-Replay: true header) instead of executing again. Stored responses are kept for 24 hours; only 2xx responses are stored.
Request body
Response
Chat already existed and is returned (idempotent).
Changes
No recorded changes to this operation across all 1 revision of this API.