RevReply
    RevReply
    • status
      GET
    • create-agent
      POST
    • update-agent
      POST
    • list-agents
      GET
    • get-agent
      GET
    • timezones
      GET
    • create-response
      POST
    • classify-response
      POST
    • rate-response
      POST
    • delete-agent
      DELETE

      create-response

      POST
      /response/generate

      Request

      Header Params
      Authorization
      string 
      required
      Example:
      Bearer {{api_key}}
      Accept
      string 
      required
      Example:
      application/json
      Body Params multipart/form-data
      agent_id
      string 
      required
      The id of persona who will be replying to your prospects
      Example:
      333
      email_body
      string 
      required
      Incoming email from your prospect
      Example:
      Whats your pricing
      available_slots[]
      array[string]
      required
      Available time at which you can meet with the prospect. If calendar is connected to your agent, do not pass this, as it will be fetched from the calendar then.
      Example:
      ["2024-07-15 11:00:00","2024-07-16 11:00:00"]
      prospect_name
      string 
      required
      Your prospect full name
      Example:
      John Doe
      thread_id
      string 
      required
      Pass thread_id returned from previously generated response to make new response part of the same thread

      Request samples

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST '/response/generate' \
      --header 'Authorization: Bearer {{api_key}}' \
      --header 'Accept: application/json' \
      --form 'agent_id="333"' \
      --form 'email_body="Whats your pricing"' \
      --form 'available_slots[]="2024-07-15 11:00:00"' \
      --form 'available_slots[]="2024-07-16 11:00:00"' \
      --form 'prospect_name="John Doe"' \
      --form 'thread_id=""'

      Responses

      🟢200Success
      application/json
      Body
      object {0}
      Example
      {}
      Modified at 2025-06-30 03:51:04
      Previous
      timezones
      Next
      classify-response
      Built with