I'm Guide API Documentation
  1. Custom Trip
I'm Guide API Documentation
  • I'm Guide - API Version Control
  • I'm Guide - Custom Error Exception
  • Planner
    • Route
      • Popular Route V1
      • Popular Route [V3] Combind
      • Popular Route AI [V2]
      • Route Detail V1
    • Place
      • Region Place V1
      • Place LIST V2 With Favorite Flag
      • Region Place V2 - include fav flag specific user
      • Place LIST V1
      • Place Detail - ATTRACTION V1
    • Custom Trip
      • Delete Custom Trip V1
        DELETE
      • Create trip with ai prompt
        POST
      • Optimize trip with ai prompt
        POST
      • Create Custom trip V1
        POST
      • Edit Custom Trip V1
        PUT
      • VIew Detail User Custom Trip V1
        GET
      • VIew List of User Custom Trip V1
        GET
      • Create trip with custom presetdata
        POST
      • Create trip with popular presetdata
        POST
      • Review Trip V1
        POST
      • Get Unavaliable Date List V1
        GET
      • Check Unavaliable Date V1
        POST
      • Create trip with ai prompt V2
        POST
      • VIew List of User Active Trip V1
        GET
    • Active Trip
      • Get Active Trip V1
    • Config
      • Get Province
      • Get Place-Keyword
    • Activities
      • Add Fav V1
      • Add view Details Logs v1
      • Add and Update Preference v1
      • Remove Fav V1
      • Clear details Logs v1
      • Get Fav V1
      • Get Fav By Province V1
      • Get Fav By Id V1
      • Get view details Logs v1
      • Get Preference Question v1
      • Get Preference V1
      • Get Analytics AI Data
    • Communities
      • Add to community
      • Get Communities
      • Get Web Content Communities
      • edit post in community
      • delete post in community - soft delete
    • Feedback
      • Add Feedback
      • Get Feedback Web-Admin
    • Internal Endpoint
      • sync TAT ROute Data
      • sync community orderjob
      • Get Route AI Data
      • Untitled Endpoint
      • LINE SYNC CURRENT TRIP
    • Line
      • Get List Of Linked Trip In Group V1
      • Get Detail Of Linked Trip In Group V1
      • Get Day Detail Of Linked Trip In Group V1
      • Generate Link Code V1
      • Verify Link Code V1
      • Unlink From LIne V1
      • Unlink From App V1
      • Get Current Trip In Group V1
      • Get Current Trip By Day In Group V1
      • Init Line
      • Update Line Line Notification
      • Update General Line Notification
      • Get Noti Trip Line
      • LINE GET TODAY TRIP BY DAY
      • LINE GET TODAY TRIP
      • LINE GET TODAY TRIP
      • Get Noti General Line
  • Core
  • AI
    • AI Progress Notification
    • INTERNAL: getPlaceInProvince
      POST
    • UAT
      POST
  • Storage
    • File Upload
    • Get File
    • Get File List ADMIN
  • Internal
    • AI
  • TEST TAT
    GET
  1. Custom Trip

Create Custom trip V1

