Announcement

Collapse
No announcement yet.

API and WEBHOOK CASE

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • API and WEBHOOK CASE

    Good afternoon everyone, I need your help. I work with a WhatsApp system with an open API and WEBHOOK.

    I wanted to know if it's possible that when finishing a conversation in this WhatsApp system, it opens a ticket/case in ESPOCRM.

    Is there any more comprehensive documentation regarding the POST?

    Can someone shed some light on this?

  • #2
    Can someone help me?

    Comment


    • #3
      Hi, what provider are you using for whatsapp api? How do you know when a conversation has ended?

      Comment


      • #4
        I will be using a system from a partner company of META.

        In this system, there's a 'Finish Assistance' button. So, upon clicking this button, it would create a ticket in the Case section of EspoCRM.

        I have a programmer to carry out this action. However, he mentioned that he couldn't find API or WEBHOOK documentation for EspoCRM to establish this communication.

        Could you inform me where I can find the documentation for EspoCRM's API or POST WEBHOOK?"

        Comment


        • #5
          You might need just a simple POST request that creates a Case entity.



          POST Case

          With fields (attributes) in JSON payload.

          Comment


          • yuri
            yuri commented
            Editing a comment
            EspoCRM is a highly configurable system. We could write compete API docs for every standard entity and their attributes, but in most cases they won't be that valuable as usually there will be many custom fields and entities.

            Though, in the future, we might create a tool for building Open API schemas for a particular instance that one may utilize for building API for their customized instance.

        • #6


          Thank you, Yuri. I will pass the information above to the programmer.


          Comment


          • #7
            Friends,

            Where do I check the POST API URL?

            How would it be using my domain to create a case?

            Attached is the example that the programmer sent me to verify with you.
            Attached Files

            Comment


            • #8
              The API documentation should have been suffice to figure out for a programmer.



              Endpoint:

              POST https://your-domain/api/v1/Case

              Content-Type: application/json
              X-Api-Key: API_KEY_COPIED_FROM_THE_USER_DETAIL_VIEW

              Payload:
              Code:
              {
                  "name": "My Name",
                  "description": "My description."
              }

              Comment

              Working...
              X