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(...)
}
200 May 4, 2025 12:02 schema: default 30cea8
# Time Info
1 697 ms
mutation Login(...) {
login(...)
}
Variables:
[
  "login" => [
    "email" => "[email protected]"
    "password" => "123456"
  ]
]
mutation Login($login: LoginInput!) {
  login(input: $login) {
    refreshToken
    token
    user {
      email
      name
      __typename
    }
    organization {
      name
      id
      __typename
    }
    __typename
  }
}
[
  "data" => [
    "login" => [
      "refreshToken" => "3805a08c1e9be6681ed12ff57f21524576c395547b5f69af15dbe76bf3accbca7aebc8cc4c688b4ead8fd7c5d6574486e572054438f4c39f31ee881dc40b775d"
      "token" => "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NDYzNjAxMjksImV4cCI6MTc0NjM2MzcyOSwicm9sZXMiOlsiUk9MRV9VU0VSIl0sInVzZXJuYW1lIjoieWFua2VydmlwQGdtYWlsLmNvbSJ9.JC-Xm_R-OMY8x8RM5PzBp9xBuDBWP2y6I5xevR5I7ny8VFWoprRuAdPTHAPANDA9TlB8gJQKapl7oVypHTlvYU5rikqcWqdta8NMX7s1K-zHGjo945xnwcG0Wv2b-6RypTDLRa0_BUfVc8xGOR2Xj3JSkGnlE26uAnLa3BfPWHWEASgC91Ggk6NIg2fFBR3WQofu3N0D0uGj1vzh065KKtpKo7Fj92C_Gf8gaKSA0pGuQIA0AeV_NlTk4c59h5yDvbx6COirmbkAHe3vYTeTFz86Uozvi2qB3_4ovTO457P8f3B9JInaUHU-t6KLC4EmQqzvUyksVha0z8YtDZ13wA"
      "user" => [
        "email" => "[email protected]"
        "name" => "Alexei Yanochkin"
        "__typename" => "AmplyUser"
      ]
      "organization" => [
        "name" => "Amply"
        "id" => "5b409a88-390b-47f4-b2df-7afe3cb8285a"
        "__typename" => "Organization"
      ]
      "__typename" => "AuthPayload"
    ]
  ]
]

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!
}