POST http://dev.amply.tools/admin/graphql/

GraphQL requests

20 HTTP queries on GraphQL endpoint(s)

Refresh with latest query
200 May 5, 2025 10:28 schema: default 595d60
# Time Info
1 29 ms
401 May 5, 2025 00:03 c0fe1e
# Time Info
200 May 4, 2025 20:53 schema: default db744f
# Time Info
1 43 ms
mutation refreshToken(...) {
refreshToken(...)
}
200 May 4, 2025 19:54 schema: default c9b608
# Time Info
1 55 ms
mutation refreshToken(...) {
refreshToken(...)
}
200 May 4, 2025 18:55 schema: default bedea3
# Time Info
1 53 ms
mutation refreshToken(...) {
refreshToken(...)
}
200 May 4, 2025 17:56 schema: default 88747c
# Time Info
1 51 ms
mutation refreshToken(...) {
refreshToken(...)
}
200 May 4, 2025 16:57 schema: default 29a1f8
# Time Info
1 41 ms
mutation refreshToken(...) {
refreshToken(...)
}
200 May 4, 2025 15:58 schema: default 0a6944
# Time Info
1 37 ms
mutation refreshToken(...) {
refreshToken(...)
}
200 May 4, 2025 14:59 schema: default 689750
# Time Info
1 43 ms
mutation refreshToken(...) {
refreshToken(...)
}
200 May 4, 2025 14:00 schema: default 42bc2d
# Time Info
1 40 ms
mutation refreshToken(...) {
refreshToken(...)
}
200 May 4, 2025 13:01 schema: default 13eb4b
# Time Info
1 42 ms
mutation refreshToken(...) {
refreshToken(...)
}
200 May 4, 2025 12:04 schema: default 9bcd24
# Time Info
1 68 ms
query Campaign(...) {
campaign(...)
}
200 May 4, 2025 12:04 schema: default b2c878
# Time Info
1 28 ms
query Campaign(...) {
campaign(...)
}
200 May 4, 2025 12:04 schema: default ade408
# Time Info
1 37 ms
query Campaigns(...) {
campaigns(...)
}
200 May 4, 2025 12:04 schema: default 4db802
# Time Info
1 154 ms
mutation campaignCreate(...) {
campaignCreate(...)
}
200 May 4, 2025 12:03 schema: default 4914c6
# Time Info
1 24 ms
query Applications(...) {
applications(...)
}
200 May 4, 2025 12:02 schema: default be1fc7
# Time Info
1 31 ms
query Projects(...) {
projects(...)
}
200 May 4, 2025 12:02 schema: default 460052
# Time Info
1 23 ms
query Me(...) {
me(...)
}
200 May 4, 2025 12:02 schema: default f5b268
# Time Info
1 28 ms
query Me(...) {
me(...)
}
Variables:
null
query Me {
  me {
    token
    user {
      email
      name
      avatar
      __typename
    }
    organization {
      id
      name
      logo
      projectsCount
      __typename
    }
    __typename
  }
}
[
  "data" => [
    "me" => [
      "token" => "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NDYzNjAxMzAsImV4cCI6MTc0NjM2MzczMCwicm9sZXMiOlsiUk9MRV9VU0VSIl0sInVzZXJuYW1lIjoieWFua2VydmlwQGdtYWlsLmNvbSJ9.qBW7y4hIy-xor_gmVwWWsZFcm-uFm7uANoRv0IlT4vd2EOqxWrrM-YFTnYDg7jMj20M-HTnI3RG1mZ80h7qXeeEfmpO2GzobrYkjwY43HHnkclu4yiWlGq75IfbVHIRqAK71jJQ7841h6R8zlWbVaUg5uKaudro9BXM_815B7xEfr7J2kwPi9470R7199Xa01D4_eoN_tr268q9jPDLDPSZ0YBqDYhFG1jN_233mKPsp_CbztQNaJaYMJubMZG6VNweGvYMwj7TSbzCV7xPhQfwqy5qxqSyPTWkR4t2CIXlyw9lLqsaHjRtwVFmvwHbK-O3nxdHDYc37TDop85NK_Q"
      "user" => [
        "email" => "yankervip@gmail.com"
        "name" => "Alexei Yanochkin"
        "avatar" => "https://dev.amply.tools/uploads/6806e1805047a.jpg"
        "__typename" => "AmplyUser"
      ]
      "organization" => [
        "id" => "5b409a88-390b-47f4-b2df-7afe3cb8285a"
        "name" => "Amply"
        "logo" => "https://dev.amply.tools/uploads/67ea9b1c233fd.svg"
        "projectsCount" => 5
        "__typename" => "Organization"
      ]
      "__typename" => "AuthPayload"
    ]
  ]
]
200 May 4, 2025 12:02 schema: default 30cea8
# Time Info
1 697 ms
mutation Login(...) {
login(...)
}

Schema: default

schema {
  query: Query
  mutation: Mutation
}

type Query {
  id: String
  countries: [Country]
}

type Country {
  code: String!
  name: String!
}

type Mutation {
  "Refresh tokens"
  refreshToken(
    "Refresh Token"
    token: String!
  ): AuthPayload!

  "User login with email and password"
  login(input: LoginInput!): AuthPayload!

  "User reset password"
  resetPassword(input: ResetPasswordInput!): Boolean!

  "User registration with email and password"
  signup(input: RegistrationUserInput!): AuthPayload!

  "User update password"
  updatePassword(input: UpdatePasswordInput!): Boolean!
}

type AuthPayload {
  token: String!
  refreshToken: String!
  user: AmplyUser!
  organization: Organization!
}

type AmplyUser {
  email: String
  name: String
  role: String
  status: String
  avatar: String
}

type Organization {
  name: String!
  id: UUID!
  users: [AmplyUser]
  projectsCount: Int
  projects: [Project]
  logo: String
}

scalar UUID

type Project {
  name: String!
  id: UUID!
  applications: [Application]
  image: String
}

type Application {
  id: UUID!
  bundleId: String!
  name: String!
  image: String!
  platform: String!
  project: Project!
  apiKeys: [ApiKey]
}

type ApiKey {
  public: String!
  secret: String!
  application: Application!
  lastUsed: DateTime
}

scalar DateTime

input LoginInput {
  email: String!
  password: String!
}

input ResetPasswordInput {
  email: String!
}

input RegistrationUserInput {
  email: String!
  password: String!
  organization: String!
  name: String!
}

input UpdatePasswordInput {
  token: String!
  newPassword: String!
  newPasswordRepeat: String!
}