POST
/trips/v1/custom
Planner > Custom
Last modified:2025-04-19 14:01:06

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params
Accept-Language
string 
required
Example:
en
Body Params application/json
trip_name
string 
required
trip_description
string  | null 
optional
trip_start_date
string <date>
required
trip_end_date
string <date>
required
trips
array [object {2}] 
required
day
integer 
required
place
array[string]
required
Example
{
  "trip_name": "abcdefe",
  "trip_description": "Coruscus correptius incidunt nesciunt paens quis ocer. Alii dicta cavus ubi degero bestia asporto. Deludo aspicio aperte crinis commemoro creo paens quas terra.",
  "trip_start_date": "2024-02-28T15:59:44.927Z",
  "trip_end_date": "2024-10-29T12:38:12.773Z",
  "trips": [
    {
      "day": 1,
      "place": [
        "2030",
        "4201"
      ]
    },
    {
      "day": 2,
      "place": [
        "15286",
        "1142"
      ]
    },
    {
      "day": 3,
      "place": [
        "1928",
        "4166"
      ]
    },
    {
      "day": 4,
      "place": [
        "3765",
        "16347"
      ]
    },
    {
      "day": 5,
      "place": [
        "4045",
        "1931"
      ]
    },
    {
      "day": 6,
      "place": [
        "29065",
        "33624"
      ]
    },
    {
      "day": 7,
      "place": [
        "1710",
        "4754"
      ]
    },
    {
      "day": 8,
      "place": [
        "14464",
        "5345"
      ]
    }
  ]
}

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 '/trips/v1/custom' \
--header 'Accept-Language: en' \
--header 'Content-Type: application/json' \
--data-raw '{
    "trip_name": "abcdefe",
    "trip_description": "Coruscus correptius incidunt nesciunt paens quis ocer. Alii dicta cavus ubi degero bestia asporto. Deludo aspicio aperte crinis commemoro creo paens quas terra.",
    "trip_start_date": "2024-02-28T15:59:44.927Z",
    "trip_end_date": "2024-10-29T12:38:12.773Z",
    "trips": [
            {
                "day": 1,
                "place": [
                    "2030",
                    "4201"
                ]
            },
            {
                "day": 2,
                "place": [
                    "15286",
                    "1142"
                ]
            },
            {
                "day": 3,
                "place": [
                    "1928",
                    "4166"
                ]
            },
            {
                "day": 4,
                "place": [
                    "3765",
                    "16347"
                ]
            },
            {
                "day": 5,
                "place": [
                    "4045",
                    "1931"
                ]
            },
            {
                "day": 6,
                "place": [
                    "29065",
                    "33624"
                ]
            },
            {
                "day": 7,
                "place": [
                    "1710",
                    "4754"
                ]
            },
            {
                "day": 8,
                "place": [
                    "14464",
                    "5345"
                ]
            }
        ]
}'

Responses

🟢200OK
application/json
Successful response
Body
status
string 
optional
Example:
success
action
string 
optional
Example:
create
data
object (response-route-detail) 
optional
route_id
string 
optional
route_name
string 
optional
number_of_days
integer 
optional
days
array [object {2}] 
optional
places
array[object (response-place-detail) {21}] 
optional
update_at
string <date-time>
optional
trip_start_date
string <date>
required
trip_end_date
string <date>
required
owner
string 
optional
trip_id
string 
optional
Example
{
  "status": "success",
  "action": "create",
  "data": {
    "route_id": "string",
    "route_name": "string",
    "number_of_days": 0,
    "days": [
      {
        "day": 0,
        "place": [
          "string"
        ]
      }
    ],
    "places": [
      {
        "place_id": "string",
        "place_name": "string",
        "latitude": 0,
        "longitude": 0,
        "introduction": "string",
        "place_detail": "string",
        "tags": [
          "string"
        ],
        "fee": {
          "thai_adult": 0,
          "thai_child": 0,
          "foreigner_adult": 0,
          "foreigner_child": 0
        },
        "target": [
          "string"
        ],
        "address": {
          "address": "string",
          "sub_district": "string",
          "district": "string",
          "province": "string"
        },
        "contact": {
          "phone": [
            "string"
          ],
          "mobile": [
            "string"
          ],
          "email": [
            "string"
          ],
          "urls": [
            "string"
          ]
        },
        "thumbnail_url": "string",
        "images": [
          "string"
        ],
        "payment_methods": "string",
        "opening_hours": {
          "mon": {
            "hasTime": true,
            "open": "string",
            "close": "string",
            "string_time": "string"
          },
          "tue": {
            "hasTime": true,
            "open": "string",
            "close": "string",
            "string_time": "string"
          },
          "wed": {
            "hasTime": true,
            "open": "string",
            "close": "string",
            "string_time": "string"
          },
          "thu": {
            "hasTime": true,
            "open": "string",
            "close": "string",
            "string_time": "string"
          },
          "fri": {
            "hasTime": true,
            "open": "string",
            "close": "string",
            "string_time": "string"
          },
          "sat": {
            "hasTime": true,
            "open": "string",
            "close": "string",
            "string_time": "string"
          },
          "sun": {
            "hasTime": true,
            "open": "string",
            "close": "string",
            "string_time": "string"
          },
          "special_close_text": "string"
        },
        "destination": "string",
        "category": "string",
        "sub_category": [
          "string"
        ],
        "sync_at": "string",
        "category_code": "string",
        "facilities": [
          [
            "string"
          ]
        ]
      }
    ]
  },
  "update_at": "2019-08-24T14:15:22Z",
  "trip_start_date": "2019-08-24",
  "trip_end_date": "2019-08-24",
  "owner": "string",
  "trip_id": "string"
}
🟠400Bad Request
🟠404Not Found
🔴500Server Error
🔴503Service Unavailable
Previous
Optimize trip with ai prompt
Next
Edit Custom Trip V1
Built with