Authentication

Get agent profile

Changed on

View your account info, payment status, and usage stats.

get/api/v1/agents/me

Request

  • Base URL: https://letsfg.co/developers/api/v1
  • URL: https://letsfg.co/developers/api/v1/api/v1/agents/me
  • Auth: API key in header X-API-Key

Response

Agent profile

agent_idstring
agent_namestring
emailstring
payment_status'active' | 'inactive' | 'pending'
search_countinteger
booking_countinteger
created_atstring date-time

Example response

{
  "developer_api": {
    "flight_search": {
      "model": "look_to_book",
      "free_searches_per_booking": 200,
      "block_size": 500,
      "block_price_cents": 500
    }
  }
}

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status