Skip to content

Quickstart ​

1. Get a key ​

Keys are issued by the UstaGeliyor team. When you ask for one, tell us:

  • Account: which UstaGeliyor account the key acts as (the account's phone).
  • Role: customer (opens jobs), usta (does them) or seller (sells products in the shop; see Seller / Marketplace). A key carries one role; ask for two keys if you need both.
  • Scopes: the ones you need from the table below.

Keys start with ugp_ and are shown exactly once. A lost key cannot be recovered; ask for a new one.

Keep the key on your server

Never put it in a mobile app or a web page — anyone who opens it can read it.

2. Make your first call ​

sh
curl https://api.ustageliyor.com/v1/me \
  -H "Authorization: Bearer ugp_…"

You get back the account the key acts as. That's all: no session, no cookie, no token exchange.

Roles and scopes ​

RoleWhat it does
customerOpens, pays for, follows and confirms jobs; decides on quotes and extra work
ustaAccepts and runs jobs; asks for quotes and extra work
sellerUploads products, keeps stock and prices current, imports files
ScopeCovers
readEvery GET
writeChanges that move no money (opening a job, accepting it, a message…)
moneySteps that move money (paying, confirming, refunds, disputes, accepting a quote, approving a payout)

Ask only for what you need; read is enough for listings. The wrong role gets 403 PARTNER_ROLE_REQUIRED, a missing scope 403 PARTNER_SCOPE_REQUIRED.

Good to know ​

  • Amounts are Turkish lira with at most two decimals (kuruş): 750 = ₺750, 129.99 = ₺129.99. No amount is ever rounded to whole lira. As a customer you never send a price; it comes from the catalog. Sellers set their product prices (VAT included).
  • Don't send x-ug-role. The role lives on the key.
  • Accept-Language: en gives English error messages.
  • X-Request-Id comes back unchanged; quote it when you contact support.

Next: the Customer guide, the Usta guide or Seller / Marketplace.