Skip to main content
GET
/
v1
/
profiles
/
me
User Profile
curl --request GET \
  --url https://api.zapier.com/v1/profiles/me \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.zapier.com/v1/profiles/me"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.zapier.com/v1/profiles/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.zapier.com/v1/profiles/me",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.zapier.com/v1/profiles/me"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "Bearer <token>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://api.zapier.com/v1/profiles/me")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.zapier.com/v1/profiles/me")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
[
  {
    "id": 88998899,
    "first_name": "Jacob",
    "last_name": "Corwin",
    "full_name": "Jacob Corwin",
    "email": "jacob.corwin@zapier.example",
    "email_confirmed": true,
    "timezone": "America/Toronto"
  }
]
{}
{}
{}
{}
{}

Authorizations

Authorization
string
header
required

See our OAuth2 authentication documentation here: https://docs.zapier.com/powered-by-zapier/api-reference/authentication

Response

id
integer
required

The numeric identifier of this user

first_name
string
required

The first name of this user

last_name
string
required

The last name of this user

full_name
string
required

The combined full name of this user

email
string<email>
required

The email this user's account is associated with

email_confirmed
boolean
required

Whether said email is confirmed yet or not

timezone
string
required

The timezone set for this user