API ਸੰਦਰਭ

Inbox

ਇਸ ਖੇਤਰ ਵਿੱਚ 5 ਐਂਡਪੁਆਇੰਟ ਹਨ। ਹਰ ਇੱਕ ਦਾ ਆਪਣਾ ਪੰਨਾ ਹੈ ਜਿਸ ਵਿੱਚ ਇਸ ਦੇ ਮਾਪਦੰਡ, ਇਸ ਦਾ ਜਵਾਬ ਅਤੇ ਇੱਕ ਬੇਨਤੀ ਹੈ ਜਿਸ ਨੂੰ ਤੁਸੀਂ ਚਲਾ ਸਕਦੇ ਹੋ।

ਢੰਗਪਾਥਇਹ ਕੀ ਕਰਦਾ ਹੈਇਜਾਜ਼ਤ
POST/v1/inbox/read-allMark every message in the inbox read.
GET/v1/inbox/threadsThe inbox — one row per conversation, newest first.
GET/v1/inbox/threads/{threadKey}One conversation, oldest message first.
POST/v1/inbox/threads/{threadKey}Mark a conversation read, or archive it.
GET/v1/inbox/unreadThe number the header badge renders.